Home
last modified time | relevance | path

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

/openbmc/linux/net/bluetooth/
H A Dsmp.c910 if (hcon->pending_sec_level < BT_SECURITY_HIGH) in tk_request()
911 hcon->pending_sec_level = BT_SECURITY_HIGH; in tk_request()
1144 if (hcon->pending_sec_level == BT_SECURITY_FIPS) in sc_add_ltk()
1827 if (sec_level > conn->hcon->pending_sec_level) in smp_cmd_pairing_req()
1828 conn->hcon->pending_sec_level = sec_level; in smp_cmd_pairing_req()
2346 if (sec_level > hcon->pending_sec_level) in smp_cmd_security_req()
2347 hcon->pending_sec_level = sec_level; in smp_cmd_security_req()
2399 if (sec_level > hcon->pending_sec_level) in smp_conn_security()
2400 hcon->pending_sec_level = sec_level; in smp_conn_security()
2821 hcon->pending_sec_level = BT_SECURITY_MEDIUM; in smp_cmd_public_key()
[all …]
H A Dhci_conn.c1342 conn->pending_sec_level = sec_level; in hci_connect_le()
1538 if (conn->pending_sec_level < sec_level) in hci_connect_le_scan()
1539 conn->pending_sec_level = sec_level; in hci_connect_le_scan()
1558 conn->pending_sec_level = sec_level; in hci_connect_le_scan()
1605 acl->pending_sec_level = sec_level; in hci_connect_acl()
2310 if (conn->pending_sec_level > sec_level) in hci_conn_auth()
2311 sec_level = conn->pending_sec_level; in hci_conn_auth()
2314 conn->pending_sec_level = sec_level; in hci_conn_auth()
H A Dhci_event.c2395 if (conn->pending_sec_level == BT_SECURITY_SDP) in hci_outgoing_auth_needed()
2403 conn->pending_sec_level != BT_SECURITY_FIPS && in hci_outgoing_auth_needed()
3457 conn->sec_level = conn->pending_sec_level; in hci_auth_complete_evt()
3564 conn->sec_level = conn->pending_sec_level; in hci_encrypt_change_evt()
4520 if (conn->pending_sec_level == BT_SECURITY_HIGH) in hci_pin_code_request_evt()
4547 conn->pending_sec_level = BT_SECURITY_HIGH; in conn_set_key()
4549 conn->pending_sec_level = BT_SECURITY_MEDIUM; in conn_set_key()
4553 conn->pending_sec_level = BT_SECURITY_MEDIUM; in conn_set_key()
4556 conn->pending_sec_level = BT_SECURITY_HIGH; in conn_set_key()
4559 conn->pending_sec_level = BT_SECURITY_FIPS; in conn_set_key()
[all …]
H A Dl2cap_core.c1585 smp_conn_security(hcon, hcon->pending_sec_level); in l2cap_le_conn_ready()
H A Dmgmt.c3262 if (conn->pending_sec_level == BT_SECURITY_HIGH && cp->pin_len != 16) { in pin_code_reply()
/openbmc/linux/include/net/bluetooth/
H A Dhci_core.h688 __u8 pending_sec_level; member
2010 if (conn->pending_sec_level > conn->sec_level) in hci_encrypt_cfm()
2011 conn->sec_level = conn->pending_sec_level; in hci_encrypt_cfm()