Bluetooth: Move more code to hci_request.c & req_workqueue
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | Bluetooth: Run page scan updates through hdev->req_workqueueinclude/ net/ net/ +2 more | +35 | 0 replies | |
| 2/7 | Bluetooth: Move __hci_update_background_scan up in hci_request.cnet/ | +73 | 0 replies | |
| 3/7 | Bluetooth: Move advertising instance management to hci_request.cinclude/ net/ net/ +4 more | +589 | 0 replies | |
| 4/7 | Bluetooth: Move connectable changes to hdev->req_workqueueinclude/ net/ net/ | +53 | 0 replies | |
| 5/7 | Bluetooth: Perform Class of Device changes through hdev->req_workqueuenet/ net/ net/ | +49 | 0 replies | |
| 6/7 | Bluetooth: Move discoverable changes to hdev->req_workqueueinclude/ net/ net/ | +79 | 0 replies | |
| 7/7 | Bluetooth: Move discoverable timeout behind hdev->req_workqueueinclude/ net/ net/ +1 more | +28 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] Bluetooth: Move more code to hci_request.c & req_workqueue
Hi,
This set of patches continues the trend of moving HCI activity from mgmt.c to hci_request.c and running as much of it as possible through the same hdev->req_workqueue with the help of hci_req_sync.
I'll have many more updates coming still after these, but wanted to send what I have at this point since I've sucessfully ran tests on them with mgmt-tester, btmgmt and bluetoothd/bluetoothctl without seeing any breakage (doesn't mean it isn't there though).
Johan
----------------------------------------------------------------
Johan Hedberg (7):
Bluetooth: Run page scan updates through hdev->req_workqueue
Bluetooth: Move __hci_update_background_scan up in hci_request.c
Bluetooth: Move advertising instance management to hci_request.c
Bluetooth: Move connectable changes to hdev->req_workqueue
Bluetooth: Perform Class of Device changes through hdev->req_workqueue
Bluetooth: Move discoverable changes to hdev->req_workqueue
Bluetooth: Move discoverable timeout behind hdev->req_workqueueinclude/net/bluetooth/hci_core.h | 15 +- net/bluetooth/hci_conn.c | 2 +- net/bluetooth/hci_core.c | 32 +- net/bluetooth/hci_event.c | 8 +- net/bluetooth/hci_request.c | 833 +++++++++++++++++++++++++++++++++---- net/bluetooth/hci_request.h | 24 +- net/bluetooth/mgmt.c | 843 ++++---------------------------------- 7 files changed, 876 insertions(+), 881 deletions(-)