Home
last modified time | relevance | path

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

12

/freebsd/sys/net80211/
H A Dieee80211_ioctl.c842 if (vap->iv_flags & IEEE80211_F_WPA) in ieee80211_ioctl_get80211()
2856 vap->iv_flags &= ~IEEE80211_F_WPA; in ieee80211_ioctl_set80211()
2861 vap->iv_flags &= ~IEEE80211_F_WPA; in ieee80211_ioctl_set80211()
2996 vap->iv_flags = flags; in ieee80211_ioctl_set80211()
3127 vap->iv_flags |= IEEE80211_F_PUREG; in ieee80211_ioctl_set80211()
3129 vap->iv_flags &= ~IEEE80211_F_PUREG; in ieee80211_ioctl_set80211()
3156 vap->iv_flags |= IEEE80211_F_BGSCAN; in ieee80211_ioctl_set80211()
3293 vap->iv_flags |= IEEE80211_F_DOTH; in ieee80211_ioctl_set80211()
3295 vap->iv_flags &= ~IEEE80211_F_DOTH; in ieee80211_ioctl_set80211()
3327 vap->iv_flags |= IEEE80211_F_DWDS; in ieee80211_ioctl_set80211()
[all …]
H A Dieee80211_sta.c403 if (vap->iv_flags & IEEE80211_F_WPA) { in sta_newstate()
701 if ((vap->iv_flags & IEEE80211_F_DWDS) && in sta_input()
1474 vap->iv_flags |= IEEE80211_F_USEPROT; in sta_recv_mgmt()
1476 vap->iv_flags &= ~IEEE80211_F_USEPROT; in sta_recv_mgmt()
1623 (vap->iv_flags & IEEE80211_F_DOTH)) in sta_recv_mgmt()
1910 vap->iv_flags |= IEEE80211_F_SHPREAMBLE; in sta_recv_mgmt()
1911 vap->iv_flags &= ~IEEE80211_F_USEBARKER; in sta_recv_mgmt()
1913 vap->iv_flags &= ~IEEE80211_F_SHPREAMBLE; in sta_recv_mgmt()
1914 vap->iv_flags |= IEEE80211_F_USEBARKER; in sta_recv_mgmt()
1927 vap->iv_flags |= IEEE80211_F_USEPROT; in sta_recv_mgmt()
[all …]
H A Dieee80211_superg.c156 vap->iv_flags |= IEEE80211_F_FF; in ieee80211_superg_vattach()
160 vap->iv_flags |= IEEE80211_F_TURBOP; in ieee80211_superg_vattach()
204 vap->iv_flags & IEEE80211_F_ATHEROS, in ieee80211_add_athcaps()
205 ((vap->iv_flags & IEEE80211_F_WPA) == 0 && in ieee80211_add_athcaps()
740 if (vap->iv_flags & IEEE80211_F_PRIVACY) in ff_approx_txtime()
1017 return (vap->iv_flags & cap) != 0; in getathcap()
1045 vap->iv_flags |= IEEE80211_F_FF; in superg_ioctl_set80211()
1047 vap->iv_flags &= ~IEEE80211_F_FF; in superg_ioctl_set80211()
1053 vap->iv_flags |= IEEE80211_F_TURBOP; in superg_ioctl_set80211()
1055 vap->iv_flags &= ~IEEE80211_F_TURBOP; in superg_ioctl_set80211()
H A Dieee80211_hostap.c265 if (vap->iv_flags & IEEE80211_F_WPA) { in hostap_newstate()
381 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_node.c374 if (vap->iv_flags & IEEE80211_F_PRIVACY) in ieee80211_create_ibss()
382 if (vap->iv_flags & IEEE80211_F_DESBSSID) in ieee80211_create_ibss()
391 if (vap->iv_flags & IEEE80211_F_DESBSSID) in ieee80211_create_ibss()
425 if (vap->iv_flags & IEEE80211_F_PUREG) { in ieee80211_create_ibss()
519 if (vap->iv_flags & IEEE80211_F_PRIVACY) { in check_bss()
1595 if (vap->iv_flags & IEEE80211_F_WME) in ieee80211_node_create_wds()
1598 if (vap->iv_flags & IEEE80211_F_FF) in ieee80211_node_create_wds()
1742 if (vap->iv_flags & IEEE80211_F_WME) in ieee80211_fakeup_adhoc_node()
1745 if (vap->iv_flags & IEEE80211_F_FF) in ieee80211_fakeup_adhoc_node()
2772 vap->iv_flags |= IEEE80211_F_USEPROT; in ieee80211_node_join_11g()
[all …]
H A Dieee80211_output.c2667 if (vap->iv_flags & IEEE80211_F_PRIVACY) in ieee80211_getcapinfo()
2672 if (vap->iv_flags & IEEE80211_F_SHSLOT) in ieee80211_getcapinfo()
2840 if (vap->iv_flags & IEEE80211_F_PRIVACY) in ieee80211_send_mgmt()
2853 (vap->iv_flags & IEEE80211_F_DOTH)) in ieee80211_send_mgmt()
3169 if (vap->iv_flags & IEEE80211_F_DOTH) { in ieee80211_alloc_proberesp()
3175 if (vap->iv_flags & IEEE80211_F_DOTH) { in ieee80211_alloc_proberesp()
3203 if (vap->iv_flags & IEEE80211_F_WME) in ieee80211_alloc_proberesp()
3564 if (vap->iv_flags & IEEE80211_F_DOTH) { in ieee80211_beacon_construct()
3574 if (vap->iv_flags & IEEE80211_F_DOTH) { in ieee80211_beacon_construct()
3613 if (vap->iv_flags & IEEE80211_F_WME) { in ieee80211_beacon_construct()
[all …]
H A Dieee80211_proto.c773 vap->iv_flags &= ~IEEE80211_F_USEPROT; in ieee80211_vap_reset_erp()
779 vap->iv_flags |= IEEE80211_F_SHPREAMBLE; in ieee80211_vap_reset_erp()
780 vap->iv_flags &= ~IEEE80211_F_USEBARKER; in ieee80211_vap_reset_erp()
782 vap->iv_flags &= ~IEEE80211_F_SHPREAMBLE; in ieee80211_vap_reset_erp()
783 vap->iv_flags |= IEEE80211_F_USEBARKER; in ieee80211_vap_reset_erp()
886 if (iv->iv_flags & IEEE80211_F_SHSLOT) in vap_update_slot()
948 if (iv->iv_flags & IEEE80211_F_USEPROT) in vap_update_erp_protmode()
1013 if (iv->iv_flags & IEEE80211_F_USEBARKER) in vap_update_preamble()
1211 vap->iv_flags |= IEEE80211_F_SHSLOT; in ieee80211_vap_set_shortslottime()
1213 vap->iv_flags &= ~IEEE80211_F_SHSLOT; in ieee80211_vap_set_shortslottime()
[all …]
H A Dieee80211.c580 vap->iv_flags = ic->ic_flags; /* propagate common flags */ in ieee80211_vap_setup()
607 vap->iv_flags |= IEEE80211_F_DESBSSID; in ieee80211_vap_setup()
640 vap->iv_flags |= IEEE80211_F_WME; in ieee80211_vap_setup()
642 vap->iv_flags |= IEEE80211_F_BURST; in ieee80211_vap_setup()
646 vap->iv_flags |= IEEE80211_F_BGSCAN; in ieee80211_vap_setup()
647 vap->iv_flags |= IEEE80211_F_DOTH; /* XXX no cap, just ena */ in ieee80211_vap_setup()
710 ic->ic_name, vap->iv_flags, vap->iv_flags_ext); in ieee80211_vap_attach()
898 if (vap->iv_flags & flag) { in ieee80211_syncflag_locked()
916 vap->iv_flags &= ~flag; in ieee80211_syncflag()
918 vap->iv_flags |= flag; in ieee80211_syncflag()
[all …]
H A Dieee80211_adhoc.c213 if (vap->iv_flags & IEEE80211_F_WPA) { in adhoc_newstate()
495 if ((vap->iv_flags & IEEE80211_F_PRIVACY) == 0) { in adhoc_input()
599 if ((vap->iv_flags & IEEE80211_F_DROPUNENC) && in adhoc_input()
928 if ((vap->iv_flags & IEEE80211_F_HIDESSID) && ssid[1] == 0) { in adhoc_recv_mgmt()
H A Dieee80211_wds.c134 KASSERT(vap->iv_flags & IEEE80211_F_DESBSSID, ("no bssid")); in ieee80211_create_wds()
556 if ((vap->iv_flags & IEEE80211_F_PRIVACY) == 0) { in wds_input()
660 if ((vap->iv_flags & IEEE80211_F_DROPUNENC) && in wds_input()
H A Dieee80211_phy.h72 ((vap->iv_flags & IEEE80211_F_SHSLOT) ? \
H A Dieee80211_scan_sta.c668 if ((vap->iv_flags & IEEE80211_F_XR) && in makescanlist()
1106 if (vap->iv_flags & IEEE80211_F_PRIVACY) { in match_bss()
1149 if ((vap->iv_flags & IEEE80211_F_DESBSSID) && in match_bss()
1438 (vap->iv_flags & IEEE80211_F_BGSCAN) && in sta_age()
H A Dieee80211_var.h406 uint32_t iv_flags; /* state flags */ member
671 ((vap)->iv_flags & (ni)->ni_ath_flags & (bit))
H A Dieee80211_crypto_tkip.c191 if (vap->iv_flags & IEEE80211_F_COUNTERM) { in tkip_encap()
321 if (vap->iv_flags & IEEE80211_F_COUNTERM) { in tkip_decap()
H A Dieee80211_power.c621 if (! (vap->iv_flags & IEEE80211_F_PMGTON)) in ieee80211_sta_ps_timer_check()
H A Dieee80211_tdma.c661 if ((vap->iv_flags & IEEE80211_F_WME) && in ieee80211_parse_tdma()
/freebsd/sys/dev/rtwn/rtl8192e/
H A Dr92e_fw.c104 (vap->iv_flags & IEEE80211_F_PMGTON)) { in r92e_set_pwrmode()
/freebsd/sys/dev/iwm/
H A Dif_iwm_power.c310 (vap->iv_flags & IEEE80211_F_PMGTON) != 0) { in iwm_power_build_cmd()
423 (vap->iv_flags & IEEE80211_F_PMGTON) != 0) { in iwm_power_set_ba()
/freebsd/sys/dev/rtwn/rtl8812a/
H A Dr12a_fw.c124 (vap->iv_flags & IEEE80211_F_PMGTON)) { in r12a_set_pwrmode()
H A Dr12a_tx.c165 if (vap->iv_flags & IEEE80211_F_PUREG) in r12a_tx_raid()
/freebsd/sys/dev/rtwn/rtl8188e/
H A Dr88e_fw.c196 (vap->iv_flags & IEEE80211_F_PMGTON)) { in r88e_set_pwrmode()
/freebsd/sys/dev/rtwn/rtl8192c/
H A Dr92c_fw.c315 (vap->iv_flags & IEEE80211_F_PMGTON)) in r92c_set_pwrmode()
H A Dr92c_tx.c150 if (vap->iv_flags & IEEE80211_F_PUREG) in r92c_tx_raid()
/freebsd/sys/dev/iwi/
H A Dif_iwi.c1791 if (vap->iv_flags & IEEE80211_F_SHPREAMBLE) in iwi_tx_start()
1903 if (vap->iv_flags & IEEE80211_F_PRIVACY) in iwi_tx_start()
2511 if (vap->iv_flags & IEEE80211_F_PMGTON) { in iwi_setpowermode()
2903 if ((vap->iv_flags & IEEE80211_F_WME) && ni->ni_ies.wme_ie != NULL) { in iwi_auth_and_assoc()
2929 if ((vap->iv_flags & IEEE80211_F_PRIVACY) && in iwi_auth_and_assoc()
2945 if (vap->iv_flags & IEEE80211_F_WPA) in iwi_auth_and_assoc()
2957 if (vap->iv_flags & IEEE80211_F_PRIVACY) in iwi_auth_and_assoc()
/freebsd/sys/dev/mwl/
H A Dif_mwl.c3757 else if (vap->iv_flags & IEEE80211_F_PUREG) in mwl_getapmode()
3762 if (vap->iv_flags & IEEE80211_F_PUREG) in mwl_getapmode()
3896 if ((vap->iv_flags & (IEEE80211_F_PRIVACY|IEEE80211_F_WPA)) == in mwl_setanywepkey()
4059 0, 0, NULL, vap->iv_flags & IEEE80211_F_WME, 0); in mwl_localstadb()
4146 if_name(vap->iv_ifp), __func__, vap->iv_flags, in mwl_newstate()
4186 if ((vap->iv_flags & IEEE80211_F_DWDS) && in mwl_newstate()
4217 } else if ((vap->iv_flags & IEEE80211_F_DWDS) && in mwl_newstate()

12