Searched refs:BT_SECURITY_MEDIUM (Results 1 – 10 of 10) sorted by relevance
174 return BT_SECURITY_MEDIUM; in smp_ltk_sec_level()
631 return BT_SECURITY_MEDIUM; in authreq_to_seclevel()641 case BT_SECURITY_MEDIUM: in seclevel_to_authreq()1350 if (hcon->sec_level > BT_SECURITY_MEDIUM) in smp_distribute_keys()1823 sec_level = BT_SECURITY_MEDIUM; in smp_cmd_pairing_req()2333 sec_level = BT_SECURITY_MEDIUM; in smp_cmd_security_req()2442 hcon->pending_sec_level > BT_SECURITY_MEDIUM) in smp_conn_security()2687 if (conn->hcon->sec_level > BT_SECURITY_MEDIUM) in smp_cmd_sign_info()2821 hcon->pending_sec_level = BT_SECURITY_MEDIUM; in smp_cmd_public_key()
500 case BT_SECURITY_MEDIUM: in l2cap_sock_getsockopt_old()814 chan->sec_level = BT_SECURITY_MEDIUM; in l2cap_sock_setsockopt_old()
867 case BT_SECURITY_MEDIUM: in l2cap_get_auth_type()902 case BT_SECURITY_MEDIUM: in l2cap_get_auth_type()4697 if (hcon->sec_level > BT_SECURITY_MEDIUM) { in l2cap_le_connect_rsp()5188 if (hcon->sec_level > BT_SECURITY_MEDIUM) { in l2cap_ecred_conn_rsp()7279 if (chan->sec_level == BT_SECURITY_MEDIUM) { in l2cap_check_encryption()7285 if (chan->sec_level == BT_SECURITY_MEDIUM) in l2cap_check_encryption()
2417 if (sec_level <= BT_SECURITY_MEDIUM) in hci_conn_security()2426 if (sec_level <= BT_SECURITY_MEDIUM || conn->pin_length == 16) in hci_conn_security()
2405 conn->pending_sec_level != BT_SECURITY_MEDIUM) in hci_outgoing_auth_needed()4563 conn->pending_sec_level = BT_SECURITY_MEDIUM; in conn_set_key()4567 conn->pending_sec_level = BT_SECURITY_MEDIUM; in conn_set_key()5333 if (conn->pending_sec_level > BT_SECURITY_MEDIUM && in hci_user_confirm_request_evt()
3466 sec_level = BT_SECURITY_MEDIUM; in pair_device()
645 rfcomm_pi(sk)->sec_level = BT_SECURITY_MEDIUM; in rfcomm_sock_setsockopt_old()749 case BT_SECURITY_MEDIUM: in rfcomm_sock_getsockopt_old()
224 case BT_SECURITY_MEDIUM: in rfcomm_check_security()2158 if (d->sec_level == BT_SECURITY_MEDIUM) { in rfcomm_security_cfm()
74 #define BT_SECURITY_MEDIUM 2 macro