Lines Matching refs:pending_sec_level
917 if (hcon->pending_sec_level < BT_SECURITY_HIGH) in tk_request()
918 hcon->pending_sec_level = BT_SECURITY_HIGH; in tk_request()
1030 if (hcon->pending_sec_level == BT_SECURITY_HIGH) in smp_random()
1147 if (hcon->pending_sec_level == BT_SECURITY_FIPS) in sc_add_ltk()
1837 if (sec_level > conn->hcon->pending_sec_level) in smp_cmd_pairing_req()
1838 conn->hcon->pending_sec_level = sec_level; in smp_cmd_pairing_req()
1841 if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) { in smp_cmd_pairing_req()
1997 else if (conn->hcon->pending_sec_level > BT_SECURITY_HIGH) in smp_cmd_pairing_rsp()
1998 conn->hcon->pending_sec_level = BT_SECURITY_HIGH; in smp_cmd_pairing_rsp()
2001 if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) { in smp_cmd_pairing_rsp()
2311 if (sec_level > hcon->pending_sec_level) in smp_cmd_security_req()
2312 hcon->pending_sec_level = sec_level; in smp_cmd_security_req()
2314 if (smp_ltk_encrypt(conn, hcon->pending_sec_level)) in smp_cmd_security_req()
2359 if (sec_level > hcon->pending_sec_level) in smp_conn_security()
2360 hcon->pending_sec_level = sec_level; in smp_conn_security()
2363 if (smp_ltk_encrypt(conn, hcon->pending_sec_level)) in smp_conn_security()
2398 hcon->pending_sec_level > BT_SECURITY_MEDIUM) in smp_conn_security()
2750 hcon->pending_sec_level = BT_SECURITY_MEDIUM; in smp_cmd_public_key()
2752 hcon->pending_sec_level = BT_SECURITY_FIPS; in smp_cmd_public_key()