Skip to content

Use HCI request framework to enable LE scanning

Andre Guedes linux-bluetooth 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 6 repliesIn review
  2. v17 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6Bluetooth: Update hci_le_scan to use HCI requestinclude/net/bluetooth/hci_core.h net/bluetooth/hci_core.c net/bluetooth/mgmt.c+59 -162 replies
2/6Bluetooth: Merge LE-only and interleaved casesnet/bluetooth/mgmt.c+3 -120 replies
3/6Bluetooth: Remove timeout handling from hci_cancel_le_scannet/bluetooth/hci_core.c net/bluetooth/mgmt.c+17 -122 replies
4/6Bluetooth: Remove LE scan workinclude/net/bluetooth/hci_core.h net/bluetooth/hci_core.c+0 -820 replies
5/6Bluetooth: Change LE scanning timeout macrosnet/bluetooth/mgmt.c+4 -42 replies
6/6Bluetooth: Add LE scan type macrosinclude/net/bluetooth/hci_core.h net/bluetooth/mgmt.c+5 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/6] Use HCI request framework to enable LE scanning

Hi all,

This v2 implements Marcel's comments about the previous patch set.

The changes are:
- set_le_scan_param and set_le_scan_enable helpers were removed and their code put into hci_le_scan function.
- Decimal values were replaced by hexadecimal in HCI parameters.

I also removed Patch "Bluetooth: Add hci_req_cleanup function" from this patch set since all request errors are now handled by the HCI request framework.

Regards,

Andre

Andre Guedes (6):
Bluetooth: Update hci_le_scan to use HCI request
Bluetooth: Merge LE-only and interleaved cases
Bluetooth: Remove timeout handling from hci_cancel_le_scan
Bluetooth: Remove LE scan work
Bluetooth: Change LE scanning timeout macros
Bluetooth: Add LE scan type macros

 include/net/bluetooth/hci_core.h |  17 ++----
 net/bluetooth/hci_core.c         | 113 ++++++++-------------------------------
 net/bluetooth/mgmt.c             |  62 ++++++++++++++++-----
 3 files changed, 76 insertions(+), 116 deletions(-)
Signature · 1 line
1.8.1.2