Home
last modified time | relevance | path

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

/Linux-v4.19/net/bluetooth/
Dsmp.c917 if (hcon->pending_sec_level < BT_SECURITY_HIGH) in tk_request()
918 hcon->pending_sec_level = BT_SECURITY_HIGH; in tk_request()
1030 if (hcon->pending_sec_level == BT_SECURITY_HIGH) in smp_random()
1147 if (hcon->pending_sec_level == BT_SECURITY_FIPS) in sc_add_ltk()
1837 if (sec_level > conn->hcon->pending_sec_level) in smp_cmd_pairing_req()
1838 conn->hcon->pending_sec_level = sec_level; in smp_cmd_pairing_req()
1841 if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) { in smp_cmd_pairing_req()
1997 else if (conn->hcon->pending_sec_level > BT_SECURITY_HIGH) in smp_cmd_pairing_rsp()
1998 conn->hcon->pending_sec_level = BT_SECURITY_HIGH; in smp_cmd_pairing_rsp()
2001 if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) { in smp_cmd_pairing_rsp()
[all …]
Dhci_conn.c1006 conn->pending_sec_level = sec_level; in hci_connect_le()
1157 if (conn->pending_sec_level < sec_level) in hci_connect_le_scan()
1158 conn->pending_sec_level = sec_level; in hci_connect_le_scan()
1175 conn->pending_sec_level = sec_level; in hci_connect_le_scan()
1208 acl->pending_sec_level = sec_level; in hci_connect_acl()
1287 if (conn->pending_sec_level > sec_level) in hci_conn_auth()
1288 sec_level = conn->pending_sec_level; in hci_conn_auth()
1291 conn->pending_sec_level = sec_level; in hci_conn_auth()
Dhci_event.c1820 if (conn->pending_sec_level == BT_SECURITY_SDP) in hci_outgoing_auth_needed()
1828 conn->pending_sec_level != BT_SECURITY_FIPS && in hci_outgoing_auth_needed()
1829 conn->pending_sec_level != BT_SECURITY_HIGH && in hci_outgoing_auth_needed()
1830 conn->pending_sec_level != BT_SECURITY_MEDIUM) in hci_outgoing_auth_needed()
2700 conn->sec_level = conn->pending_sec_level; in hci_auth_complete_evt()
2865 conn->sec_level = conn->pending_sec_level; in hci_encrypt_change_evt()
3695 if (conn->pending_sec_level == BT_SECURITY_HIGH) in hci_pin_code_request_evt()
3722 conn->pending_sec_level = BT_SECURITY_HIGH; in conn_set_key()
3724 conn->pending_sec_level = BT_SECURITY_MEDIUM; in conn_set_key()
3728 conn->pending_sec_level = BT_SECURITY_MEDIUM; in conn_set_key()
[all …]
Dl2cap_core.c1497 smp_conn_security(hcon, hcon->pending_sec_level); in l2cap_le_conn_ready()
Dmgmt.c2692 if (conn->pending_sec_level == BT_SECURITY_HIGH && cp->pin_len != 16) { in pin_code_reply()
/Linux-v4.19/include/net/bluetooth/
Dhci_core.h461 __u8 pending_sec_level; member
1293 if (conn->pending_sec_level > conn->sec_level) in hci_encrypt_cfm()
1294 conn->sec_level = conn->pending_sec_level; in hci_encrypt_cfm()