summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/hci_core.h
diff options
context:
space:
mode:
authorMarcel Holtmann2014-02-01 01:24:28 +0100
committerJohan Hedberg2014-02-13 08:51:42 +0100
commitabf76bad8fb503fb21fb0eba854fa048c75ff123 (patch)
tree24988d3bc5021d20380c16e09e104e04f62a7961 /include/net/bluetooth/hci_core.h
parentBluetooth: Remove one level of indentation from hci_encrypt_change_evt (diff)
downloadkernel-qcow2-linux-abf76bad8fb503fb21fb0eba854fa048c75ff123.tar.gz
kernel-qcow2-linux-abf76bad8fb503fb21fb0eba854fa048c75ff123.tar.xz
kernel-qcow2-linux-abf76bad8fb503fb21fb0eba854fa048c75ff123.zip
Bluetooth: Track the AES-CCM encryption status of LE and BR/EDR links
When encryption for LE links has been enabled, it will always be use AES-CCM encryption. In case of BR/EDR Secure Connections, the link will also use AES-CCM encryption. In both cases track the AES-CCM status in the connection flags. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
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 2e1d184bd8d3..6854384b1f25 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -448,6 +448,7 @@ enum {
HCI_CONN_MGMT_CONNECTED,
HCI_CONN_SSP_ENABLED,
HCI_CONN_SC_ENABLED,
+ HCI_CONN_AES_CCM,
HCI_CONN_POWER_SAVE,
HCI_CONN_REMOTE_OOB,
HCI_CONN_6LOWPAN,