Home
last modified time | relevance | path

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

/Linux-v5.4/net/bluetooth/
Dsmp.c907 if (hcon->pending_sec_level < BT_SECURITY_HIGH) in tk_request()
908 hcon->pending_sec_level = BT_SECURITY_HIGH; in tk_request()
1017 if (hcon->pending_sec_level == BT_SECURITY_HIGH) in smp_random()
1134 if (hcon->pending_sec_level == BT_SECURITY_FIPS) in sc_add_ltk()
1816 if (sec_level > conn->hcon->pending_sec_level) in smp_cmd_pairing_req()
1817 conn->hcon->pending_sec_level = sec_level; in smp_cmd_pairing_req()
1820 if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) { in smp_cmd_pairing_req()
1976 else if (conn->hcon->pending_sec_level > BT_SECURITY_HIGH) in smp_cmd_pairing_rsp()
1977 conn->hcon->pending_sec_level = BT_SECURITY_HIGH; in smp_cmd_pairing_rsp()
1980 if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) { in smp_cmd_pairing_rsp()
[all …]
Dhci_conn.c1009 conn->pending_sec_level = sec_level; in hci_connect_le()
1160 if (conn->pending_sec_level < sec_level) in hci_connect_le_scan()
1161 conn->pending_sec_level = sec_level; in hci_connect_le_scan()
1178 conn->pending_sec_level = sec_level; in hci_connect_le_scan()
1211 acl->pending_sec_level = sec_level; in hci_connect_acl()
1290 if (conn->pending_sec_level > sec_level) in hci_conn_auth()
1291 sec_level = conn->pending_sec_level; in hci_conn_auth()
1294 conn->pending_sec_level = sec_level; in hci_conn_auth()
Dhci_event.c1904 if (conn->pending_sec_level == BT_SECURITY_SDP) in hci_outgoing_auth_needed()
1912 conn->pending_sec_level != BT_SECURITY_FIPS && in hci_outgoing_auth_needed()
1913 conn->pending_sec_level != BT_SECURITY_HIGH && in hci_outgoing_auth_needed()
1914 conn->pending_sec_level != BT_SECURITY_MEDIUM) in hci_outgoing_auth_needed()
2784 conn->sec_level = conn->pending_sec_level; in hci_auth_complete_evt()
2949 conn->sec_level = conn->pending_sec_level; in hci_encrypt_change_evt()
3826 if (conn->pending_sec_level == BT_SECURITY_HIGH) in hci_pin_code_request_evt()
3853 conn->pending_sec_level = BT_SECURITY_HIGH; in conn_set_key()
3855 conn->pending_sec_level = BT_SECURITY_MEDIUM; in conn_set_key()
3859 conn->pending_sec_level = BT_SECURITY_MEDIUM; in conn_set_key()
[all …]
Dl2cap_core.c1529 smp_conn_security(hcon, hcon->pending_sec_level); in l2cap_le_conn_ready()
Dmgmt.c2687 if (conn->pending_sec_level == BT_SECURITY_HIGH && cp->pin_len != 16) { in pin_code_reply()
/Linux-v5.4/include/net/bluetooth/
Dhci_core.h479 __u8 pending_sec_level; member
1319 if (conn->pending_sec_level > conn->sec_level) in hci_encrypt_cfm()
1320 conn->sec_level = conn->pending_sec_level; in hci_encrypt_cfm()