From: Marcel Holtmann Date: Sat, 1 Feb 2014 03:02:30 +0000 (-0800) Subject: Bluetooth: Add constants for LTK key types X-Git-Tag: v5.15~17544^2~11^2~7^2~45^2~239 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=424ef94311512ef48a5464d173ef83862e4653cb;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Johan Hedberg --- diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index 232c078..352d3d7 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h @@ -346,6 +346,10 @@ enum { #define HCI_SMP_LTK 0x82 #define HCI_SMP_LTK_SLAVE 0x83 +/* Long Term Key types */ +#define HCI_LTK_UNAUTH 0x00 +#define HCI_LTK_AUTH 0x01 + /* ---- HCI Error Codes ---- */ #define HCI_ERROR_AUTH_FAILURE 0x05 #define HCI_ERROR_CONNECTION_TIMEOUT 0x08