Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH 00/11] Bluetooth: Add asynchronous request support
@ 2013-03-04 10:08 Johan Hedberg
  2013-03-04 10:08 ` [PATCH 01/11] Bluetooth: Rename hci_request to hci_req_sync Johan Hedberg
                   ` (10 more replies)
  0 siblings, 11 replies; 24+ messages in thread
From: Johan Hedberg @ 2013-03-04 10:08 UTC (permalink / raw)
  To: linux-bluetooth

Hi,

This is essentially what was previously called "transactions" in my
previous patch sets, but now simply reusing the existing term that we
have for grouped HCI commands: requests. The old hci_request API as been
renamed to hci_req_sync() to avoid confusion.

The reason for the name change is that hci_transaction is a bit
uncomfortably long name (compared to hci_req) and the same goes for the
"transaction" variables that were used for it (compered to simply "req").

To keep this patch set reasonably small I've left out a lot of patches
which add more and more users of the new API. This patch set contains
the bare minimum conversion, including the internal usage of the async
request framework for the synchronous (hci_req_sync) functionality.

Johan

----------------------------------------------------------------
Johan Hedberg (11):
      Bluetooth: Rename hci_request to hci_req_sync
      Bluetooth: Fix __hci_req_sync() 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_cmd function
      Bluetooth: Introduce a hci_req_from_skb function
      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 |   11 +
 include/net/bluetooth/hci_core.h  |   16 +-
 net/bluetooth/hci_core.c          |  669 +++++++++++++++++++++++++++++++------
 net/bluetooth/hci_event.c         |  504 +---------------------------
 net/bluetooth/hci_sock.c          |    3 +-
 5 files changed, 601 insertions(+), 602 deletions(-)


^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2013-03-04 21:58 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-04 10:08 [PATCH 00/11] Bluetooth: Add asynchronous request support Johan Hedberg
2013-03-04 10:08 ` [PATCH 01/11] Bluetooth: Rename hci_request to hci_req_sync Johan Hedberg
2013-03-04 18:57   ` Marcel Holtmann
2013-03-04 10:08 ` [PATCH 02/11] Bluetooth: Fix __hci_req_sync() handling of empty requests Johan Hedberg
2013-03-04 10:09 ` [PATCH 03/11] Bluetooth: Split HCI init sequence into three stages Johan Hedberg
2013-03-04 10:59   ` Anderson Lizardo
2013-03-04 11:35     ` Johan Hedberg
2013-03-04 13:36       ` Anderson Lizardo
2013-03-04 18:54         ` Marcel Holtmann
2013-03-04 21:07           ` Johan Hedberg
2013-03-04 21:58             ` Marcel Holtmann
2013-03-04 10:09 ` [PATCH 04/11] Bluetooth: Add initial skeleton for asynchronous HCI requests Johan Hedberg
2013-03-04 19:03   ` Marcel Holtmann
2013-03-04 21:16     ` Johan Hedberg
2013-03-04 21:54       ` Marcel Holtmann
2013-03-04 10:09 ` [PATCH 05/11] Bluetooth: Refactor HCI command skb creation Johan Hedberg
2013-03-04 10:09 ` [PATCH 06/11] Bluetooth: Introduce new hci_req_cmd function Johan Hedberg
2013-03-04 19:06   ` Marcel Holtmann
2013-03-04 21:17     ` Johan Hedberg
2013-03-04 10:09 ` [PATCH 07/11] Bluetooth: Introduce a hci_req_from_skb function Johan Hedberg
2013-03-04 10:09 ` [PATCH 08/11] Bluetooth: Add request cmd_complete and cmd_status functions Johan Hedberg
2013-03-04 10:09 ` [PATCH 09/11] Bluetooth: Use async requests internally in hci_req_sync Johan Hedberg
2013-03-04 10:09 ` [PATCH 10/11] Bluetooth: Remove unused hdev->init_last_cmd Johan Hedberg
2013-03-04 10:09 ` [PATCH 11/11] Bluetooth: Remove empty HCI event handlers Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox