netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Add support fo BT LE Connection Parameters
@ 2013-07-04 23:25 Kyle Manna
  2013-07-04 23:25 ` [PATCH 1/2] bluetooth: Pass HCI LE connection parameters Kyle Manna
  2013-07-04 23:25 ` [PATCH 2/2] bluetooth: Add l2cap sockopt for LE conn params Kyle Manna
  0 siblings, 2 replies; 3+ messages in thread
From: Kyle Manna @ 2013-07-04 23:25 UTC (permalink / raw)
  To: linux-bluetooth, Marcel Holtmann, Gustavo Padovan, Johan Hedberg
  Cc: David S. Miller, netdev, linux-kernel, Kyle Manna

This patch series adds support for calling setsockopt() on a l2cap socket to set connection parameters prior to calling connect().

The motivation for setting the paremeters prior to connect is to:
1) Reduce the issues caused with BT and WiFi hardware radios that share the same antenna.  During the connection, typically the WiFi portion of the radio is blocked. Setting the connection parameters such as the window and interval allow the userspace app to tune and compromise.
2) Eliminate the need to call HCI connection update when the paremeters are known ahead of time.

Kyle Manna (2):
  bluetooth: Pass HCI LE connection parameters
  bluetooth: Add l2cap sockopt for LE conn params

 include/net/bluetooth/bluetooth.h |  2 ++
 include/net/bluetooth/hci_core.h  |  5 +++--
 include/net/bluetooth/l2cap.h     |  2 ++
 net/bluetooth/hci_conn.c          | 33 ++++++++++++++-------------------
 net/bluetooth/l2cap_core.c        | 13 +++++++++++--
 net/bluetooth/l2cap_sock.c        | 25 +++++++++++++++++++++++++
 net/bluetooth/mgmt.c              |  4 ++--
 net/bluetooth/sco.c               |  2 +-
 8 files changed, 60 insertions(+), 26 deletions(-)

-- 
1.8.1.2

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

end of thread, other threads:[~2013-07-04 23:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-04 23:25 [PATCH 0/2] Add support fo BT LE Connection Parameters Kyle Manna
2013-07-04 23:25 ` [PATCH 1/2] bluetooth: Pass HCI LE connection parameters Kyle Manna
2013-07-04 23:25 ` [PATCH 2/2] bluetooth: Add l2cap sockopt for LE conn params Kyle Manna

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).