diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2014-01-31 22:02:30 -0500 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-02-13 02:51:44 -0500 |
commit | 424ef94311512ef48a5464d173ef83862e4653cb (patch) | |
tree | d76412038328462227e2b913681f72654b3a478d /include/net/bluetooth/hci.h | |
parent | 914a6ffe42259267239a23d4f23ef06b0a0369a4 (diff) |
Bluetooth: Add constants for LTK key types
The LTK key types available right now are unauthenticated and
authenticated ones. Provide two simple constants for it.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net/bluetooth/hci.h')
-rw-r--r-- | include/net/bluetooth/hci.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index 232c07804ca8..352d3d7d06bb 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h | |||
@@ -346,6 +346,10 @@ enum { | |||
346 | #define HCI_SMP_LTK 0x82 | 346 | #define HCI_SMP_LTK 0x82 |
347 | #define HCI_SMP_LTK_SLAVE 0x83 | 347 | #define HCI_SMP_LTK_SLAVE 0x83 |
348 | 348 | ||
349 | /* Long Term Key types */ | ||
350 | #define HCI_LTK_UNAUTH 0x00 | ||
351 | #define HCI_LTK_AUTH 0x01 | ||
352 | |||
349 | /* ---- HCI Error Codes ---- */ | 353 | /* ---- HCI Error Codes ---- */ |
350 | #define HCI_ERROR_AUTH_FAILURE 0x05 | 354 | #define HCI_ERROR_AUTH_FAILURE 0x05 |
351 | #define HCI_ERROR_CONNECTION_TIMEOUT 0x08 | 355 | #define HCI_ERROR_CONNECTION_TIMEOUT 0x08 |