Lines Matching refs:pending_sec_level
907 if (hcon->pending_sec_level < BT_SECURITY_HIGH) in tk_request()
908 hcon->pending_sec_level = BT_SECURITY_HIGH; in tk_request()
1017 if (hcon->pending_sec_level == BT_SECURITY_HIGH) in smp_random()
1134 if (hcon->pending_sec_level == BT_SECURITY_FIPS) in sc_add_ltk()
1816 if (sec_level > conn->hcon->pending_sec_level) in smp_cmd_pairing_req()
1817 conn->hcon->pending_sec_level = sec_level; in smp_cmd_pairing_req()
1820 if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) { in smp_cmd_pairing_req()
1976 else if (conn->hcon->pending_sec_level > BT_SECURITY_HIGH) in smp_cmd_pairing_rsp()
1977 conn->hcon->pending_sec_level = BT_SECURITY_HIGH; in smp_cmd_pairing_rsp()
1980 if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) { in smp_cmd_pairing_rsp()
2290 if (sec_level > hcon->pending_sec_level) in smp_cmd_security_req()
2291 hcon->pending_sec_level = sec_level; in smp_cmd_security_req()
2293 if (smp_ltk_encrypt(conn, hcon->pending_sec_level)) in smp_cmd_security_req()
2338 if (sec_level > hcon->pending_sec_level) in smp_conn_security()
2339 hcon->pending_sec_level = sec_level; in smp_conn_security()
2342 if (smp_ltk_encrypt(conn, hcon->pending_sec_level)) in smp_conn_security()
2377 hcon->pending_sec_level > BT_SECURITY_MEDIUM) in smp_conn_security()
2742 hcon->pending_sec_level = BT_SECURITY_MEDIUM; in smp_cmd_public_key()
2744 hcon->pending_sec_level = BT_SECURITY_FIPS; in smp_cmd_public_key()