Skip to content

sco: BT_DEFER_SETUP for SCO sockets

Frédéric Dalleau linux-bluetooth 2 versions – In review

Get series with b4
b4 am 1353491473-3789-1-git-send-email-frederic.dalleau@linux.intel.com

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v12 patches 6 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Bluetooth: Add BT_DEFER_SETUP option to sco socketnet/bluetooth/sco.c+32 -00 replies
2/2Bluetooth: Implement deferred sco socket setupinclude/net/bluetooth/hci_core.h net/bluetooth/hci_event.c net/bluetooth/sco.c+86 -101 reply

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/2] sco: BT_DEFER_SETUP for SCO sockets

Hi,

This patch implements BT_DEFER_SETUP option on SCO sockets. hci layer get some changes since previous behavior was to accept all SCO connections.

How to test :
compile bluez (3fd3d5f or newer) with --enable-test and run:

$ btiotest -s -d -a 5
on another machine run:
$ btiotest -s <bdaddr>
Check result with btmon.

Best regards,
Frédéric

Frédéric Dalleau (2):
Bluetooth: Add BT_DEFER_SETUP option to sco socket
Bluetooth: Implement deferred sco socket setup

 include/net/bluetooth/hci_core.h |    9 +++--
 net/bluetooth/hci_event.c        |   52 ++++++++++++++++++++++++++---
 net/bluetooth/sco.c              |   67 ++++++++++++++++++++++++++++++++++++--
 3 files changed, 118 insertions(+), 10 deletions(-)
Signature · 1 line
1.7.9.5