Commit a77b15a6 authored by Mikel Astiz's avatar Mikel Astiz Committed by Gustavo Padovan

Bluetooth: Add HCI authentication capabilities macros

Add macros for the HCI capabilities as described in the Bluetooth Core
Specification v4.0, Volume 2, part E, section 7.1.29.
Signed-off-by: default avatarMikel Astiz <mikel.astiz@bmw-carit.de>
Signed-off-by: default avatarGustavo Padovan <gustavo.padovan@collabora.co.uk>
parent 637b4cae
...@@ -296,6 +296,12 @@ enum { ...@@ -296,6 +296,12 @@ enum {
#define HCI_AT_GENERAL_BONDING 0x04 #define HCI_AT_GENERAL_BONDING 0x04
#define HCI_AT_GENERAL_BONDING_MITM 0x05 #define HCI_AT_GENERAL_BONDING_MITM 0x05
/* I/O capabilities */
#define HCI_IO_DISPLAY_ONLY 0x00
#define HCI_IO_DISPLAY_YESNO 0x01
#define HCI_IO_KEYBOARD_ONLY 0x02
#define HCI_IO_NO_INPUT_OUTPUT 0x03
/* Link Key types */ /* Link Key types */
#define HCI_LK_COMBINATION 0x00 #define HCI_LK_COMBINATION 0x00
#define HCI_LK_LOCAL_UNIT 0x01 #define HCI_LK_LOCAL_UNIT 0x01
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment