Bluetooth: Add HCI transaction framework
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest16 patches 16 repliesIn review
- v2 posting 2/215 patches 0 repliesSuperseded
- v2 posting 1/21 of 14 patches 0 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 14 patches | 2 replies | Superseded |
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | Bluetooth: Fix __hci_request() handling of empty requestsnet/ | +8 | 0 replies | |
| 2/16 | Bluetooth: Split HCI init sequence into three stagesnet/ net/ | +271 | 2 replies | |
| 3/16 | Bluetooth: Add initial skeleton for HCI transaction frameworkinclude/ include/ net/ | +58 | 7 replies | |
| 4/16 | Bluetooth: Refactor HCI command skb creationnet/ | +20 | 0 replies | |
| 5/16 | Bluetooth: Introduce new hci_transaction_cmd functioninclude/ net/ | +35 | 0 replies | |
| 6/16 | Bluetooth: Introduce a hci_transaction_from_skb functioninclude/ net/ net/ | +11 | 0 replies | |
| 7/16 | Bluetooth: Add transaction cmd_complete and cmd_status functionsinclude/ net/ net/ | +77 | 0 replies | |
| 8/16 | Bluetooth: Convert hci_request to use HCI transaction frameworkinclude/ net/ net/ | +181 | 0 replies | |
| 9/16 | Bluetooth: Remove unused hdev->init_last_cmdinclude/ net/ | +0 | 0 replies | |
| 10/16 | Bluetooth: Move power on HCI command updates to their own functionnet/ | +40 | 0 replies | |
| 11/16 | Bluetooth: Update mgmt powered HCI commands to use transactionsnet/ | +99 | 0 replies | |
| 12/16 | Bluetooth: Wait for HCI command completion with mgmt_set_powerednet/ | +30 | 0 replies | |
| 13/16 | Bluetooth: Fix busy condition testing for EIR and class updatesnet/ | +30 | 5 replies | |
| 14/16 | Bluetooth: Fix UUID/class mgmt command response synchronizationnet/ | +46 | 0 replies | |
| 15/16 | Bluetooth: Remove useless HCI_PENDING_CLASS flaginclude/ net/ net/ | +3 | 0 replies | |
| 16/16 | Bluetooth: Remove empty HCI event handlersnet/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 00/16] Bluetooth: Add HCI transaction framework
Hi,
Here's a revised set with the left-over init_last_cmd patch inserted where it belongs in the set.
The other changes are based on an (off-list) review from Gustavo Padovan, resulting in removing unnecessary _irqsave versions of spinlock functions (for the skb queue), adding a hci_ prefix to some static hci_core.c functions as well as really removing the HCI_PENDING_CLASS flag (and not just its users).
Johan
----------------------------------------------------------------
Johan Hedberg (16):
Bluetooth: Fix __hci_request() handling of empty requests
Bluetooth: Split HCI init sequence into three stages
Bluetooth: Add initial skeleton for HCI transaction framework
Bluetooth: Refactor HCI command skb creation
Bluetooth: Introduce new hci_transaction_cmd function
Bluetooth: Introduce a hci_transaction_from_skb function
Bluetooth: Add transaction cmd_complete and cmd_status functions
Bluetooth: Convert hci_request to use HCI transaction framework
Bluetooth: Remove unused hdev->init_last_cmd
Bluetooth: Move power on HCI command updates to their own function
Bluetooth: Update mgmt powered HCI commands to use transactions
Bluetooth: Wait for HCI command completion with mgmt_set_powered
Bluetooth: Fix busy condition testing for EIR and class updates
Bluetooth: Fix UUID/class mgmt command response synchronization
Bluetooth: Remove useless HCI_PENDING_CLASS flag
Bluetooth: Remove empty HCI event handlers
include/net/bluetooth/bluetooth.h | 11 + include/net/bluetooth/hci.h | 1 - include/net/bluetooth/hci_core.h | 20 +- net/bluetooth/hci_core.c | 649 ++++++++++++++++++++++++++++++++----- net/bluetooth/hci_event.c | 507 +---------------------------- net/bluetooth/hci_sock.c | 3 +- net/bluetooth/mgmt.c | 326 +++++++++++++------ 7 files changed, 826 insertions(+), 691 deletions(-)