]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Bluetooth: Update SSP OOB data EIR definitions
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 7 Apr 2015 18:52:21 +0000 (21:52 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 7 Apr 2015 21:11:37 +0000 (23:11 +0200)
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>
include/net/bluetooth/hci.h

index 3acecf35420b707a40ab18fe0fa3d221025aa07f..2f8c830e600c35b3371a3260804f89cbcae6ef35 100644 (file)
@@ -463,12 +463,14 @@ enum {
 #define EIR_NAME_COMPLETE      0x09 /* complete local name */
 #define EIR_TX_POWER           0x0A /* transmit power level */
 #define EIR_CLASS_OF_DEV       0x0D /* Class of Device */
-#define EIR_SSP_HASH_C         0x0E /* Simple Pairing Hash C */
-#define EIR_SSP_RAND_R         0x0F /* Simple Pairing Randomizer R */
+#define EIR_SSP_HASH_C192      0x0E /* Simple Pairing Hash C-192 */
+#define EIR_SSP_RAND_R192      0x0F /* Simple Pairing Randomizer R-192 */
 #define EIR_DEVICE_ID          0x10 /* device ID */
 #define EIR_APPEARANCE         0x19 /* Device appearance */
 #define EIR_LE_BDADDR          0x1B /* LE Bluetooth device address */
 #define EIR_LE_ROLE            0x1C /* LE role */
+#define EIR_SSP_HASH_C256      0x1D /* Simple Pairing Hash C-256 */
+#define EIR_SSP_RAND_R256      0x1E /* Simple Pairing Rand R-256 */
 #define EIR_LE_SC_CONFIRM      0x22 /* LE SC Confirmation Value */
 #define EIR_LE_SC_RANDOM       0x23 /* LE SC Random Value */