aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2014-12-20 10:28:40 -0500
committerJohan Hedberg <johan.hedberg@intel.com>2014-12-20 10:52:21 -0500
commita8e1bfaa55cf8ac4e419a09bdda5bb45bcd8f985 (patch)
treefdda3c590b9ec78f57dc5017315256e58a45f9a4 /include/net
parenta9f6068e0072839594d246089204644bffd2c988 (diff)
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')
-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 {
220 __u16 le_conn_max_interval; 220 __u16 le_conn_max_interval;
221 __u16 le_conn_latency; 221 __u16 le_conn_latency;
222 __u16 le_supv_timeout; 222 __u16 le_supv_timeout;
223 __u16 le_def_tx_len;
224 __u16 le_def_tx_time;
225 __u16 le_max_tx_len;
226 __u16 le_max_tx_time;
227 __u16 le_max_rx_len;
228 __u16 le_max_rx_time;
223 __u16 discov_interleaved_timeout; 229 __u16 discov_interleaved_timeout;
224 __u16 conn_info_min_age; 230 __u16 conn_info_min_age;
225 __u16 conn_info_max_age; 231 __u16 conn_info_max_age;