Home
last modified time | relevance | path

Searched refs:BT_SECURITY_MEDIUM (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/net/bluetooth/
Dsmp.h174 return BT_SECURITY_MEDIUM; in smp_ltk_sec_level()
Dsmp.c629 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()
Dl2cap_sock.c517 case BT_SECURITY_MEDIUM: in l2cap_sock_getsockopt_old()
834 chan->sec_level = BT_SECURITY_MEDIUM; in l2cap_sock_setsockopt_old()
Dl2cap_core.c877 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()
Dhci_conn.c2333 (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()
Dhci_event.c2439 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()
Dmgmt.c3474 sec_level = BT_SECURITY_MEDIUM; in pair_device()
/linux-6.1.9/net/bluetooth/rfcomm/
Dsock.c652 rfcomm_pi(sk)->sec_level = BT_SECURITY_MEDIUM; in rfcomm_sock_setsockopt_old()
759 case BT_SECURITY_MEDIUM: in rfcomm_sock_getsockopt_old()
Dcore.c220 case BT_SECURITY_MEDIUM: in rfcomm_check_security()
2154 if (d->sec_level == BT_SECURITY_MEDIUM) { in rfcomm_security_cfm()
/linux-6.1.9/include/net/bluetooth/
Dbluetooth.h73 #define BT_SECURITY_MEDIUM 2 macro