aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/hci_core.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2014-12-20 16:28:40 +0100
committerJohan Hedberg <johan.hedberg@intel.com>2014-12-20 17:52:21 +0200
commita8e1bfaa55cf8ac4e419a09bdda5bb45bcd8f985 (patch)
treefdda3c590b9ec78f57dc5017315256e58a45f9a4 /include/net/bluetooth/hci_core.h
parentBluetooth: Enable basics for LE Data Length Extension feature (diff)
downloadlinux-dev-a8e1bfaa55cf8ac4e419a09bdda5bb45bcd8f985.tar.xz
linux-dev-a8e1bfaa55cf8ac4e419a09bdda5bb45bcd8f985.zip
Bluetooth: Store default and maximum LE data length settings
When the controller supports the LE Data Length Extension feature, the default and maximum data length are read and now stored. For backwards compatibility all values are initialized to the data length values from Bluetooth 4.1 and earlier specifications. 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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 79724c87ab00..f20f6bd668bd 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -220,6 +220,12 @@ struct hci_dev {
__u16 le_conn_max_interval;
__u16 le_conn_latency;
__u16 le_supv_timeout;
+ __u16 le_def_tx_len;
+ __u16 le_def_tx_time;
+ __u16 le_max_tx_len;
+ __u16 le_max_tx_time;
+ __u16 le_max_rx_len;
+ __u16 le_max_rx_time;
__u16 discov_interleaved_timeout;
__u16 conn_info_min_age;
__u16 conn_info_max_age;