Lines Matching refs:flags

239 	if ((sta->flags & WLAN_STA_WDS) ||  in ap_free_sta()
240 (sta->flags & WLAN_STA_MULTI_AP && in ap_free_sta()
243 !(sta->flags & WLAN_STA_WPS))) in ap_free_sta()
251 !(sta->flags & WLAN_STA_PREAUTH)) { in ap_free_sta()
381 !(sta->flags & WLAN_STA_PREAUTH)) { in ap_free_sta()
493 if (sta->flags & WLAN_STA_AUTH) { in hostapd_free_stas()
543 hapd->conf->iface, __func__, MAC2STR(sta->addr), sta->flags, in ap_handle_timer()
556 if ((sta->flags & WLAN_STA_ASSOC) && in ap_handle_timer()
605 if ((sta->flags & WLAN_STA_ASSOC) && in ap_handle_timer()
607 !(sta->flags & WLAN_STA_PENDING_POLL) && in ap_handle_timer()
628 (sta->flags & WLAN_STA_ASSOC)) { in ap_handle_timer()
630 sta->flags |= WLAN_STA_PENDING_POLL; in ap_handle_timer()
632 sta->flags & WLAN_STA_WMM); in ap_handle_timer()
636 if (!deauth && !(sta->flags & WLAN_STA_ASSOC)) { in ap_handle_timer()
673 sta->flags &= ~WLAN_STA_ASSOC; in ap_handle_timer()
719 if (!(sta->flags & (WLAN_STA_AUTH | WLAN_STA_ASSOC | in ap_handle_session_timer()
721 if (sta->flags & WLAN_STA_GAS) { in ap_handle_session_timer()
878 sta->flags & WLAN_STA_ASSOC) { in ap_sta_remove()
969 sta->flags &= ~(WLAN_STA_AUTH | WLAN_STA_ASSOC | in ap_sta_handle_disassociate()
973 sta->flags &= ~(WLAN_STA_ASSOC | WLAN_STA_ASSOC_REQ_OK); in ap_sta_handle_disassociate()
980 sta->flags |= WLAN_STA_PENDING_DISASSOC_CB; in ap_sta_handle_disassociate()
1014 sta->flags &= ~(WLAN_STA_AUTH | WLAN_STA_ASSOC | WLAN_STA_ASSOC_REQ_OK); in ap_sta_handle_deauthenticate()
1020 sta->flags |= WLAN_STA_PENDING_DEAUTH_CB; in ap_sta_handle_deauthenticate()
1130 if (sta && (sta->flags & WLAN_STA_WPS)) { in ap_sta_wps_cancel()
1276 if ((sta->flags & WLAN_STA_WDS) && sta->vlan_id == 0) { in ap_sta_bind_vlan()
1478 if (!!authorized == !!(sta->flags & WLAN_STA_AUTHORIZED)) in ap_sta_set_authorized_flag()
1495 sta->flags |= WLAN_STA_AUTHORIZED; in ap_sta_set_authorized_flag()
1497 sta->flags &= ~WLAN_STA_AUTHORIZED; in ap_sta_set_authorized_flag()
1649 sta->flags &= ~(WLAN_STA_AUTH | WLAN_STA_ASSOC); in ap_sta_disconnect()
1668 sta->flags |= WLAN_STA_PENDING_DISASSOC_CB; in ap_sta_disconnect()
1678 sta->flags |= WLAN_STA_PENDING_DEAUTH_CB; in ap_sta_disconnect()
1688 if (!(sta->flags & WLAN_STA_PENDING_DEAUTH_CB)) { in ap_sta_deauth_cb()
1692 sta->flags &= ~WLAN_STA_PENDING_DEAUTH_CB; in ap_sta_deauth_cb()
1700 if (!(sta->flags & WLAN_STA_PENDING_DISASSOC_CB)) { in ap_sta_disassoc_cb()
1704 sta->flags &= ~WLAN_STA_PENDING_DISASSOC_CB; in ap_sta_disassoc_cb()
1729 if (sta->flags & WLAN_STA_WPS) in ap_sta_clear_disconnect_timeouts()
1735 int ap_sta_flags_txt(u32 flags, char *buf, size_t buflen) in ap_sta_flags_txt() argument
1742 (flags & WLAN_STA_AUTH ? "[AUTH]" : ""), in ap_sta_flags_txt()
1743 (flags & WLAN_STA_ASSOC ? "[ASSOC]" : ""), in ap_sta_flags_txt()
1744 (flags & WLAN_STA_AUTHORIZED ? "[AUTHORIZED]" : ""), in ap_sta_flags_txt()
1745 (flags & WLAN_STA_PENDING_POLL ? "[PENDING_POLL" : in ap_sta_flags_txt()
1747 (flags & WLAN_STA_SHORT_PREAMBLE ? in ap_sta_flags_txt()
1749 (flags & WLAN_STA_PREAUTH ? "[PREAUTH]" : ""), in ap_sta_flags_txt()
1750 (flags & WLAN_STA_WMM ? "[WMM]" : ""), in ap_sta_flags_txt()
1751 (flags & WLAN_STA_MFP ? "[MFP]" : ""), in ap_sta_flags_txt()
1752 (flags & WLAN_STA_WPS ? "[WPS]" : ""), in ap_sta_flags_txt()
1753 (flags & WLAN_STA_MAYBE_WPS ? "[MAYBE_WPS]" : ""), in ap_sta_flags_txt()
1754 (flags & WLAN_STA_WDS ? "[WDS]" : ""), in ap_sta_flags_txt()
1755 (flags & WLAN_STA_NONERP ? "[NonERP]" : ""), in ap_sta_flags_txt()
1756 (flags & WLAN_STA_WPS2 ? "[WPS2]" : ""), in ap_sta_flags_txt()
1757 (flags & WLAN_STA_GAS ? "[GAS]" : ""), in ap_sta_flags_txt()
1758 (flags & WLAN_STA_HT ? "[HT]" : ""), in ap_sta_flags_txt()
1759 (flags & WLAN_STA_VHT ? "[VHT]" : ""), in ap_sta_flags_txt()
1760 (flags & WLAN_STA_HE ? "[HE]" : ""), in ap_sta_flags_txt()
1761 (flags & WLAN_STA_EHT ? "[EHT]" : ""), in ap_sta_flags_txt()
1762 (flags & WLAN_STA_6GHZ ? "[6GHZ]" : ""), in ap_sta_flags_txt()
1763 (flags & WLAN_STA_VENDOR_VHT ? "[VENDOR_VHT]" : ""), in ap_sta_flags_txt()
1764 (flags & WLAN_STA_WNM_SLEEP_MODE ? in ap_sta_flags_txt()
1787 if (sta->flags & WLAN_STA_WPS) in ap_sta_delayed_1x_auth_fail_cb()
1875 sta->flags &= ~(WLAN_STA_ASSOC | WLAN_STA_AUTH | WLAN_STA_AUTHORIZED); in ap_sta_re_add()
1881 sta->flags, 0, 0, 0, 0, in ap_sta_re_add()