Home
last modified time | relevance | path

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

/linux/net/bluetooth/
H A Dsmp.c729 if (conn->hcon->pending_sec_level == BT_SECURITY_FIPS && in check_enc_key_size()
909 if (hcon->pending_sec_level < BT_SECURITY_HIGH) in tk_request()
910 hcon->pending_sec_level = BT_SECURITY_HIGH; in tk_request()
1021 if (hcon->pending_sec_level == BT_SECURITY_HIGH) in smp_random()
1143 if (hcon->pending_sec_level == BT_SECURITY_FIPS) in sc_add_ltk()
1826 if (sec_level > conn->hcon->pending_sec_level) in smp_cmd_pairing_req()
1827 conn->hcon->pending_sec_level = sec_level; in smp_cmd_pairing_req()
1830 if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) { in smp_cmd_pairing_req()
1986 else if (conn->hcon->pending_sec_level > BT_SECURITY_HIGH) in smp_cmd_pairing_rsp()
1987 conn->hcon->pending_sec_level = BT_SECURITY_HIGH; in smp_cmd_pairing_rsp()
[all …]
H A Dhci_conn.c1406 conn->pending_sec_level = sec_level; in hci_connect_le()
1617 if (conn->pending_sec_level < sec_level) in hci_connect_le_scan()
1618 conn->pending_sec_level = sec_level; in hci_connect_le_scan()
1637 conn->pending_sec_level = sec_level; in hci_connect_le_scan()
1684 acl->pending_sec_level = sec_level; in hci_connect_acl()
2391 if (conn->pending_sec_level > sec_level) in hci_conn_auth()
2392 sec_level = conn->pending_sec_level; in hci_conn_auth()
2395 conn->pending_sec_level = sec_level; in hci_conn_auth()
H A Dhci_event.c2372 if (conn->pending_sec_level == BT_SECURITY_SDP) in hci_outgoing_auth_needed()
2380 conn->pending_sec_level != BT_SECURITY_FIPS && in hci_outgoing_auth_needed()
2381 conn->pending_sec_level != BT_SECURITY_HIGH && in hci_outgoing_auth_needed()
2382 conn->pending_sec_level != BT_SECURITY_MEDIUM) in hci_outgoing_auth_needed()
3463 conn->sec_level = conn->pending_sec_level; in hci_auth_complete_evt()
3570 conn->sec_level = conn->pending_sec_level; in hci_encrypt_change_evt()
4533 if (conn->pending_sec_level == BT_SECURITY_HIGH) in hci_pin_code_request_evt()
4560 conn->pending_sec_level = BT_SECURITY_HIGH; in conn_set_key()
4562 conn->pending_sec_level = BT_SECURITY_MEDIUM; in conn_set_key()
4566 conn->pending_sec_level = BT_SECURITY_MEDIUM; in conn_set_key()
[all …]
H A Dl2cap_core.c1589 smp_conn_security(hcon, hcon->pending_sec_level); in l2cap_le_conn_ready()
H A Dmgmt.c3358 if (conn->pending_sec_level == BT_SECURITY_HIGH && cp->pin_len != 16) { in pin_code_reply()
/linux/include/net/bluetooth/
H A Dhci_core.h707 __u8 pending_sec_level; member
2151 if (conn->pending_sec_level > conn->sec_level) in hci_encrypt_cfm()
2152 conn->sec_level = conn->pending_sec_level; in hci_encrypt_cfm()