Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH 0/8] Get Connection Information
@ 2014-05-08 13:32 Andrzej Kaczmarek
  2014-05-08 13:32 ` [PATCH 1/8] Bluetooth: Store RSSI for connection Andrzej Kaczmarek
                   ` (7 more replies)
  0 siblings, 8 replies; 21+ messages in thread
From: Andrzej Kaczmarek @ 2014-05-08 13:32 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Andrzej Kaczmarek

Hi,

Here are patches which implement Get Connection Information mgmt command.
Patches 1-7 provide implementation based on API v2 and I added separate
patch (8) which updates to API v3 to make it easier to spot differences
between v2 and v3 API.

Addition of max TX power level is due to proposed device property with
this value exposed and it seems convenient to retrieve this value using
new Connection Information API.

As for now both RSSI and TX power level are read on request - it's much
simpler this way and later it can be modified to refresh only what is
required for specific request, i.e. refresh only RSSI if TX power level
was not requested.


Andrzej Kaczmarek (8):
  Bluetooth: Store RSSI for connection
  Bluetooth: Store TX power level for connection
  Bluetooth: Move eir_append_data up
  Bluetooth: Add support for user data in hci_request
  Bluetooth: Add support to get connection information
  Bluetooth: Make min interval for connection information configurable
  Bluetooth: Avoid pooling TX power for LE links
  Bluetooth: Add support for max_tx_power in Get Conn Info

 include/net/bluetooth/bluetooth.h |   3 +-
 include/net/bluetooth/hci.h       |  23 +++
 include/net/bluetooth/hci_core.h  |  11 +-
 include/net/bluetooth/mgmt.h      |  17 +++
 net/bluetooth/hci_conn.c          |   6 +-
 net/bluetooth/hci_core.c          |  33 +++--
 net/bluetooth/hci_event.c         |  68 +++++++++
 net/bluetooth/mgmt.c              | 295 +++++++++++++++++++++++++++++++-------
 8 files changed, 391 insertions(+), 65 deletions(-)

-- 
1.9.2


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

end of thread, other threads:[~2014-05-09 11:04 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-08 13:32 [PATCH 0/8] Get Connection Information Andrzej Kaczmarek
2014-05-08 13:32 ` [PATCH 1/8] Bluetooth: Store RSSI for connection Andrzej Kaczmarek
2014-05-08 15:03   ` Marcel Holtmann
2014-05-08 13:32 ` [PATCH 2/8] Bluetooth: Store TX power level " Andrzej Kaczmarek
2014-05-08 15:03   ` Marcel Holtmann
2014-05-08 13:32 ` [PATCH 3/8] Bluetooth: Move eir_append_data up Andrzej Kaczmarek
2014-05-08 13:32 ` [PATCH 4/8] Bluetooth: Add support for user data in hci_request Andrzej Kaczmarek
2014-05-08 15:32   ` Marcel Holtmann
2014-05-08 19:41     ` Andrzej Kaczmarek
2014-05-09 10:27     ` Johan Hedberg
2014-05-09 11:04       ` Andrzej Kaczmarek
2014-05-08 13:32 ` [PATCH 5/8] Bluetooth: Add support to get connection information Andrzej Kaczmarek
2014-05-08 14:20   ` Szymon Janc
2014-05-08 15:26   ` Marcel Holtmann
2014-05-08 19:57     ` Andrzej Kaczmarek
2014-05-08 13:32 ` [PATCH 6/8] Bluetooth: Make min interval for connection information configurable Andrzej Kaczmarek
2014-05-08 15:27   ` Marcel Holtmann
2014-05-08 13:32 ` [PATCH 7/8] Bluetooth: Avoid pooling TX power for LE links Andrzej Kaczmarek
2014-05-08 15:29   ` Marcel Holtmann
2014-05-08 20:06     ` Andrzej Kaczmarek
2014-05-08 13:32 ` [PATCH 8/8] Bluetooth: Add support for max_tx_power in Get Conn Info Andrzej Kaczmarek

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