andy-shev / linux

Linux kernel source tree
Other
25 stars 11 forks source link

Bluetooth: btbcm: Add default address for BCM43341B #25

Closed htot closed 5 years ago

htot commented 5 years ago

The BCM43341B has the default MAC address 43:34:1B:00:1F:AC if none is given. This address was found when enabling Bluetooth on multiple Edison modules. It also contains the sequence 43341B, the name the chip identifies itself as. Using the same BD_ADDR is problematic when having multiple Edison modules in each others range. It also prevents a BNEP device from being created, needed for BT tethering.

Add this to the list of black listed default MAC addresses and let the user configure a valid one using f.i. btmgmt -i hci0 public-addr xx:xx:xx:xx:xx:xx

Suggested-by: Andy Shevchenko andriy.shevchenko@linux.intel.com Signed-off-by: Ferry Toth ftoth@exalondelft.nl

htot commented 5 years ago

BTW according to Daniel Wagner wagi@monom.org:

If I am not completely mistaken, 43:34:1B:00:1F:AC says it is locally administered address, so you can't reach any routed network.

which explains why NAP/PAN is not working.

andy-shev commented 5 years ago

BTW according to Daniel Wagner wagi@monom.org:

If I am not completely mistaken, 43:34:1B:00:1F:AC says it is locally administered address, so you can't reach any routed network.

which explains why NAP/PAN is not working.

I think you may Cc him as well

htot commented 5 years ago

I will send upstream. Do you want to close or pull here?

htot commented 5 years ago

Fixed descriptive text.

andy-shev commented 5 years ago

I will send upstream. Do you want to close or pull here?

I will take from mailing list, thank you!