Skip to content

Bluetooth: Scanning & advertising co-existence fixes

[email protected] linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7Bluetooth: Add flag to track the real advertising stateinclude/net/bluetooth/hci.h net/bluetooth/hci_event.c+6 -20 replies
2/7Bluetooth: Remove unnecessary mgmt_advertising functioninclude/net/bluetooth/hci_core.h net/bluetooth/hci_event.c net/bluetooth/mgmt.c+5 -150 replies
3/7Bluetooth: Use real advertising state to random address update decisionnet/bluetooth/hci_conn.c net/bluetooth/hci_core.c net/bluetooth/mgmt.c+5 -50 replies
4/7Bluetooth: Simplify usage of the enable_advertising functionnet/bluetooth/mgmt.c+16 -330 replies
5/7Bluetooth: Use the correct flag to decide to disable advertisingnet/bluetooth/mgmt.c+2 -20 replies
6/7Bluetooth: Stop advertising always before initiating a connectionnet/bluetooth/hci_conn.c+12 -30 replies
7/7Bluetooth: Fix advertising and active scanning co-existencenet/bluetooth/hci_conn.c net/bluetooth/hci_event.c net/bluetooth/mgmt.c+37 -70 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/7] Bluetooth: Scanning & advertising co-existence fixes

Hi,

This set of patches tries to improve the current behavior of LE scanning and advertising so that both features can be used nicely together to the extent that current LE hardware supports them.

Johan

----------------------------------------------------------------
Johan Hedberg (7):
Bluetooth: Add flag to track the real advertising state
Bluetooth: Remove unnecessary mgmt_advertising function
Bluetooth: Use real advertising state to random address update decision
Bluetooth: Simplify usage of the enable_advertising function
Bluetooth: Use the correct flag to decide to disable advertising
Bluetooth: Stop advertising always before initiating a connection
Bluetooth: Fix advertising and active scanning co-existence

 include/net/bluetooth/hci.h      |  4 +-
 include/net/bluetooth/hci_core.h |  1 -
 net/bluetooth/hci_conn.c         | 29 +++++++++--
 net/bluetooth/hci_core.c         |  2 +-
 net/bluetooth/hci_event.c        | 16 ++++--
 net/bluetooth/mgmt.c             | 98 ++++++++++++++++---------------------
 6 files changed, 83 insertions(+), 67 deletions(-)