Skip to content

Bluetooth: qca: generalise device address check

Johan Hovold linux-bluetooth lkml stable 2 versions – Applied

Status from this message: This series was applied to bluetooth/bluetooth-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 4 repliesApplied 3/3
  2. v11 patch 19 repliesSuperseded

Changes in v2 from the cover letter

- add missing firmware sanity checks (new patch)
- fix nvm configuration parsing (new patch)
- make sure to set the BD_ADDR quirk flag also when the controller returns BDADDR_ANY

Patches in v2 All 3 applied

#Subject and filesSizeRepliesApplied
1/3Bluetooth: qca: add missing firmware sanity checksdrivers/bluetooth/btqca.c+32 -62 repliesApplied
2/3Bluetooth: qca: fix NVM configuration parsingdrivers/bluetooth/btqca.c+22 -20 repliesApplied
3/3Bluetooth: qca: generalise device address checkdrivers/bluetooth/btqca.c drivers/bluetooth/btqca.h+14 -92 repliesApplied

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchDouglas Anderson
1/3
2/3
3/3T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] Bluetooth: qca: generalise device address check

The QCA default device address apparently comes from the NVM configuration file and can differ quite a bit between controllers.

This series adds support for storing the default address when parsing the configuration file and using it to determine whether the controller has been provisioned with an address.

This makes sure that devices without a unique address start as unconfigured unless a valid address has been provided in the devicetree.

Included in v2 are two preparatory but otherwise independent fixes that adds the missing sanity checks when parsing the firmware files and makes sure that the parser can handle configuration files for WCN3xxx.

Johan

Changes in v2:
- add missing firmware sanity checks (new patch)
- fix nvm configuration parsing (new patch)
- make sure to set the BD_ADDR quirk flag also when the controller returns BDADDR_ANY

Johan Hovold (3):
Bluetooth: qca: add missing firmware sanity checks
Bluetooth: qca: fix NVM configuration parsing
Bluetooth: qca: generalise device address check

 drivers/bluetooth/btqca.c | 83 +++++++++++++++++++++++++++++++--------
 drivers/bluetooth/btqca.h |  2 +
 2 files changed, 68 insertions(+), 17 deletions(-)
Signature · 1 line
2.43.2