linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Bluetooth: btbcm: add default address for BCM43430A1
@ 2023-07-15 16:41 Mans Rullgard
  2023-07-15 17:42 ` bluez.test.bot
  2023-07-20 23:50 ` [PATCH] " patchwork-bot+bluetooth
  0 siblings, 2 replies; 3+ messages in thread
From: Mans Rullgard @ 2023-07-15 16:41 UTC (permalink / raw)
  To: Marcel Holtmann, Johan Hedberg, Luiz Augusto von Dentz
  Cc: linux-bluetooth, linux-kernel

The BCM43430A1 has a default MAC address of AA:AA:AA:AA:AA:AA.
Although, unlike some other entries, this does not include the
chip name, it is clearly not a real address. This was found in
AzureWave AW-NB197SM and AW-NM372SM modules.

Signed-off-by: Mans Rullgard <mans@mansr.com>
---
 drivers/bluetooth/btbcm.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/bluetooth/btbcm.c b/drivers/bluetooth/btbcm.c
index de2ea589aa49..0a5445ac5e1b 100644
--- a/drivers/bluetooth/btbcm.c
+++ b/drivers/bluetooth/btbcm.c
@@ -24,6 +24,7 @@
 #define BDADDR_BCM20702A1 (&(bdaddr_t) {{0x00, 0x00, 0xa0, 0x02, 0x70, 0x20}})
 #define BDADDR_BCM2076B1 (&(bdaddr_t) {{0x79, 0x56, 0x00, 0xa0, 0x76, 0x20}})
 #define BDADDR_BCM43430A0 (&(bdaddr_t) {{0xac, 0x1f, 0x12, 0xa0, 0x43, 0x43}})
+#define BDADDR_BCM43430A1 (&(bdaddr_t) {{0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa}})
 #define BDADDR_BCM4324B3 (&(bdaddr_t) {{0x00, 0x00, 0x00, 0xb3, 0x24, 0x43}})
 #define BDADDR_BCM4330B1 (&(bdaddr_t) {{0x00, 0x00, 0x00, 0xb1, 0x30, 0x43}})
 #define BDADDR_BCM4334B0 (&(bdaddr_t) {{0x00, 0x00, 0x00, 0xb0, 0x34, 0x43}})
@@ -115,6 +116,9 @@ int btbcm_check_bdaddr(struct hci_dev *hdev)
 	 *
 	 * The address 43:43:A0:12:1F:AC indicates a BCM43430A0 controller
 	 * with no configured address.
+	 *
+	 * The address AA:AA:AA:AA:AA:AA indicates a BCM43430A1 controller
+	 * with no configured address.
 	 */
 	if (!bacmp(&bda->bdaddr, BDADDR_BCM20702A0) ||
 	    !bacmp(&bda->bdaddr, BDADDR_BCM20702A1) ||
@@ -124,6 +128,7 @@ int btbcm_check_bdaddr(struct hci_dev *hdev)
 	    !bacmp(&bda->bdaddr, BDADDR_BCM4334B0) ||
 	    !bacmp(&bda->bdaddr, BDADDR_BCM4345C5) ||
 	    !bacmp(&bda->bdaddr, BDADDR_BCM43430A0) ||
+	    !bacmp(&bda->bdaddr, BDADDR_BCM43430A1) ||
 	    !bacmp(&bda->bdaddr, BDADDR_BCM43341B)) {
 		/* Try falling back to BDADDR EFI variable */
 		if (btbcm_set_bdaddr_from_efi(hdev) != 0) {
-- 
2.41.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* RE: Bluetooth: btbcm: add default address for BCM43430A1
  2023-07-15 16:41 [PATCH] Bluetooth: btbcm: add default address for BCM43430A1 Mans Rullgard
@ 2023-07-15 17:42 ` bluez.test.bot
  2023-07-20 23:50 ` [PATCH] " patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2023-07-15 17:42 UTC (permalink / raw)
  To: linux-bluetooth, mans

[-- Attachment #1: Type: text/plain, Size: 1427 bytes --]

This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=766180

---Test result---

Test Summary:
CheckPatch                    PASS      0.62 seconds
GitLint                       PASS      0.23 seconds
SubjectPrefix                 PASS      0.06 seconds
BuildKernel                   PASS      45.50 seconds
CheckAllWarning               PASS      49.17 seconds
CheckSparse                   PASS      55.67 seconds
CheckSmatch                   PASS      146.86 seconds
BuildKernel32                 PASS      42.67 seconds
TestRunnerSetup               PASS      656.97 seconds
TestRunner_l2cap-tester       PASS      31.97 seconds
TestRunner_iso-tester         PASS      79.53 seconds
TestRunner_bnep-tester        PASS      14.41 seconds
TestRunner_mgmt-tester        PASS      260.56 seconds
TestRunner_rfcomm-tester      PASS      21.71 seconds
TestRunner_sco-tester         PASS      21.87 seconds
TestRunner_ioctl-tester       PASS      25.22 seconds
TestRunner_mesh-tester        PASS      18.57 seconds
TestRunner_smp-tester         PASS      19.30 seconds
TestRunner_userchan-tester    PASS      15.28 seconds
IncrementalBuild              PASS      40.10 seconds



---
Regards,
Linux Bluetooth


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Bluetooth: btbcm: add default address for BCM43430A1
  2023-07-15 16:41 [PATCH] Bluetooth: btbcm: add default address for BCM43430A1 Mans Rullgard
  2023-07-15 17:42 ` bluez.test.bot
@ 2023-07-20 23:50 ` patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+bluetooth @ 2023-07-20 23:50 UTC (permalink / raw)
  To: Mans Rullgard
  Cc: marcel, johan.hedberg, luiz.dentz, linux-bluetooth, linux-kernel

Hello:

This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Sat, 15 Jul 2023 17:41:59 +0100 you wrote:
> The BCM43430A1 has a default MAC address of AA:AA:AA:AA:AA:AA.
> Although, unlike some other entries, this does not include the
> chip name, it is clearly not a real address. This was found in
> AzureWave AW-NB197SM and AW-NM372SM modules.
> 
> Signed-off-by: Mans Rullgard <mans@mansr.com>
> 
> [...]

Here is the summary with links:
  - Bluetooth: btbcm: add default address for BCM43430A1
    https://git.kernel.org/bluetooth/bluetooth-next/c/2d54008f4b68

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-07-20 23:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-15 16:41 [PATCH] Bluetooth: btbcm: add default address for BCM43430A1 Mans Rullgard
2023-07-15 17:42 ` bluez.test.bot
2023-07-20 23:50 ` [PATCH] " patchwork-bot+bluetooth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).