summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/smp.h
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2014-07-11 15:52:57 -0400
committerJohn W. Linville <linville@tuxdriver.com>2014-07-11 15:52:57 -0400
commit95d01a669bd35d0e8eb28dd8a946876c00a9a61a (patch)
treee8169b32120729111321efc53cb4315d9c0e21e7 /net/bluetooth/smp.h
parent5e6438db34d522ee1c78b5d4c1c35a4a3bbd5054 (diff)
parentca424b2022410b6c2cd0bc0f9a0438ed0b75f95f (diff)
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem
Diffstat (limited to 'net/bluetooth/smp.h')
-rw-r--r--net/bluetooth/smp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/bluetooth/smp.h b/net/bluetooth/smp.h
index 5a8dc36460a..796f4f45f92 100644
--- a/net/bluetooth/smp.h
+++ b/net/bluetooth/smp.h
@@ -116,6 +116,13 @@ struct smp_cmd_security_req {
#define SMP_MIN_ENC_KEY_SIZE 7
#define SMP_MAX_ENC_KEY_SIZE 16
+/* LTK types used in internal storage (struct smp_ltk) */
+enum {
+ SMP_STK,
+ SMP_LTK,
+ SMP_LTK_SLAVE,
+};
+
/* SMP Commands */
bool smp_sufficient_security(struct hci_conn *hcon, u8 sec_level);
int smp_conn_security(struct hci_conn *hcon, __u8 sec_level);