Bluetooth: Further refactoring of mgmt API
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | Bluetooth: Add helper to get HCI channel of a socketinclude/ net/ | +6 | 0 replies | |
| 2/5 | Bluetooth: Add channel parameter to mgmt_pending_find() APInet/ | +62 | 0 replies | |
| 3/5 | Bluetooth: Add generic mgmt helper APInet/ net/ net/ +1 more | +265 | 0 replies | |
| 4/5 | Bluetooth: Add hdev_init callback for HCI channelsinclude/ net/ | +4 | 0 replies | |
| 5/5 | Bluetooth: Move generic mgmt command dispatcher to hci_sock.cinclude/ net/ net/ | +115 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] Bluetooth: Further refactoring of mgmt API
Hi,
This patch set refactors mgmt command handling further into a new mgmt_util.c file containing helper functions. After this set the old mgmt.c file should only contain purely HCI_CHANNEL_CONTROL related information and we could start introducing new HCI channels using mgmt semantics.
Johan
----------------------------------------------------------------
Johan Hedberg (5):
Bluetooth: Add helper to get HCI channel of a socket
Bluetooth: Add channel parameter to mgmt_pending_find() API
Bluetooth: Add generic mgmt helper API
Bluetooth: Add hdev_init callback for HCI channels
Bluetooth: Move generic mgmt command dispatcher to hci_sock.c
include/net/bluetooth/bluetooth.h | 1 + include/net/bluetooth/hci_core.h | 4 +- net/bluetooth/Makefile | 2 +- net/bluetooth/hci_sock.c | 121 +++++++++++- net/bluetooth/mgmt.c | 393 +++++-------------------------------- net/bluetooth/mgmt_util.c | 210 ++++++++++++++++++++ net/bluetooth/mgmt_util.h | 53 +++++ 7 files changed, 438 insertions(+), 346 deletions(-) create mode 100644 net/bluetooth/mgmt_util.c create mode 100644 net/bluetooth/mgmt_util.h