Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH v2 0/7] Bluetooth: Cleanups and LE advertising support
@ 2013-09-25 10:26 johan.hedberg
  2013-09-25 10:26 ` [PATCH v2 1/7] Bluetooth: Add clarifying comment to bt_sock_wait_state() johan.hedberg
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: johan.hedberg @ 2013-09-25 10:26 UTC (permalink / raw)
  To: linux-bluetooth

Hi,

Here's an updated set based on feedback on the first one. The
mgmt_valid_hdev patch has been dropped since it's a trivial one and I
didn't want the debate over it to slow down the overall progress of this
set.

The main difference to the initial set_le and set_advertising code is
that I now let the hci_event.c handlers take care of setting the right
values of the dev_flags bits. This works fine since these handlers are
always executed before the async request callbacks which then get called
with dev_flags already having the correct value. The benefit of using
the event handlers like this is that we retain at least partial support
for raw HCI access (hciconfig) by ensuring that the kernel state flags
are always correct.

Johan

----------------------------------------------------------------
Johan Hedberg (7):
      Bluetooth: Add clarifying comment to bt_sock_wait_state()
      Bluetooth: Clean up socket locking in l2cap_sock_recvmsg
      Bluetooth: Fix busy return for mgmt_set_powered in some cases
      Bluetooth: Move mgmt response convenience functions to a better location
      Bluetooth: Use async request for LE enable/disable
      Bluetooth: Add new mgmt setting for LE advertising
      Bluetooth: Add new mgmt_set_advertising command

 include/net/bluetooth/hci_core.h |   1 -
 include/net/bluetooth/mgmt.h     |   3 +
 net/bluetooth/af_bluetooth.c     |   1 +
 net/bluetooth/hci_event.c        |  12 +-
 net/bluetooth/l2cap_sock.c       |   4 +-
 net/bluetooth/mgmt.c             | 257 ++++++++++++++++++++++++++------------
 6 files changed, 191 insertions(+), 87 deletions(-)


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

end of thread, other threads:[~2013-09-25 17:30 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-25 10:26 [PATCH v2 0/7] Bluetooth: Cleanups and LE advertising support johan.hedberg
2013-09-25 10:26 ` [PATCH v2 1/7] Bluetooth: Add clarifying comment to bt_sock_wait_state() johan.hedberg
2013-09-25 10:26 ` [PATCH v2 2/7] Bluetooth: Clean up socket locking in l2cap_sock_recvmsg johan.hedberg
2013-09-25 10:30   ` Marcel Holtmann
2013-09-25 10:26 ` [PATCH v2 3/7] Bluetooth: Fix busy return for mgmt_set_powered in some cases johan.hedberg
2013-09-25 10:26 ` [PATCH v2 4/7] Bluetooth: Move mgmt response convenience functions to a better location johan.hedberg
2013-09-25 10:26 ` [PATCH v2 5/7] Bluetooth: Use async request for LE enable/disable johan.hedberg
2013-09-25 10:26 ` [PATCH v2 6/7] Bluetooth: Add new mgmt setting for LE advertising johan.hedberg
2013-09-25 10:26 ` [PATCH v2 7/7] Bluetooth: Add new mgmt_set_advertising command johan.hedberg
2013-09-25 10:31   ` Marcel Holtmann
2013-09-25 17:30   ` Gustavo Padovan

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