summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/hci_core.h
diff options
context:
space:
mode:
authorAndre Guedes2014-01-30 22:22:04 +0100
committerJohan Hedberg2014-02-13 08:51:41 +0100
commit1e406eefbe41467c00973939c2b61b37bf0e1323 (patch)
tree5de447fd423d7339555229a5e6c1472ecdccf425 /include/net/bluetooth/hci_core.h
parentBluetooth: Fix differentiating stored master vs slave LTK types (diff)
downloadkernel-qcow2-linux-1e406eefbe41467c00973939c2b61b37bf0e1323.tar.gz
kernel-qcow2-linux-1e406eefbe41467c00973939c2b61b37bf0e1323.tar.xz
kernel-qcow2-linux-1e406eefbe41467c00973939c2b61b37bf0e1323.zip
Bluetooth: Save connection interval parameters in hci_conn
This patch creates two new fields in struct hci_conn to save the minimum and maximum connection interval values used to establish the connection this object represents. This change is required in order to know what parameters the connection is currently using. Signed-off-by: Andre Guedes <andre.guedes@openbossa.org> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth/hci_core.h')
-rw-r--r--include/net/bluetooth/hci_core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 378e2f32cfa0..b9676cc1a59d 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -334,6 +334,8 @@ struct hci_conn {
__u8 passkey_entered;
__u16 disc_timeout;
__u16 setting;
+ __u16 le_conn_min_interval;
+ __u16 le_conn_max_interval;
unsigned long flags;
__u8 remote_cap;