diff options
author | Waldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com> | 2011-04-28 06:07:55 -0400 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-04-28 14:02:12 -0400 |
commit | 13d39315c22b128f4796fc008b04914a7c32bb1a (patch) | |
tree | 81f6ed817d6814ba2af5c0bf8a6b7ede9999a395 /include/net | |
parent | 9003c4e220c2954a53c5da0d739ed15a46c13429 (diff) |
Bluetooth: Map sec_level to link key requirements
Keep the link key type together with connection and use it to
map security level to link key requirements. Authenticate and/or
encrypt connection if the link is insufficiently secure.
Signed-off-by: Waldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/bluetooth/hci_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index 69967e540c96..2da2eb9f53ac 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h | |||
@@ -226,6 +226,7 @@ struct hci_conn { | |||
226 | __u16 pkt_type; | 226 | __u16 pkt_type; |
227 | __u16 link_policy; | 227 | __u16 link_policy; |
228 | __u32 link_mode; | 228 | __u32 link_mode; |
229 | __u8 key_type; | ||
229 | __u8 auth_type; | 230 | __u8 auth_type; |
230 | __u8 sec_level; | 231 | __u8 sec_level; |
231 | __u8 pending_sec_level; | 232 | __u8 pending_sec_level; |