Bluetooth: Add defines for LE Bluetooth Device Address and LE Role
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 15 Mar 2015 05:43:18 +0000 (22:43 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 15 Mar 2015 08:05:28 +0000 (10:05 +0200)
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>
include/net/bluetooth/hci.h

index 7f41c7741e76944a2293627e0f5a37fcc38fa98d..af9893b704ff6682d41d55c54dab2e1ca4af2d6d 100644 (file)
@@ -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 */