Skip to content

Bluetooth: Associate connectable setting with adv type

[email protected] linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Bluetooth: Make Set Connectable also update the LE advertising typenet/bluetooth/mgmt.c+30 -50 replies
2/4Bluetooth: Move set_bredr_scan() to avoid forward declarationnet/bluetooth/mgmt.c+20 -200 replies
3/4Bluetooth: Fix updating scan mode in set_bredr()net/bluetooth/mgmt.c+5 -10 replies
4/4Bluetooth: Convert Set Discoverable to use an asynchronous requestnet/bluetooth/mgmt.c+54 -90 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/4] Bluetooth: Associate connectable setting with adv type

Hi,

Here's a rewritten patch set to allow associating the connectable setting with the advertising type. Unlike the first attempt this one doesn't introduce a new parameter to enable_advertising() but instead does a pending mgmt command lookup to help determine the right advertising type.

There's also a fourth patch to do similar refactoring for set_discoverable as we did for set_connectable wrt. splitting raw HCI sockets from mgmt control, but I didn't quite get around to tying that to the advertising data yet (the general discoverable flag).

Johan

----------------------------------------------------------------
Johan Hedberg (4):
Bluetooth: Make Set Connectable also update the LE advertising type
Bluetooth: Move set_bredr_scan() to avoid forward declaration
Bluetooth: Fix updating scan mode in set_bredr()
Bluetooth: Convert Set Discoverable to use an asynchronous request

 net/bluetooth/mgmt.c | 144 ++++++++++++++++++++++++++++++++++++++-------------
 1 file changed, 109 insertions(+), 35 deletions(-)