diff options
Diffstat (limited to 'net/bluetooth/smp.h')
-rw-r--r-- | net/bluetooth/smp.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net/bluetooth/smp.h b/net/bluetooth/smp.h index 5a8dc36460a1..796f4f45f92f 100644 --- a/net/bluetooth/smp.h +++ b/net/bluetooth/smp.h | |||
@@ -116,6 +116,13 @@ struct smp_cmd_security_req { | |||
116 | #define SMP_MIN_ENC_KEY_SIZE 7 | 116 | #define SMP_MIN_ENC_KEY_SIZE 7 |
117 | #define SMP_MAX_ENC_KEY_SIZE 16 | 117 | #define SMP_MAX_ENC_KEY_SIZE 16 |
118 | 118 | ||
119 | /* LTK types used in internal storage (struct smp_ltk) */ | ||
120 | enum { | ||
121 | SMP_STK, | ||
122 | SMP_LTK, | ||
123 | SMP_LTK_SLAVE, | ||
124 | }; | ||
125 | |||
119 | /* SMP Commands */ | 126 | /* SMP Commands */ |
120 | bool smp_sufficient_security(struct hci_conn *hcon, u8 sec_level); | 127 | bool smp_sufficient_security(struct hci_conn *hcon, u8 sec_level); |
121 | int smp_conn_security(struct hci_conn *hcon, __u8 sec_level); | 128 | int smp_conn_security(struct hci_conn *hcon, __u8 sec_level); |