summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2015-03-14 22:43:18 -0700
committerJohan Hedberg <johan.hedberg@intel.com>2015-03-15 10:05:28 +0200
commit1471aae0d04d4e0df2bf1e5a5af861e28371b8b4 (patch)
tree3297ebaf1d8c7621b5e91a854ae5323c4dbd6955
parentbea41609de527830cc4c843e0e833cf021adc6b1 (diff)
downloadlinux-stable-1471aae0d04d4e0df2bf1e5a5af861e28371b8b4.tar.gz
linux-stable-1471aae0d04d4e0df2bf1e5a5af861e28371b8b4.tar.bz2
linux-stable-1471aae0d04d4e0df2bf1e5a5af861e28371b8b4.zip
Bluetooth: Add defines for LE Bluetooth Device Address and LE Role
The OOB data requires to include LE Bluetooth Device Address and LE Role and so add the type constants for these fields. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
-rw-r--r--include/net/bluetooth/hci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
index 7f41c7741e76..af9893b704ff 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -456,6 +456,8 @@ enum {
#define EIR_SSP_HASH_C 0x0E /* Simple Pairing Hash C */
#define EIR_SSP_RAND_R 0x0F /* Simple Pairing Randomizer R */
#define EIR_DEVICE_ID 0x10 /* device ID */
+#define EIR_LE_BDADDR 0x1B /* LE Bluetooth device address */
+#define EIR_LE_ROLE 0x1C /* LE role */
/* Low Energy Advertising Flags */
#define LE_AD_LIMITED 0x01 /* Limited Discoverable */