summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/hci_core.h
diff options
context:
space:
mode:
authorJohan Hedberg2013-01-22 13:02:01 +0100
committerGustavo Padovan2013-01-23 05:09:16 +0100
commit9b008c0457e583e10e62d1215bed6ab26ee54906 (patch)
treef608bfbee267282ce104601523e2a655ce2945db /include/net/bluetooth/hci_core.h
parentBluetooth: Add support for reading LE White List Size (diff)
downloadkernel-qcow2-linux-9b008c0457e583e10e62d1215bed6ab26ee54906.tar.gz
kernel-qcow2-linux-9b008c0457e583e10e62d1215bed6ab26ee54906.tar.xz
kernel-qcow2-linux-9b008c0457e583e10e62d1215bed6ab26ee54906.zip
Bluetooth: Add support for reading LE supported states
The LE supported states indicate the states and state combinations that the link layer supports. This is important information for knowing what operations are possible when dealing with multiple connected devices. This patch adds reading of the supported states to the HCI init sequence. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'include/net/bluetooth/hci_core.h')
-rw-r--r--include/net/bluetooth/hci_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index d6ed4ac18d83..bcf8ffe2a843 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -154,6 +154,7 @@ struct hci_dev {
__u8 host_features[8];
__u8 le_features[8];
__u8 le_white_list_size;
+ __u8 le_states[8];
__u8 commands[64];
__u8 hci_ver;
__u16 hci_rev;