Skip to content
  • Christian Hewitt's avatar
    Bluetooth: btbcm: Add entry for BCM4335C0 UART bluetooth · 71ef2fef
    Christian Hewitt authored
    [ Upstream commit a357ea09
    
     ]
    
    This patch adds the device ID for the AMPAK AP6335 combo module used
    in the 1st generation WeTek Hub Android/LibreELEC HTPC box. The WiFI
    chip identifies itself as BCM4339, while Bluetooth identifies itself
    as BCM4335 (rev C0):
    
    ```
    [    4.864248] Bluetooth: hci0: BCM: chip id 86
    [    4.866388] Bluetooth: hci0: BCM: features 0x2f
    [    4.889317] Bluetooth: hci0: BCM4335C0
    [    4.889332] Bluetooth: hci0: BCM4335C0 (003.001.009) build 0000
    [    9.778383] Bluetooth: hci0: BCM4335C0 (003.001.009) build 0268
    ```
    
    Output from hciconfig:
    
    ```
    hci0:	Type: Primary  Bus: UART
    	BD Address: 43:39:00:00:1F:AC  ACL MTU: 1021:8  SCO MTU: 64:1
    	UP RUNNING
    	RX bytes:7567 acl:234 sco:0 events:386 errors:0
    	TX bytes:53844 acl:77 sco:0 commands:304 errors:0
    	Features: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87
    	Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
    	Link policy: RSWITCH SNIFF
    	Link mode: SLAVE ACCEPT
    	Name: 'HUB'
    	Class: 0x0c0000
    	Service Classes: Rendering, Capturing
    	Device Class: Miscellaneous,
    	HCI Version: 4.0 (0x6)  Revision: 0x10c
    	LMP Version: 4.0 (0x6)  Subversion: 0x6109
    	Manufacturer: Broadcom Corporation (15)
    ```
    
    Signed-off-by: default avatarChristian Hewitt <christianshewitt@gmail.com>
    Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
    Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    71ef2fef