Bluetooth: Store default and maximum LE data length settings
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 20 Dec 2014 15:28:40 +0000 (16:28 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Sat, 20 Dec 2014 15:52:21 +0000 (17:52 +0200)
commita8e1bfaa55cf8ac4e419a09bdda5bb45bcd8f985
treefdda3c590b9ec78f57dc5017315256e58a45f9a4
parenta9f6068e0072839594d246089204644bffd2c988
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>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_core.c
net/bluetooth/hci_event.c