Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/bluetooth/
Dsmp.c729 if (conn->hcon->pending_sec_level == BT_SECURITY_FIPS && in check_enc_key_size()
908 if (hcon->pending_sec_level < BT_SECURITY_HIGH) in tk_request()
909 hcon->pending_sec_level = BT_SECURITY_HIGH; in tk_request()
1018 if (hcon->pending_sec_level == BT_SECURITY_HIGH) in smp_random()
1135 if (hcon->pending_sec_level == BT_SECURITY_FIPS) in sc_add_ltk()
1817 if (sec_level > conn->hcon->pending_sec_level) in smp_cmd_pairing_req()
1818 conn->hcon->pending_sec_level = sec_level; in smp_cmd_pairing_req()
1821 if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) { in smp_cmd_pairing_req()
1977 else if (conn->hcon->pending_sec_level > BT_SECURITY_HIGH) in smp_cmd_pairing_rsp()
1978 conn->hcon->pending_sec_level = BT_SECURITY_HIGH; in smp_cmd_pairing_rsp()
[all …]
Dhci_conn.c1059 conn->pending_sec_level = sec_level; in hci_connect_le()
1208 if (conn->pending_sec_level < sec_level) in hci_connect_le_scan()
1209 conn->pending_sec_level = sec_level; in hci_connect_le_scan()
1228 conn->pending_sec_level = sec_level; in hci_connect_le_scan()
1264 acl->pending_sec_level = sec_level; in hci_connect_acl()
1361 if (conn->pending_sec_level > sec_level) in hci_conn_auth()
1362 sec_level = conn->pending_sec_level; in hci_conn_auth()
1365 conn->pending_sec_level = sec_level; in hci_conn_auth()
Dhci_event.c1971 if (conn->pending_sec_level == BT_SECURITY_SDP) in hci_outgoing_auth_needed()
1979 conn->pending_sec_level != BT_SECURITY_FIPS && in hci_outgoing_auth_needed()
1980 conn->pending_sec_level != BT_SECURITY_HIGH && in hci_outgoing_auth_needed()
1981 conn->pending_sec_level != BT_SECURITY_MEDIUM) in hci_outgoing_auth_needed()
2920 conn->sec_level = conn->pending_sec_level; in hci_auth_complete_evt()
3070 conn->sec_level = conn->pending_sec_level; in hci_encrypt_change_evt()
3948 if (conn->pending_sec_level == BT_SECURITY_HIGH) in hci_pin_code_request_evt()
3975 conn->pending_sec_level = BT_SECURITY_HIGH; in conn_set_key()
3977 conn->pending_sec_level = BT_SECURITY_MEDIUM; in conn_set_key()
3981 conn->pending_sec_level = BT_SECURITY_MEDIUM; in conn_set_key()
[all …]
Dl2cap_core.c1718 smp_conn_security(hcon, hcon->pending_sec_level); in l2cap_le_conn_ready()
Dmgmt.c2749 if (conn->pending_sec_level == BT_SECURITY_HIGH && cp->pin_len != 16) { in pin_code_reply()
/kernel/linux/linux-5.10/include/net/bluetooth/
Dhci_core.h617 __u8 pending_sec_level; member
1510 if (conn->pending_sec_level > conn->sec_level) in hci_encrypt_cfm()
1511 conn->sec_level = conn->pending_sec_level; in hci_encrypt_cfm()