aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/hci_core.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2014-06-29 16:43:26 +0200
committerMarcel Holtmann <marcel@holtmann.org>2014-07-03 17:42:50 +0200
commitf044eb0524a02ea7f921c9234fbdba43290da1e2 (patch)
tree98a3ac81fdefaa594f2f4bb17058b8fe278bd0d9 /include/net/bluetooth/hci_core.h
parentBluetooth: Update background scanning from hci_conn_params_clear (diff)
downloadlinux-dev-f044eb0524a02ea7f921c9234fbdba43290da1e2.tar.xz
linux-dev-f044eb0524a02ea7f921c9234fbdba43290da1e2.zip
Bluetooth: Store latency and supervision timeout in connection params
When the slave updates the connection parameters, store also the connection latency and supervision timeout information in the internal list of connection parameters for known devices. Having these values available allowes the auto-connection procedure to use the correct values from the beginning without having to request an update on every connection establishment. 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.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 0906990dedd8..182044824495 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -439,6 +439,8 @@ struct hci_conn_params {
u16 conn_min_interval;
u16 conn_max_interval;
+ u16 conn_latency;
+ u16 supervision_timeout;
enum {
HCI_AUTO_CONN_DISABLED,