Lines Matching refs:sec_level
68 u8 sec_level,
215 switch (d->sec_level) { in rfcomm_check_security()
228 return hci_conn_security(conn->hcon, d->sec_level, auth_type, in rfcomm_check_security()
291 d->sec_level = BT_SECURITY_LOW; in rfcomm_dlc_clear_state()
384 s = rfcomm_session_create(src, dst, d->sec_level, &err); in __rfcomm_dlc_open()
761 u8 sec_level, in rfcomm_session_create() argument
789 l2cap_pi(sk)->chan->sec_level = sec_level; in rfcomm_session_create()
2154 if (d->sec_level == BT_SECURITY_MEDIUM) { in rfcomm_security_cfm()
2158 } else if (d->sec_level == BT_SECURITY_HIGH || in rfcomm_security_cfm()
2159 d->sec_level == BT_SECURITY_FIPS) { in rfcomm_security_cfm()
2168 if (!status && hci_conn_check_secure(conn, d->sec_level)) in rfcomm_security_cfm()