Searched refs:BT_SECURITY_MEDIUM (Results 1 – 10 of 10) sorted by relevance
174 return BT_SECURITY_MEDIUM; in smp_ltk_sec_level()
629 return BT_SECURITY_MEDIUM; in authreq_to_seclevel()639 case BT_SECURITY_MEDIUM: in seclevel_to_authreq()1341 if (hcon->sec_level > BT_SECURITY_MEDIUM) in smp_distribute_keys()1816 sec_level = BT_SECURITY_MEDIUM; in smp_cmd_pairing_req()2308 sec_level = BT_SECURITY_MEDIUM; in smp_cmd_security_req()2413 hcon->pending_sec_level > BT_SECURITY_MEDIUM) in smp_conn_security()2670 if (conn->hcon->sec_level > BT_SECURITY_MEDIUM) in smp_cmd_sign_info()2806 hcon->pending_sec_level = BT_SECURITY_MEDIUM; in smp_cmd_public_key()
517 case BT_SECURITY_MEDIUM: in l2cap_sock_getsockopt_old()834 chan->sec_level = BT_SECURITY_MEDIUM; in l2cap_sock_setsockopt_old()
877 case BT_SECURITY_MEDIUM: in l2cap_get_auth_type()912 case BT_SECURITY_MEDIUM: in l2cap_get_auth_type()5683 if (hcon->sec_level > BT_SECURITY_MEDIUM) { in l2cap_le_connect_rsp()6203 if (hcon->sec_level > BT_SECURITY_MEDIUM) { in l2cap_ecred_conn_rsp()8292 if (chan->sec_level == BT_SECURITY_MEDIUM) { in l2cap_check_encryption()8298 if (chan->sec_level == BT_SECURITY_MEDIUM) in l2cap_check_encryption()
2333 (sec_level == BT_SECURITY_MEDIUM || sec_level == BT_SECURITY_LOW)) in hci_conn_security()2341 (sec_level == BT_SECURITY_MEDIUM || sec_level == BT_SECURITY_LOW || in hci_conn_security()
2439 conn->pending_sec_level != BT_SECURITY_MEDIUM) in hci_outgoing_auth_needed()4600 conn->pending_sec_level = BT_SECURITY_MEDIUM; in conn_set_key()4604 conn->pending_sec_level = BT_SECURITY_MEDIUM; in conn_set_key()5360 if (conn->pending_sec_level > BT_SECURITY_MEDIUM && in hci_user_confirm_request_evt()
3474 sec_level = BT_SECURITY_MEDIUM; in pair_device()
652 rfcomm_pi(sk)->sec_level = BT_SECURITY_MEDIUM; in rfcomm_sock_setsockopt_old()759 case BT_SECURITY_MEDIUM: in rfcomm_sock_getsockopt_old()
220 case BT_SECURITY_MEDIUM: in rfcomm_check_security()2154 if (d->sec_level == BT_SECURITY_MEDIUM) { in rfcomm_security_cfm()
73 #define BT_SECURITY_MEDIUM 2 macro