aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/hci_core.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2014-06-30 12:34:36 +0200
committerMarcel Holtmann <marcel@holtmann.org>2014-07-03 17:42:51 +0200
commit04fb7d9066dd9173ef0d4ccea8fe3bb59bd94605 (patch)
tree9d55d6113ff0a9bccfdbe2b781167a878bd98d0e /include/net/bluetooth/hci_core.h
parentBluetooth: Add Device Added and Device Removed management events (diff)
downloadlinux-dev-04fb7d9066dd9173ef0d4ccea8fe3bb59bd94605.tar.xz
linux-dev-04fb7d9066dd9173ef0d4ccea8fe3bb59bd94605.zip
Bluetooth: Provide defaults for LE connection latency and timeout
Store the connection latency and supervision timeout default values with all the other controller defaults. And when needed use them for new connections. 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 182044824495..ed842c7e5cf1 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -203,6 +203,8 @@ struct hci_dev {
__u16 le_scan_window;
__u16 le_conn_min_interval;
__u16 le_conn_max_interval;
+ __u16 le_conn_latency;
+ __u16 le_supv_timeout;
__u16 discov_interleaved_timeout;
__u16 conn_info_min_age;
__u16 conn_info_max_age;