Lines Matching refs:pending_sec_level
892 if (hcon->pending_sec_level < BT_SECURITY_HIGH) in tk_request()
893 hcon->pending_sec_level = BT_SECURITY_HIGH; in tk_request()
1010 if (hcon->pending_sec_level == BT_SECURITY_HIGH) in smp_random()
1142 if (hcon->pending_sec_level == BT_SECURITY_FIPS) in sc_add_ltk()
1789 if (sec_level > conn->hcon->pending_sec_level) in smp_cmd_pairing_req()
1790 conn->hcon->pending_sec_level = sec_level; in smp_cmd_pairing_req()
1793 if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) { in smp_cmd_pairing_req()
1947 else if (conn->hcon->pending_sec_level > BT_SECURITY_HIGH) in smp_cmd_pairing_rsp()
1948 conn->hcon->pending_sec_level = BT_SECURITY_HIGH; in smp_cmd_pairing_rsp()
1951 if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) { in smp_cmd_pairing_rsp()
2255 if (sec_level > hcon->pending_sec_level) in smp_cmd_security_req()
2256 hcon->pending_sec_level = sec_level; in smp_cmd_security_req()
2258 if (smp_ltk_encrypt(conn, hcon->pending_sec_level)) in smp_cmd_security_req()
2303 if (sec_level > hcon->pending_sec_level) in smp_conn_security()
2304 hcon->pending_sec_level = sec_level; in smp_conn_security()
2307 if (smp_ltk_encrypt(conn, hcon->pending_sec_level)) in smp_conn_security()
2339 hcon->pending_sec_level > BT_SECURITY_MEDIUM) in smp_conn_security()
2626 hcon->pending_sec_level = BT_SECURITY_MEDIUM; in smp_cmd_public_key()
2628 hcon->pending_sec_level = BT_SECURITY_FIPS; in smp_cmd_public_key()