Home
last modified time | relevance | path

Searched refs:iv_flags (Results 1 – 25 of 33) sorted by relevance

12

/freebsd-13.1/sys/net80211/
H A Dieee80211_ioctl.c839 if (vap->iv_flags & IEEE80211_F_WPA) in ieee80211_ioctl_get80211()
2851 vap->iv_flags &= ~IEEE80211_F_WPA; in ieee80211_ioctl_set80211()
2856 vap->iv_flags &= ~IEEE80211_F_WPA; in ieee80211_ioctl_set80211()
2991 vap->iv_flags = flags; in ieee80211_ioctl_set80211()
3122 vap->iv_flags |= IEEE80211_F_PUREG; in ieee80211_ioctl_set80211()
3124 vap->iv_flags &= ~IEEE80211_F_PUREG; in ieee80211_ioctl_set80211()
3151 vap->iv_flags |= IEEE80211_F_BGSCAN; in ieee80211_ioctl_set80211()
3288 vap->iv_flags |= IEEE80211_F_DOTH; in ieee80211_ioctl_set80211()
3290 vap->iv_flags &= ~IEEE80211_F_DOTH; in ieee80211_ioctl_set80211()
3322 vap->iv_flags |= IEEE80211_F_DWDS; in ieee80211_ioctl_set80211()
[all …]
H A Dieee80211_sta.c407 if (vap->iv_flags & IEEE80211_F_WPA) { in sta_newstate()
705 if ((vap->iv_flags & IEEE80211_F_DWDS) && in sta_input()
1478 vap->iv_flags |= IEEE80211_F_USEPROT; in sta_recv_mgmt()
1480 vap->iv_flags &= ~IEEE80211_F_USEPROT; in sta_recv_mgmt()
1627 (vap->iv_flags & IEEE80211_F_DOTH)) in sta_recv_mgmt()
1914 vap->iv_flags |= IEEE80211_F_SHPREAMBLE; in sta_recv_mgmt()
1915 vap->iv_flags &= ~IEEE80211_F_USEBARKER; in sta_recv_mgmt()
1917 vap->iv_flags &= ~IEEE80211_F_SHPREAMBLE; in sta_recv_mgmt()
1918 vap->iv_flags |= IEEE80211_F_USEBARKER; in sta_recv_mgmt()
1931 vap->iv_flags |= IEEE80211_F_USEPROT; in sta_recv_mgmt()
[all …]
H A Dieee80211_superg.c158 vap->iv_flags |= IEEE80211_F_FF; in ieee80211_superg_vattach()
162 vap->iv_flags |= IEEE80211_F_TURBOP; in ieee80211_superg_vattach()
206 vap->iv_flags & IEEE80211_F_ATHEROS, in ieee80211_add_athcaps()
207 ((vap->iv_flags & IEEE80211_F_WPA) == 0 && in ieee80211_add_athcaps()
742 if (vap->iv_flags & IEEE80211_F_PRIVACY) in ff_approx_txtime()
1019 return (vap->iv_flags & cap) != 0; in getathcap()
1047 vap->iv_flags |= IEEE80211_F_FF; in superg_ioctl_set80211()
1049 vap->iv_flags &= ~IEEE80211_F_FF; in superg_ioctl_set80211()
1055 vap->iv_flags |= IEEE80211_F_TURBOP; in superg_ioctl_set80211()
1057 vap->iv_flags &= ~IEEE80211_F_TURBOP; in superg_ioctl_set80211()
H A Dieee80211_node.c355 if (vap->iv_flags & IEEE80211_F_PRIVACY) in ieee80211_create_ibss()
363 if (vap->iv_flags & IEEE80211_F_DESBSSID) in ieee80211_create_ibss()
372 if (vap->iv_flags & IEEE80211_F_DESBSSID) in ieee80211_create_ibss()
406 if (vap->iv_flags & IEEE80211_F_PUREG) { in ieee80211_create_ibss()
497 if (vap->iv_flags & IEEE80211_F_PRIVACY) { in check_bss()
1547 if (vap->iv_flags & IEEE80211_F_WME) in ieee80211_node_create_wds()
1550 if (vap->iv_flags & IEEE80211_F_FF) in ieee80211_node_create_wds()
1714 if (vap->iv_flags & IEEE80211_F_WME) in ieee80211_fakeup_adhoc_node()
1717 if (vap->iv_flags & IEEE80211_F_FF) in ieee80211_fakeup_adhoc_node()
2745 vap->iv_flags |= IEEE80211_F_USEPROT; in ieee80211_node_join_11g()
[all …]
H A Dieee80211_hostap.c269 if (vap->iv_flags & IEEE80211_F_WPA) { in hostap_newstate()
385 if ((vap->iv_flags & IEEE80211_F_NOBRIDGE) == 0) { in hostap_deliver_data()
602 (vap->iv_flags & IEEE80211_F_DWDS)))) { in hostap_input()
789 if ((vap->iv_flags & IEEE80211_F_DROPUNENC) && in hostap_input()
1262 if ((vap->iv_flags & IEEE80211_F_WPA1) == 0) { in ieee80211_parse_wpa()
1439 if ((vap->iv_flags & IEEE80211_F_WPA2) == 0) { in ieee80211_parse_rsn()
1589 switch (vap->iv_flags & IEEE80211_F_WPA) { in wpa_assocreq()
1846 vap->iv_flags |= IEEE80211_F_USEPROT; in hostap_recv_mgmt()
1981 if (vap->iv_flags & IEEE80211_F_COUNTERM) { in hostap_recv_mgmt()
2137 if ((vap->iv_flags & IEEE80211_F_WPA) && in hostap_recv_mgmt()
[all …]
H A Dieee80211_output.c2664 if (vap->iv_flags & IEEE80211_F_PRIVACY) in ieee80211_getcapinfo()
2669 if (vap->iv_flags & IEEE80211_F_SHSLOT) in ieee80211_getcapinfo()
2837 if (vap->iv_flags & IEEE80211_F_PRIVACY) in ieee80211_send_mgmt()
2850 (vap->iv_flags & IEEE80211_F_DOTH)) in ieee80211_send_mgmt()
3166 if (vap->iv_flags & IEEE80211_F_DOTH) { in ieee80211_alloc_proberesp()
3172 if (vap->iv_flags & IEEE80211_F_DOTH) { in ieee80211_alloc_proberesp()
3200 if (vap->iv_flags & IEEE80211_F_WME) in ieee80211_alloc_proberesp()
3561 if (vap->iv_flags & IEEE80211_F_DOTH) { in ieee80211_beacon_construct()
3571 if (vap->iv_flags & IEEE80211_F_DOTH) { in ieee80211_beacon_construct()
3610 if (vap->iv_flags & IEEE80211_F_WME) { in ieee80211_beacon_construct()
[all …]
H A Dieee80211_proto.c778 vap->iv_flags &= ~IEEE80211_F_USEPROT; in ieee80211_vap_reset_erp()
784 vap->iv_flags |= IEEE80211_F_SHPREAMBLE; in ieee80211_vap_reset_erp()
785 vap->iv_flags &= ~IEEE80211_F_USEBARKER; in ieee80211_vap_reset_erp()
787 vap->iv_flags &= ~IEEE80211_F_SHPREAMBLE; in ieee80211_vap_reset_erp()
788 vap->iv_flags |= IEEE80211_F_USEBARKER; in ieee80211_vap_reset_erp()
889 if (iv->iv_flags & IEEE80211_F_SHSLOT) in vap_update_slot()
951 if (iv->iv_flags & IEEE80211_F_USEPROT) in vap_update_erp_protmode()
1016 if (iv->iv_flags & IEEE80211_F_USEBARKER) in vap_update_preamble()
1217 vap->iv_flags |= IEEE80211_F_SHSLOT; in ieee80211_vap_set_shortslottime()
1219 vap->iv_flags &= ~IEEE80211_F_SHSLOT; in ieee80211_vap_set_shortslottime()
[all …]
H A Dieee80211.c546 vap->iv_flags = ic->ic_flags; /* propagate common flags */ in ieee80211_vap_setup()
573 vap->iv_flags |= IEEE80211_F_DESBSSID; in ieee80211_vap_setup()
606 vap->iv_flags |= IEEE80211_F_WME; in ieee80211_vap_setup()
608 vap->iv_flags |= IEEE80211_F_BURST; in ieee80211_vap_setup()
612 vap->iv_flags |= IEEE80211_F_BGSCAN; in ieee80211_vap_setup()
613 vap->iv_flags |= IEEE80211_F_DOTH; /* XXX no cap, just ena */ in ieee80211_vap_setup()
676 ic->ic_name, vap->iv_flags, vap->iv_flags_ext); in ieee80211_vap_attach()
862 if (vap->iv_flags & flag) { in ieee80211_syncflag_locked()
880 vap->iv_flags &= ~flag; in ieee80211_syncflag()
882 vap->iv_flags |= flag; in ieee80211_syncflag()
[all …]
H A Dieee80211_adhoc.c217 if (vap->iv_flags & IEEE80211_F_WPA) { in adhoc_newstate()
499 if ((vap->iv_flags & IEEE80211_F_PRIVACY) == 0) { in adhoc_input()
603 if ((vap->iv_flags & IEEE80211_F_DROPUNENC) && in adhoc_input()
932 if ((vap->iv_flags & IEEE80211_F_HIDESSID) && ssid[1] == 0) { in adhoc_recv_mgmt()
H A Dieee80211_wds.c138 KASSERT(vap->iv_flags & IEEE80211_F_DESBSSID, ("no bssid")); in ieee80211_create_wds()
560 if ((vap->iv_flags & IEEE80211_F_PRIVACY) == 0) { in wds_input()
664 if ((vap->iv_flags & IEEE80211_F_DROPUNENC) && in wds_input()
H A Dieee80211_phy.h74 ((vap->iv_flags & IEEE80211_F_SHSLOT) ? \
H A Dieee80211_scan_sta.c670 if ((vap->iv_flags & IEEE80211_F_XR) && in makescanlist()
1108 if (vap->iv_flags & IEEE80211_F_PRIVACY) { in match_bss()
1151 if ((vap->iv_flags & IEEE80211_F_DESBSSID) && in match_bss()
1440 (vap->iv_flags & IEEE80211_F_BGSCAN) && in sta_age()
H A Dieee80211_var.h405 uint32_t iv_flags; /* state flags */ member
667 ((vap)->iv_flags & (ni)->ni_ath_flags & (bit))
H A Dieee80211_crypto_tkip.c193 if (vap->iv_flags & IEEE80211_F_COUNTERM) { in tkip_encap()
323 if (vap->iv_flags & IEEE80211_F_COUNTERM) { in tkip_decap()
H A Dieee80211_power.c623 if (! (vap->iv_flags & IEEE80211_F_PMGTON)) in ieee80211_sta_ps_timer_check()
/freebsd-13.1/sys/dev/rtwn/rtl8192e/
H A Dr92e_fw.c106 (vap->iv_flags & IEEE80211_F_PMGTON)) { in r92e_set_pwrmode()
/freebsd-13.1/sys/dev/iwm/
H A Dif_iwm_power.c312 (vap->iv_flags & IEEE80211_F_PMGTON) != 0) { in iwm_power_build_cmd()
425 (vap->iv_flags & IEEE80211_F_PMGTON) != 0) { in iwm_power_set_ba()
/freebsd-13.1/sys/dev/if_ndis/
H A Dif_ndis.c2400 if (vap->iv_flags & IEEE80211_F_PMGTON) in ndis_setstate_80211()
2531 if (vap->iv_flags & IEEE80211_F_PRIVACY && in ndis_auth_and_assoc()
2532 !(vap->iv_flags & IEEE80211_F_WPA)) { in ndis_auth_and_assoc()
2591 if (vap->iv_flags & IEEE80211_F_DROPUNENC) in ndis_auth_and_assoc()
2603 if ((vap->iv_flags & IEEE80211_F_WPA) && in ndis_auth_and_assoc()
2657 if (vap->iv_flags & IEEE80211_F_DESBSSID && in ndis_auth_and_assoc()
2809 vap->iv_flags &= ~IEEE80211_F_PMGTON; in ndis_getstate_80211()
2811 vap->iv_flags |= IEEE80211_F_PMGTON; in ndis_getstate_80211()
2846 vap->iv_flags &= ~IEEE80211_F_WPA; in ndis_getstate_80211()
2861 vap->iv_flags |= IEEE80211_F_WPA1; in ndis_getstate_80211()
[all …]
/freebsd-13.1/sys/dev/rtwn/rtl8812a/
H A Dr12a_fw.c126 (vap->iv_flags & IEEE80211_F_PMGTON)) { in r12a_set_pwrmode()
H A Dr12a_tx.c167 if (vap->iv_flags & IEEE80211_F_PUREG) in r12a_tx_raid()
/freebsd-13.1/sys/dev/rtwn/rtl8188e/
H A Dr88e_fw.c198 (vap->iv_flags & IEEE80211_F_PMGTON)) { in r88e_set_pwrmode()
/freebsd-13.1/sys/dev/iwi/
H A Dif_iwi.c1798 if (vap->iv_flags & IEEE80211_F_SHPREAMBLE) in iwi_tx_start()
1910 if (vap->iv_flags & IEEE80211_F_PRIVACY) in iwi_tx_start()
2518 if (vap->iv_flags & IEEE80211_F_PMGTON) { in iwi_setpowermode()
2910 if ((vap->iv_flags & IEEE80211_F_WME) && ni->ni_ies.wme_ie != NULL) { in iwi_auth_and_assoc()
2936 if ((vap->iv_flags & IEEE80211_F_PRIVACY) && in iwi_auth_and_assoc()
2952 if (vap->iv_flags & IEEE80211_F_WPA) in iwi_auth_and_assoc()
2964 if (vap->iv_flags & IEEE80211_F_PRIVACY) in iwi_auth_and_assoc()
/freebsd-13.1/sys/dev/rtwn/rtl8192c/
H A Dr92c_tx.c152 if (vap->iv_flags & IEEE80211_F_PUREG) in r92c_tx_raid()
H A Dr92c_fw.c317 (vap->iv_flags & IEEE80211_F_PMGTON)) in r92c_set_pwrmode()
/freebsd-13.1/sys/dev/mwl/
H A Dif_mwl.c3769 else if (vap->iv_flags & IEEE80211_F_PUREG) in mwl_getapmode()
3774 if (vap->iv_flags & IEEE80211_F_PUREG) in mwl_getapmode()
3908 if ((vap->iv_flags & (IEEE80211_F_PRIVACY|IEEE80211_F_WPA)) == in mwl_setanywepkey()
4071 0, 0, NULL, vap->iv_flags & IEEE80211_F_WME, 0); in mwl_localstadb()
4158 vap->iv_ifp->if_xname, __func__, vap->iv_flags, in mwl_newstate()
4198 if ((vap->iv_flags & IEEE80211_F_DWDS) && in mwl_newstate()
4229 } else if ((vap->iv_flags & IEEE80211_F_DWDS) && in mwl_newstate()

12