diff options
author | Mikel Astiz <mikel.astiz@bmw-carit.de> | 2013-06-28 04:56:27 -0400 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2013-07-25 09:15:22 -0400 |
commit | a77b15a60cb1d54d87e8794bfbc94c9ccee679ed (patch) | |
tree | 6ca0fe84338ff53570957acbc30fec40a5685fc7 /include/net | |
parent | 637b4caeedde9b926de6e66d68d0951b0f0c83ef (diff) |
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: Mikel Astiz <mikel.astiz@bmw-carit.de>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/bluetooth/hci.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index 3c592cf473da..a01fbb4a0499 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h | |||
@@ -296,6 +296,12 @@ enum { | |||
296 | #define HCI_AT_GENERAL_BONDING 0x04 | 296 | #define HCI_AT_GENERAL_BONDING 0x04 |
297 | #define HCI_AT_GENERAL_BONDING_MITM 0x05 | 297 | #define HCI_AT_GENERAL_BONDING_MITM 0x05 |
298 | 298 | ||
299 | /* I/O capabilities */ | ||
300 | #define HCI_IO_DISPLAY_ONLY 0x00 | ||
301 | #define HCI_IO_DISPLAY_YESNO 0x01 | ||
302 | #define HCI_IO_KEYBOARD_ONLY 0x02 | ||
303 | #define HCI_IO_NO_INPUT_OUTPUT 0x03 | ||
304 | |||
299 | /* Link Key types */ | 305 | /* Link Key types */ |
300 | #define HCI_LK_COMBINATION 0x00 | 306 | #define HCI_LK_COMBINATION 0x00 |
301 | #define HCI_LK_LOCAL_UNIT 0x01 | 307 | #define HCI_LK_LOCAL_UNIT 0x01 |