Skip to content

Bluetooth: Add asynchronous request support

Johan Hedberg linux-bluetooth 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest11 patches 3 repliesIn review
  2. v211 patches 4 repliesSuperseded
  3. v111 patches 12 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11Bluetooth: Rename hci_request to hci_req_syncnet/bluetooth/hci_core.c+25 -240 replies
2/11Bluetooth: Fix __hci_request() handling of empty requestsnet/bluetooth/hci_core.c+8 -00 replies
3/11Bluetooth: Split HCI init sequence into three stagesnet/bluetooth/hci_core.c net/bluetooth/hci_event.c+274 -2550 replies
4/11Bluetooth: Add initial skeleton for asynchronous HCI requestsinclude/net/bluetooth/bluetooth.h include/net/bluetooth/hci_core.h net/bluetooth/hci_core.c+48 -00 replies
5/11Bluetooth: Refactor HCI command skb creationnet/bluetooth/hci_core.c+20 -80 replies
6/11Bluetooth: Introduce new hci_req_add functioninclude/net/bluetooth/hci_core.h net/bluetooth/hci_core.c+23 -00 replies
7/11Bluetooth: Fix stand-alone HCI command handlingnet/bluetooth/hci_core.c net/bluetooth/hci_sock.c+10 -00 replies
8/11Bluetooth: Add request cmd_complete and cmd_status functionsinclude/net/bluetooth/hci_core.h net/bluetooth/hci_core.c net/bluetooth/hci_event.c+94 -00 replies
9/11Bluetooth: Use async requests internally in hci_req_syncinclude/net/bluetooth/hci_core.h net/bluetooth/hci_core.c net/bluetooth/hci_event.c+156 -1950 replies
10/11Bluetooth: Remove unused hdev->init_last_cmdinclude/net/bluetooth/hci_core.h net/bluetooth/hci_core.c+0 -80 replies
11/11Bluetooth: Remove empty HCI event handlersnet/bluetooth/hci_event.c+0 -1640 replies

Reviews trailers per patch

None of the 11 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMarcel Holtmann
SeriesA-b
1/11
2/11
3/11
4/11
5/11
6/11
7/11
8/11
9/11
10/11
11/11

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

Read the v3 thread

Cover letter [PATCH v3 00/11] Bluetooth: Add asynchronous request support

Hi,

Here's a v3 of the patch set with Marcel's feedback taken into account.

Johan

----------------------------------------------------------------
Johan Hedberg (11):
Bluetooth: Rename hci_request to hci_req_sync
Bluetooth: Fix __hci_request() handling of empty requests
Bluetooth: Split HCI init sequence into three stages
Bluetooth: Add initial skeleton for asynchronous HCI requests
Bluetooth: Refactor HCI command skb creation
Bluetooth: Introduce new hci_req_add function
Bluetooth: Fix stand-alone HCI command handling
Bluetooth: Add request cmd_complete and cmd_status functions
Bluetooth: Use async requests internally in hci_req_sync
Bluetooth: Remove unused hdev->init_last_cmd
Bluetooth: Remove empty HCI event handlers

 include/net/bluetooth/bluetooth.h |   10 +
 include/net/bluetooth/hci_core.h  |   15 +-
 net/bluetooth/hci_core.c          |  668 +++++++++++++++++++++++++++++++------
 net/bluetooth/hci_event.c         |  504 +---------------------------
 net/bluetooth/hci_sock.c          |    5 +
 5 files changed, 603 insertions(+), 599 deletions(-)