]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit51520506f339ed7970bd9491b61ab3f66f3a6ff0
treefdda3c590b9ec78f57dc5017315256e58a45f9a4
parentacf2dd0f098d1c3ac7226b27f731c3daaa960f99
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