aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/net/bluetooth/hci.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2020-04-09 08:05:49 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2020-04-15 16:51:05 +0300
commitff3b8df2bd758d97aa3dd7c021864be05fec9bd5 (patch)
treecae000a5d8cfdfeac0265fcbdf6c4e5ac58667d7 /include/net/bluetooth/hci.h
parentBluetooth: Use extra variable to make code more readable (diff)
downloadwireguard-linux-ff3b8df2bd758d97aa3dd7c021864be05fec9bd5.tar.xz
wireguard-linux-ff3b8df2bd758d97aa3dd7c021864be05fec9bd5.zip
Bluetooth: Enable LE Enhanced Connection Complete event.
In case LL Privacy is supported by the controller, it is also a good idea to use the LE Enhanced Connection Complete event for getting all information about the new connection and its addresses. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net/bluetooth/hci.h')
-rw-r--r--include/net/bluetooth/hci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
index ff42d05b3e72..1da8cec8e210 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -460,6 +460,7 @@ enum {
#define HCI_LE_SLAVE_FEATURES 0x08
#define HCI_LE_PING 0x10
#define HCI_LE_DATA_LEN_EXT 0x20
+#define HCI_LE_LL_PRIVACY 0x40
#define HCI_LE_EXT_SCAN_POLICY 0x80
#define HCI_LE_PHY_2M 0x01
#define HCI_LE_PHY_CODED 0x08