diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2014-12-20 16:28:40 +0100 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-12-20 17:52:21 +0200 |
commit | a8e1bfaa55cf8ac4e419a09bdda5bb45bcd8f985 (patch) | |
tree | fdda3c590b9ec78f57dc5017315256e58a45f9a4 /include | |
parent | a9f6068e0072839594d246089204644bffd2c988 (diff) | |
download | linux-stable-a8e1bfaa55cf8ac4e419a09bdda5bb45bcd8f985.tar.gz linux-stable-a8e1bfaa55cf8ac4e419a09bdda5bb45bcd8f985.tar.bz2 linux-stable-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')
-rw-r--r-- | include/net/bluetooth/hci_core.h | 6 |
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; |