Skip to content

Commit b8dc647

Browse files
stephan-ghholtmann
authored andcommitted
Bluetooth: btbcm: Add entry for BCM4334B0 UART Bluetooth
Add the device ID for the WiFi/BT/FM combo chip BCM4334 (rev B0). The chip seems to use 43:34:b0:00:00:00 as default address, so add it to the list of default addresses and leave it up to the user to configure a valid one. Signed-off-by: Stephan Gerhold <stephan@gerhold.net> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
1 parent 3d44a6f commit b8dc647

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/bluetooth/btbcm.c

+3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
#define BDADDR_BCM43430A0 (&(bdaddr_t) {{0xac, 0x1f, 0x12, 0xa0, 0x43, 0x43}})
2424
#define BDADDR_BCM4324B3 (&(bdaddr_t) {{0x00, 0x00, 0x00, 0xb3, 0x24, 0x43}})
2525
#define BDADDR_BCM4330B1 (&(bdaddr_t) {{0x00, 0x00, 0x00, 0xb1, 0x30, 0x43}})
26+
#define BDADDR_BCM4334B0 (&(bdaddr_t) {{0x00, 0x00, 0x00, 0xb0, 0x34, 0x43}})
2627
#define BDADDR_BCM4345C5 (&(bdaddr_t) {{0xac, 0x1f, 0x00, 0xc5, 0x45, 0x43}})
2728
#define BDADDR_BCM43341B (&(bdaddr_t) {{0xac, 0x1f, 0x00, 0x1b, 0x34, 0x43}})
2829

@@ -74,6 +75,7 @@ int btbcm_check_bdaddr(struct hci_dev *hdev)
7475
!bacmp(&bda->bdaddr, BDADDR_BCM2076B1) ||
7576
!bacmp(&bda->bdaddr, BDADDR_BCM4324B3) ||
7677
!bacmp(&bda->bdaddr, BDADDR_BCM4330B1) ||
78+
!bacmp(&bda->bdaddr, BDADDR_BCM4334B0) ||
7779
!bacmp(&bda->bdaddr, BDADDR_BCM4345C5) ||
7880
!bacmp(&bda->bdaddr, BDADDR_BCM43430A0) ||
7981
!bacmp(&bda->bdaddr, BDADDR_BCM43341B)) {
@@ -326,6 +328,7 @@ struct bcm_subver_table {
326328

327329
static const struct bcm_subver_table bcm_uart_subver_table[] = {
328330
{ 0x4103, "BCM4330B1" }, /* 002.001.003 */
331+
{ 0x410d, "BCM4334B0" }, /* 002.001.013 */
329332
{ 0x410e, "BCM43341B0" }, /* 002.001.014 */
330333
{ 0x4204, "BCM2076B1" }, /* 002.002.004 */
331334
{ 0x4406, "BCM4324B3" }, /* 002.004.006 */

0 commit comments

Comments
 (0)