Home
last modified time | relevance | path

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

/linux-4.4.14/net/bluetooth/
Dhci_conn.c818 if (conn->pending_sec_level < sec_level) in hci_connect_le()
819 conn->pending_sec_level = sec_level; in hci_connect_le()
860 conn->pending_sec_level = sec_level; in hci_connect_le()
1038 if (conn->pending_sec_level < sec_level) in hci_connect_le_scan()
1039 conn->pending_sec_level = sec_level; in hci_connect_le_scan()
1065 conn->pending_sec_level = sec_level; in hci_connect_le_scan()
1096 acl->pending_sec_level = sec_level; in hci_connect_acl()
1175 if (conn->pending_sec_level > sec_level) in hci_conn_auth()
1176 sec_level = conn->pending_sec_level; in hci_conn_auth()
1179 conn->pending_sec_level = sec_level; in hci_conn_auth()
Dsmp.c910 if (hcon->pending_sec_level < BT_SECURITY_HIGH) in tk_request()
911 hcon->pending_sec_level = BT_SECURITY_HIGH; in tk_request()
1022 if (hcon->pending_sec_level == BT_SECURITY_HIGH) in smp_random()
1139 if (hcon->pending_sec_level == BT_SECURITY_FIPS) in sc_add_ltk()
1790 if (sec_level > conn->hcon->pending_sec_level) in smp_cmd_pairing_req()
1791 conn->hcon->pending_sec_level = sec_level; in smp_cmd_pairing_req()
1794 if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) { in smp_cmd_pairing_req()
1948 else if (conn->hcon->pending_sec_level > BT_SECURITY_HIGH) in smp_cmd_pairing_rsp()
1949 conn->hcon->pending_sec_level = BT_SECURITY_HIGH; in smp_cmd_pairing_rsp()
1952 if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) { in smp_cmd_pairing_rsp()
[all …]
Dhci_event.c1590 if (conn->pending_sec_level == BT_SECURITY_SDP) in hci_outgoing_auth_needed()
1598 conn->pending_sec_level != BT_SECURITY_FIPS && in hci_outgoing_auth_needed()
1599 conn->pending_sec_level != BT_SECURITY_HIGH && in hci_outgoing_auth_needed()
1600 conn->pending_sec_level != BT_SECURITY_MEDIUM) in hci_outgoing_auth_needed()
2429 conn->sec_level = conn->pending_sec_level; in hci_auth_complete_evt()
2592 conn->sec_level = conn->pending_sec_level; in hci_encrypt_change_evt()
3371 if (conn->pending_sec_level == BT_SECURITY_HIGH) in hci_pin_code_request_evt()
3398 conn->pending_sec_level = BT_SECURITY_HIGH; in conn_set_key()
3400 conn->pending_sec_level = BT_SECURITY_MEDIUM; in conn_set_key()
3404 conn->pending_sec_level = BT_SECURITY_MEDIUM; in conn_set_key()
[all …]
Dl2cap_core.c1486 smp_conn_security(hcon, hcon->pending_sec_level); in l2cap_le_conn_ready()
Dmgmt.c3342 if (conn->pending_sec_level == BT_SECURITY_HIGH && cp->pin_len != 16) { in pin_code_reply()
/linux-4.4.14/include/net/bluetooth/
Dhci_core.h435 __u8 pending_sec_level; member
1243 if (conn->pending_sec_level > conn->sec_level) in hci_encrypt_cfm()
1244 conn->sec_level = conn->pending_sec_level; in hci_encrypt_cfm()