Lines Matching refs:pending_sec_level
910 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()
2256 if (sec_level > hcon->pending_sec_level) in smp_cmd_security_req()
2257 hcon->pending_sec_level = sec_level; in smp_cmd_security_req()
2259 if (smp_ltk_encrypt(conn, hcon->pending_sec_level)) in smp_cmd_security_req()
2304 if (sec_level > hcon->pending_sec_level) in smp_conn_security()
2305 hcon->pending_sec_level = sec_level; in smp_conn_security()
2308 if (smp_ltk_encrypt(conn, hcon->pending_sec_level)) in smp_conn_security()
2340 hcon->pending_sec_level > BT_SECURITY_MEDIUM) in smp_conn_security()
2653 hcon->pending_sec_level = BT_SECURITY_MEDIUM; in smp_cmd_public_key()
2655 hcon->pending_sec_level = BT_SECURITY_FIPS; in smp_cmd_public_key()