Skip to contentSkip to conversation

Bluetooth: btbcm: Add entry for BCM4343A0 UART bluetooth

PATCH RESEND Superseded Jörg Krause 2 participants 5 messages Jan 17, 2018 – Jan 18, 2018 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 Bluetooth: btbcm: Add entry for BCM4343A0 UART bluetooth

UkVTRU5EIGJlY2F1c2Ugb2YgbWlzc2luZyB0aGUgY29ycmVjdCBDY3MuIE9yaWdpbmFsIHBhdGNo IGlzIFswXS4KClRoaXMgcGF0Y2ggYWRkcyB0aGUgZGV2aWNlIElEIGZvciB0aGUgYmx1ZXRvb3Ro IGNoaXAgdXNlZCBpbiB0aGUKQU1QQUsgQVA2MjEyIFdpRmkrQmx1ZXRvb3RoIG1vZHVsZS4gVGhl IEFQNjIxMiBpcyB1c2VkIG9uIHNldmVyYWwKQmFuYW5hUGkgYm9hcmRzLCBlLmcuIE0yLVVsdHJh LgoKVGhlIEFQNjIxMiBpcyBhIGNvbWJvIG1vZHVsZSwgd2hlcmUgdGhlIFdpRmkgY2hpcCBpcyBp ZGVudGlmaWVkIGFzCkJDTTQzNDMwQTAgd2hlcmVhcyB0aGUgQmx1ZXRvb3RoIGNoaXAgaWRlbnRp ZmllcyBpdHNlbGYgYXMgNDM0M0EwLiBOb3RlLAp0aGUgbWlzc2luZyAnMCcgYmVmb3JlIHRoZSAn QTAnLgoKVGhlIEFQNjIxMiBuZWVkcyBhIGZpcm13YXJlIGJsb2IuIExvYWRpbmcgdGhlIHByb3Zp ZGVkIGZpcm13YXJlIGZpbGUKZnJvbSB0aGUgQmFuYW5hUGkgdmVuZG9yLCB0aGUgYWRhcHRlciBu YW1lIGlzIHByaW50ZWQgYXMKJ0JDTTQzNDNBMCAyNk1IeiBBUDYyMTJfQ0wxLTAwNjEnOgoKJycn CmhjaTA6CVR5cGU6IFByaW1hcnkgIEJ1czogVUFSVAoJQkQgQWRkcmVzczogNDM6NDM6QTA6MTI6 MUY6QUMgIEFDTCBNVFU6IDE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YTY2NDguLjQ2ODRiZTI0N2QyOCAxMDA2NDQKLS0tIGEv ZHJpdmVycy9ibHVldG9vdGgvYnRiY20uYworKysgYi9kcml2ZXJzL2JsdWV0b290aC9idGJjbS5j CkBAIC0zMjYsNiArMzI2LDcgQEAgc3RhdGljIGNvbnN0IHN0cnVjdCB7CiAJeyAweDQxMGUsICJC Q000MzM0MUIwIgl9LAkvKiAwMDIuMDAxLjAxNCAqLwogCXsgMHg0NDA2LCAiQkNNNDMyNEIzIgl9 LAkvKiAwMDIuMDA0LjAwNiAqLwogCXsgMHg2MTBjLCAiQkNNNDM1NCIJfSwJLyogMDAzLjAwMS4w MTIgKi8KKwl7IDB4MjEyMiwgIkJDTTQzNDNBMCIJfSwJLyogMDAxLjAwMS4wMzQgKi8KIAl7IDB4 MjIwOSwgIkJDTTQzNDMwQTEiICB9LAkvKiAwMDEuMDAyLjAwOSAqLwogCXsgfQogfTsKLS0gCjIu MTUuMQoK

maintainer
#1 lore raw

Hi Joerg,

Quoted 31 lines

RESEND because of missing the correct Ccs. Original patch is [0].

This patch adds the device ID for the bluetooth chip used in the AMPAK AP6212 WiFi+Bluetooth module. The AP6212 is used on several BananaPi boards, e.g. M2-Ultra.

The AP6212 is a combo module, where the WiFi chip is identified as BCM43430A0 whereas the Bluetooth chip identifies itself as 4343A0. Note, the missing '0' before the 'A0'.

The AP6212 needs a firmware blob. Loading the provided firmware file from the BananaPi vendor, the adapter name is printed as 'BCM4343A0 26MHz AP6212_CL1-0061':

'''
hci0: Type: Primary Bus: UART

	BD Address: 43:43:A0:12:1F:AC  ACL MTU: 1021:8  SCO MTU: 64:1
	UP RUNNING
	RX bytes:3076 acl:0 sco:0 events:278 errors:0
	TX bytes:39726 acl:0 sco:0 commands:279 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: 'BCM4343A0 26MHz AP6212_CL1-0061'
	Class: 0x000000
	Service Classes: Unspecified
	Device Class: Miscellaneous,
	HCI Version: 4.1 (0x7)  Revision: 0xf2
	LMP Version: 4.1 (0x7)  Subversion: 0x2122
	Manufacturer: Broadcom Corporation (15)
Quoted 8 lines

'''

[0] https://www.spinics.net/lists/linux-bluetooth/msg71876.html

---
drivers/bluetooth/btbcm.c | 1 +

1 file changed, 1 insertion(+)

can you use git-send-email so that I get a patch that is not base64 encoded. Otherwise I can not apply it.

Regards

Marcel

#2 lore raw

Hi Marcel,

Quoted 35 lines · Marcel Holtmann

Hi Joerg,

Quoted 33 lines

RESEND because of missing the correct Ccs. Original patch is [0].

This patch adds the device ID for the bluetooth chip used in the AMPAK AP6212 WiFi+Bluetooth module. The AP6212 is used on several BananaPi boards, e.g. M2-Ultra.

The AP6212 is a combo module, where the WiFi chip is identified as BCM43430A0 whereas the Bluetooth chip identifies itself as 4343A0. Note, the missing '0' before the 'A0'.

The AP6212 needs a firmware blob. Loading the provided firmware file from the BananaPi vendor, the adapter name is printed as 'BCM4343A0 26MHz AP6212_CL1-0061':

'''
hci0: Type: Primary Bus: UART

	BD Address: 43:43:A0:12:1F:AC  ACL MTU: 1021:8  SCO MTU: 64:1
	UP RUNNING
	RX bytes:3076 acl:0 sco:0 events:278 errors:0
	TX bytes:39726 acl:0 sco:0 commands:279 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: 'BCM4343A0 26MHz AP6212_CL1-0061'
	Class: 0x000000
	Service Classes: Unspecified
	Device Class: Miscellaneous,
	HCI Version: 4.1 (0x7)  Revision: 0xf2
	LMP Version: 4.1 (0x7)  Subversion: 0x2122
	Manufacturer: Broadcom Corporation (15)

'''

Quoted 8 lines
Quoted 6 lines

[0] https://www.spinics.net/lists/linux-bluetooth/msg71876.html

---
drivers/bluetooth/btbcm.c | 1 +

1 file changed, 1 insertion(+)

can you use git-send-email so that I get a patch that is not base64 encoded. Otherwise I can not apply it.

I did use git-send-email, but you're right, I set the transferencoding to base64. Shall I use 8bit instead?

Best regards,
Jörg Krause

maintainer
#3 lore raw

Hi Joerg,

Quoted 40 lines
Quoted 40 lines
Quoted 39 lines

RESEND because of missing the correct Ccs. Original patch is [0].

This patch adds the device ID for the bluetooth chip used in the AMPAK AP6212 WiFi+Bluetooth module. The AP6212 is used on several BananaPi boards, e.g. M2-Ultra.

The AP6212 is a combo module, where the WiFi chip is identified as BCM43430A0 whereas the Bluetooth chip identifies itself as 4343A0. Note, the missing '0' before the 'A0'.

The AP6212 needs a firmware blob. Loading the provided firmware file from the BananaPi vendor, the adapter name is printed as 'BCM4343A0 26MHz AP6212_CL1-0061':

'''
hci0: Type: Primary Bus: UART

	BD Address: 43:43:A0:12:1F:AC  ACL MTU: 1021:8  SCO MTU: 64:1
	UP RUNNING
	RX bytes:3076 acl:0 sco:0 events:278 errors:0
	TX bytes:39726 acl:0 sco:0 commands:279 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: 'BCM4343A0 26MHz AP6212_CL1-0061'
	Class: 0x000000
	Service Classes: Unspecified
	Device Class: Miscellaneous,
	HCI Version: 4.1 (0x7)  Revision: 0xf2
	LMP Version: 4.1 (0x7)  Subversion: 0x2122
	Manufacturer: Broadcom Corporation (15)

'''

[0] https://www.spinics.net/lists/linux-bluetooth/msg71876.html

---
drivers/bluetooth/btbcm.c | 1 +

1 file changed, 1 insertion(+)
Quoted 4 lines
Quoted 1 line

can you use git-send-email so that I get a patch that is not base64 encoded. Otherwise I can not apply it.

I did use git-send-email, but you're right, I set the transferencoding to base64. Shall I use 8bit instead?

I need the patch portion in plain ASCII if possible. Or something that git-am accepts.

Regards

Marcel

#4 lore raw

Hi Marcel,

Quoted 42 lines · Marcel Holtmann

Hi Joerg,

Quoted 40 lines
Quoted 40 lines
Quoted 39 lines

RESEND because of missing the correct Ccs. Original patch is [0].

This patch adds the device ID for the bluetooth chip used in the AMPAK AP6212 WiFi+Bluetooth module. The AP6212 is used on several BananaPi boards, e.g. M2-Ultra.

The AP6212 is a combo module, where the WiFi chip is identified as BCM43430A0 whereas the Bluetooth chip identifies itself as 4343A0. Note, the missing '0' before the 'A0'.

The AP6212 needs a firmware blob. Loading the provided firmware file from the BananaPi vendor, the adapter name is printed as 'BCM4343A0 26MHz AP6212_CL1-0061':

'''
hci0: Type: Primary Bus: UART

	BD Address: 43:43:A0:12:1F:AC  ACL MTU: 1021:8  SCO MTU: 64:1
	UP RUNNING
	RX bytes:3076 acl:0 sco:0 events:278 errors:0
	TX bytes:39726 acl:0 sco:0 commands:279 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: 'BCM4343A0 26MHz AP6212_CL1-0061'
	Class: 0x000000
	Service Classes: Unspecified
	Device Class: Miscellaneous,
	HCI Version: 4.1 (0x7)  Revision: 0xf2
	LMP Version: 4.1 (0x7)  Subversion: 0x2122
	Manufacturer: Broadcom Corporation (15)

'''

[0] https://www.spinics.net/lists/linux-bluetooth/msg71876.html

---
drivers/bluetooth/btbcm.c | 1 +

1 file changed, 1 insertion(+)
Quoted 6 lines
Quoted 4 lines
Quoted 1 line

can you use git-send-email so that I get a patch that is not base64 encoded. Otherwise I can not apply it.

I did use git-send-email, but you're right, I set the transferencoding to base64. Shall I use 8bit instead?

I need the patch portion in plain ASCII if possible. Or something that git-am accepts.

Well, git-am usually accepts base64. I've never heard about a problem using it. However, I've resend the patch using 8bit encoding.

Best regards,
Jörg