aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/hci_core.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2014-06-23 11:40:04 +0200
committerMarcel Holtmann <marcel@holtmann.org>2014-07-03 17:42:44 +0200
commite04fde60efabe27afdbe041e3e5a09ec752ec9d2 (patch)
tree7ef5f5b3468d8541fc66474b437b8e7530d4863e /include/net/bluetooth/hci_core.h
parentBluetooth: 6LoWPAN: Remove network devices when unloading (diff)
downloadlinux-dev-e04fde60efabe27afdbe041e3e5a09ec752ec9d2.tar.xz
linux-dev-e04fde60efabe27afdbe041e3e5a09ec752ec9d2.zip
Bluetooth: Store current LE connection parameters in hci_conn struct
The LE connection parameters are needed later on to be able to decide if it is required to trigger connection update procedures. So when the connection has been established successfully, store the current used parameters in hci_conn struct. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net/bluetooth/hci_core.h')
-rw-r--r--include/net/bluetooth/hci_core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index c81de0d366df..cd73a82cc713 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -381,6 +381,9 @@ struct hci_conn {
__u16 setting;
__u16 le_conn_min_interval;
__u16 le_conn_max_interval;
+ __u16 le_conn_interval;
+ __u16 le_conn_latency;
+ __u16 le_supv_timeout;
__s8 rssi;
__s8 tx_power;
__s8 max_tx_power;