Lines Matching refs:sec_level
1182 if (server->sec_level > BT_SECURITY_L4) { in bt_l2cap_server_register()
1184 } else if (server->sec_level < BT_SECURITY_L1) { in bt_l2cap_server_register()
1186 server->sec_level = BT_SECURITY_L1; in bt_l2cap_server_register()
1386 le_chan->required_sec_level = server->sec_level; in l2cap_chan_accept()
1418 if (conn->sec_level >= server->sec_level) { in l2cap_check_security()
1422 if (conn->sec_level > BT_SECURITY_L1) { in l2cap_check_security()
1861 if (conn->sec_level >= BT_SECURITY_L2) { in l2cap_change_security()
1868 if (conn->sec_level < BT_SECURITY_L2) { in l2cap_change_security()
1870 } else if (conn->sec_level < BT_SECURITY_L3) { in l2cap_change_security()
1872 } else if (conn->sec_level < BT_SECURITY_L4) { in l2cap_change_security()
2854 if (conn->sec_level < ch->required_sec_level) { in l2cap_le_connect()