Home
last modified time | relevance | path

Searched refs:pending_sec_level (Results 1 – 6 of 6) sorted by relevance

/linux-4.1.27/net/bluetooth/
Dsmp.c892 if (hcon->pending_sec_level < BT_SECURITY_HIGH) in tk_request()
893 hcon->pending_sec_level = BT_SECURITY_HIGH; in tk_request()
1010 if (hcon->pending_sec_level == BT_SECURITY_HIGH) in smp_random()
1142 if (hcon->pending_sec_level == BT_SECURITY_FIPS) in sc_add_ltk()
1789 if (sec_level > conn->hcon->pending_sec_level) in smp_cmd_pairing_req()
1790 conn->hcon->pending_sec_level = sec_level; in smp_cmd_pairing_req()
1793 if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) { in smp_cmd_pairing_req()
1947 else if (conn->hcon->pending_sec_level > BT_SECURITY_HIGH) in smp_cmd_pairing_rsp()
1948 conn->hcon->pending_sec_level = BT_SECURITY_HIGH; in smp_cmd_pairing_rsp()
1951 if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) { in smp_cmd_pairing_rsp()
[all …]
Dhci_conn.c755 conn->pending_sec_level = sec_level; in hci_connect_le()
791 conn->pending_sec_level = sec_level; in hci_connect_le()
885 acl->pending_sec_level = sec_level; in hci_connect_acl()
964 if (conn->pending_sec_level > sec_level) in hci_conn_auth()
965 sec_level = conn->pending_sec_level; in hci_conn_auth()
968 conn->pending_sec_level = sec_level; in hci_conn_auth()
Dhci_event.c1639 if (conn->pending_sec_level == BT_SECURITY_SDP) in hci_outgoing_auth_needed()
1647 conn->pending_sec_level != BT_SECURITY_FIPS && in hci_outgoing_auth_needed()
1648 conn->pending_sec_level != BT_SECURITY_HIGH && in hci_outgoing_auth_needed()
1649 conn->pending_sec_level != BT_SECURITY_MEDIUM) in hci_outgoing_auth_needed()
2518 conn->sec_level = conn->pending_sec_level; in hci_auth_complete_evt()
2624 conn->sec_level = conn->pending_sec_level; in hci_encrypt_change_evt()
3390 if (conn->pending_sec_level == BT_SECURITY_HIGH) in hci_pin_code_request_evt()
3417 conn->pending_sec_level = BT_SECURITY_HIGH; in conn_set_key()
3419 conn->pending_sec_level = BT_SECURITY_MEDIUM; in conn_set_key()
3423 conn->pending_sec_level = BT_SECURITY_MEDIUM; in conn_set_key()
[all …]
Dl2cap_core.c1486 smp_conn_security(hcon, hcon->pending_sec_level); in l2cap_le_conn_ready()
Dmgmt.c3218 if (conn->pending_sec_level == BT_SECURITY_HIGH && cp->pin_len != 16) { in pin_code_reply()
/linux-4.1.27/include/net/bluetooth/
Dhci_core.h423 __u8 pending_sec_level; member
1162 if (conn->pending_sec_level > conn->sec_level) in hci_encrypt_cfm()
1163 conn->sec_level = conn->pending_sec_level; in hci_encrypt_cfm()