diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2015-04-07 14:52:21 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-04-07 17:11:37 -0400 |
commit | d619ffcfbd07983d34dc87d474af6cb5c21adf27 (patch) | |
tree | 9701d22e8f76f070c41a5196f19478405f607eec | |
parent | bca03c959ab377010d87bef2679890a4a4e66e37 (diff) |
Bluetooth: Update SSP OOB data EIR definitions
Since Bluetooth 4.1 there are two additional values for SSP OOB data,
namely C-256 and R-256. This patch updates the EIR definitions to take
into account both the 192 and 256 bit variants of C and R.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
-rw-r--r-- | include/net/bluetooth/hci.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index 3acecf35420b..2f8c830e600c 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h | |||
@@ -463,12 +463,14 @@ enum { | |||
463 | #define EIR_NAME_COMPLETE 0x09 /* complete local name */ | 463 | #define EIR_NAME_COMPLETE 0x09 /* complete local name */ |
464 | #define EIR_TX_POWER 0x0A /* transmit power level */ | 464 | #define EIR_TX_POWER 0x0A /* transmit power level */ |
465 | #define EIR_CLASS_OF_DEV 0x0D /* Class of Device */ | 465 | #define EIR_CLASS_OF_DEV 0x0D /* Class of Device */ |
466 | #define EIR_SSP_HASH_C 0x0E /* Simple Pairing Hash C */ | 466 | #define EIR_SSP_HASH_C192 0x0E /* Simple Pairing Hash C-192 */ |
467 | #define EIR_SSP_RAND_R 0x0F /* Simple Pairing Randomizer R */ | 467 | #define EIR_SSP_RAND_R192 0x0F /* Simple Pairing Randomizer R-192 */ |
468 | #define EIR_DEVICE_ID 0x10 /* device ID */ | 468 | #define EIR_DEVICE_ID 0x10 /* device ID */ |
469 | #define EIR_APPEARANCE 0x19 /* Device appearance */ | 469 | #define EIR_APPEARANCE 0x19 /* Device appearance */ |
470 | #define EIR_LE_BDADDR 0x1B /* LE Bluetooth device address */ | 470 | #define EIR_LE_BDADDR 0x1B /* LE Bluetooth device address */ |
471 | #define EIR_LE_ROLE 0x1C /* LE role */ | 471 | #define EIR_LE_ROLE 0x1C /* LE role */ |
472 | #define EIR_SSP_HASH_C256 0x1D /* Simple Pairing Hash C-256 */ | ||
473 | #define EIR_SSP_RAND_R256 0x1E /* Simple Pairing Rand R-256 */ | ||
472 | #define EIR_LE_SC_CONFIRM 0x22 /* LE SC Confirmation Value */ | 474 | #define EIR_LE_SC_CONFIRM 0x22 /* LE SC Confirmation Value */ |
473 | #define EIR_LE_SC_RANDOM 0x23 /* LE SC Random Value */ | 475 | #define EIR_LE_SC_RANDOM 0x23 /* LE SC Random Value */ |
474 | 476 | ||