Home
last modified time | relevance | path

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

12

/freebsd-12.1/sys/net80211/
H A Dieee80211_ioctl.c833 if (vap->iv_flags & IEEE80211_F_WPA) in ieee80211_ioctl_get80211()
2854 vap->iv_flags &= ~IEEE80211_F_WPA; in ieee80211_ioctl_set80211()
2859 vap->iv_flags &= ~IEEE80211_F_WPA; in ieee80211_ioctl_set80211()
2992 vap->iv_flags = flags; in ieee80211_ioctl_set80211()
3123 vap->iv_flags |= IEEE80211_F_PUREG; in ieee80211_ioctl_set80211()
3125 vap->iv_flags &= ~IEEE80211_F_PUREG; in ieee80211_ioctl_set80211()
3152 vap->iv_flags |= IEEE80211_F_BGSCAN; in ieee80211_ioctl_set80211()
3289 vap->iv_flags |= IEEE80211_F_DOTH; in ieee80211_ioctl_set80211()
3291 vap->iv_flags &= ~IEEE80211_F_DOTH; in ieee80211_ioctl_set80211()
3323 vap->iv_flags |= IEEE80211_F_DWDS; in ieee80211_ioctl_set80211()
[all …]
H A Dieee80211_superg.c157 vap->iv_flags |= IEEE80211_F_FF; in ieee80211_superg_vattach()
161 vap->iv_flags |= IEEE80211_F_TURBOP; in ieee80211_superg_vattach()
205 vap->iv_flags & IEEE80211_F_ATHEROS, in ieee80211_add_athcaps()
206 ((vap->iv_flags & IEEE80211_F_WPA) == 0 && in ieee80211_add_athcaps()
744 if (vap->iv_flags & IEEE80211_F_PRIVACY) in ff_approx_txtime()
1021 return (vap->iv_flags & cap) != 0; in getathcap()
1049 vap->iv_flags |= IEEE80211_F_FF; in superg_ioctl_set80211()
1051 vap->iv_flags &= ~IEEE80211_F_FF; in superg_ioctl_set80211()
1057 vap->iv_flags |= IEEE80211_F_TURBOP; in superg_ioctl_set80211()
1059 vap->iv_flags &= ~IEEE80211_F_TURBOP; in superg_ioctl_set80211()
H A Dieee80211_hostap.c267 if (vap->iv_flags & IEEE80211_F_WPA) { in hostap_newstate()
383 if ((vap->iv_flags & IEEE80211_F_NOBRIDGE) == 0) { in hostap_deliver_data()
600 (vap->iv_flags & IEEE80211_F_DWDS)))) { in hostap_input()
782 if ((vap->iv_flags & IEEE80211_F_DROPUNENC) && in hostap_input()
1004 if ((vap->iv_flags & IEEE80211_F_PRIVACY) == 0) { in hostap_auth_shared()
1244 if ((vap->iv_flags & IEEE80211_F_WPA1) == 0) { in ieee80211_parse_wpa()
1421 if ((vap->iv_flags & IEEE80211_F_WPA2) == 0) { in ieee80211_parse_rsn()
1571 switch (vap->iv_flags & IEEE80211_F_WPA) { in wpa_assocreq()
1960 if (vap->iv_flags & IEEE80211_F_COUNTERM) { in hostap_recv_mgmt()
2116 if ((vap->iv_flags & IEEE80211_F_WPA) && in hostap_recv_mgmt()
[all …]
H A Dieee80211_output.c2501 if (vap->iv_flags & IEEE80211_F_PRIVACY) in ieee80211_getcapinfo()
2676 if (vap->iv_flags & IEEE80211_F_PRIVACY) in ieee80211_send_mgmt()
2689 (vap->iv_flags & IEEE80211_F_DOTH)) in ieee80211_send_mgmt()
2826 if ((vap->iv_flags & IEEE80211_F_WME) && in ieee80211_send_mgmt()
3004 if (vap->iv_flags & IEEE80211_F_DOTH) { in ieee80211_alloc_proberesp()
3010 if (vap->iv_flags & IEEE80211_F_DOTH) { in ieee80211_alloc_proberesp()
3038 if (vap->iv_flags & IEEE80211_F_WME) in ieee80211_alloc_proberesp()
3386 if (vap->iv_flags & IEEE80211_F_DOTH) { in ieee80211_beacon_construct()
3396 if (vap->iv_flags & IEEE80211_F_DOTH) { in ieee80211_beacon_construct()
3435 if (vap->iv_flags & IEEE80211_F_WME) { in ieee80211_beacon_construct()
[all …]
H A Dieee80211_sta.c407 if (vap->iv_flags & IEEE80211_F_WPA) { in sta_newstate()
697 if ((vap->iv_flags & IEEE80211_F_DWDS) && in sta_input()
712 if ((vap->iv_flags & IEEE80211_F_DWDS) == 0) { in sta_input()
763 if ((vap->iv_flags & IEEE80211_F_PRIVACY) == 0) { in sta_input()
867 if ((vap->iv_flags & IEEE80211_F_DROPUNENC) && in sta_input()
940 if ((vap->iv_flags & IEEE80211_F_PRIVACY) == 0) { in sta_input()
1034 if ((vap->iv_flags & IEEE80211_F_PRIVACY) == 0) { in sta_auth_shared()
1312 return ((vap->iv_flags & IEEE80211_F_BGSCAN) && in startbgscan()
1557 (vap->iv_flags & IEEE80211_F_DOTH)) in sta_recv_mgmt()
1653 if (vap->iv_flags & IEEE80211_F_COUNTERM) { in sta_recv_mgmt()
H A Dieee80211.c547 vap->iv_flags = ic->ic_flags; /* propagate common flags */ in ieee80211_vap_setup()
574 vap->iv_flags |= IEEE80211_F_DESBSSID; in ieee80211_vap_setup()
607 vap->iv_flags |= IEEE80211_F_WME; in ieee80211_vap_setup()
609 vap->iv_flags |= IEEE80211_F_BURST; in ieee80211_vap_setup()
613 vap->iv_flags |= IEEE80211_F_BGSCAN; in ieee80211_vap_setup()
614 vap->iv_flags |= IEEE80211_F_DOTH; /* XXX no cap, just ena */ in ieee80211_vap_setup()
670 ic->ic_name, vap->iv_flags, vap->iv_flags_ext); in ieee80211_vap_attach()
856 if (vap->iv_flags & flag) { in ieee80211_syncflag_locked()
874 vap->iv_flags &= ~flag; in ieee80211_syncflag()
876 vap->iv_flags |= flag; in ieee80211_syncflag()
[all …]
H A Dieee80211_node.c353 if (vap->iv_flags & IEEE80211_F_PRIVACY) in ieee80211_create_ibss()
361 if (vap->iv_flags & IEEE80211_F_DESBSSID) in ieee80211_create_ibss()
369 if (vap->iv_flags & IEEE80211_F_DESBSSID) in ieee80211_create_ibss()
403 if (vap->iv_flags & IEEE80211_F_PUREG) { in ieee80211_create_ibss()
495 if (vap->iv_flags & IEEE80211_F_PRIVACY) { in check_bss()
510 if ((vap->iv_flags & IEEE80211_F_DESBSSID) && in check_bss()
537 if (vap->iv_flags & IEEE80211_F_PRIVACY) { in check_bss_debug()
1519 if (vap->iv_flags & IEEE80211_F_WME) in ieee80211_node_create_wds()
1522 if (vap->iv_flags & IEEE80211_F_FF) in ieee80211_node_create_wds()
1686 if (vap->iv_flags & IEEE80211_F_WME) in ieee80211_fakeup_adhoc_node()
[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()
598 if ((vap->iv_flags & IEEE80211_F_DROPUNENC) && in adhoc_input()
903 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()
659 if ((vap->iv_flags & IEEE80211_F_DROPUNENC) && in wds_input()
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()
1434 (vap->iv_flags & IEEE80211_F_BGSCAN) && in sta_age()
H A Dieee80211_var.h395 uint32_t iv_flags; /* state flags */ member
620 ((vap)->iv_flags & (ni)->ni_ath_flags & (bit))
H A Dieee80211_crypto_tkip.c193 if (vap->iv_flags & IEEE80211_F_COUNTERM) { in tkip_encap()
324 if (vap->iv_flags & IEEE80211_F_COUNTERM) { in tkip_decap()
H A Dieee80211_proto.c1209 (vap->iv_flags & IEEE80211_F_WME)) in ieee80211_wme_updateparams_locked()
1216 if ((vap->iv_flags & IEEE80211_F_WME) == 0) in ieee80211_wme_updateparams_locked()
1233 (vap->iv_flags & IEEE80211_F_BURST) ? in ieee80211_wme_updateparams_locked()
H A Dieee80211_power.c623 if (! (vap->iv_flags & IEEE80211_F_PMGTON)) in ieee80211_sta_ps_timer_check()
/freebsd-12.1/sys/dev/rtwn/rtl8192e/
H A Dr92e_fw.c106 (vap->iv_flags & IEEE80211_F_PMGTON)) { in r92e_set_pwrmode()
/freebsd-12.1/sys/dev/iwm/
H A Dif_iwm_power.c312 (vap->iv_flags & IEEE80211_F_PMGTON) != 0) { in iwm_mvm_power_build_cmd()
425 (vap->iv_flags & IEEE80211_F_PMGTON) != 0) { in iwm_mvm_power_set_ba()
/freebsd-12.1/sys/dev/if_ndis/
H A Dif_ndis.c2394 if (vap->iv_flags & IEEE80211_F_PMGTON) in ndis_setstate_80211()
2525 if (vap->iv_flags & IEEE80211_F_PRIVACY && in ndis_auth_and_assoc()
2526 !(vap->iv_flags & IEEE80211_F_WPA)) { in ndis_auth_and_assoc()
2585 if (vap->iv_flags & IEEE80211_F_DROPUNENC) in ndis_auth_and_assoc()
2597 if ((vap->iv_flags & IEEE80211_F_WPA) && in ndis_auth_and_assoc()
2651 if (vap->iv_flags & IEEE80211_F_DESBSSID && in ndis_auth_and_assoc()
2803 vap->iv_flags &= ~IEEE80211_F_PMGTON; in ndis_getstate_80211()
2805 vap->iv_flags |= IEEE80211_F_PMGTON; in ndis_getstate_80211()
2840 vap->iv_flags &= ~IEEE80211_F_WPA; in ndis_getstate_80211()
2855 vap->iv_flags |= IEEE80211_F_WPA1; in ndis_getstate_80211()
[all …]
/freebsd-12.1/sys/dev/rtwn/rtl8812a/
H A Dr12a_fw.c127 (vap->iv_flags & IEEE80211_F_PMGTON)) { in r12a_set_pwrmode()
H A Dr12a_tx.c168 if (vap->iv_flags & IEEE80211_F_PUREG) in r12a_tx_raid()
/freebsd-12.1/sys/dev/rtwn/rtl8188e/
H A Dr88e_fw.c199 (vap->iv_flags & IEEE80211_F_PMGTON)) { in r88e_set_pwrmode()
/freebsd-12.1/sys/dev/wi/
H A Dif_wi.c794 if (vap->iv_flags & IEEE80211_F_PMGTON) { in wi_newstate_sta()
816 (vap->iv_flags & IEEE80211_F_WPA)) { in wi_newstate_sta()
883 (vap->iv_flags & IEEE80211_F_HIDESSID)) { in wi_newstate_hostap()
892 (vap->iv_flags & IEEE80211_F_WPA) && in wi_newstate_hostap()
1697 val = (vap->iv_flags & IEEE80211_F_PRIVACY) ? 1 : 0; in wi_write_wep()
1701 if ((vap->iv_flags & IEEE80211_F_PRIVACY) == 0) in wi_write_wep()
1720 if (vap->iv_flags & IEEE80211_F_PRIVACY) { in wi_write_wep()
/freebsd-12.1/sys/dev/iwi/
H A Dif_iwi.c1795 if (vap->iv_flags & IEEE80211_F_SHPREAMBLE) in iwi_tx_start()
1907 if (vap->iv_flags & IEEE80211_F_PRIVACY) in iwi_tx_start()
2515 if (vap->iv_flags & IEEE80211_F_PMGTON) { in iwi_setpowermode()
2907 if ((vap->iv_flags & IEEE80211_F_WME) && ni->ni_ies.wme_ie != NULL) { in iwi_auth_and_assoc()
2933 if ((vap->iv_flags & IEEE80211_F_PRIVACY) && in iwi_auth_and_assoc()
2949 if (vap->iv_flags & IEEE80211_F_WPA) in iwi_auth_and_assoc()
2961 if (vap->iv_flags & IEEE80211_F_PRIVACY) in iwi_auth_and_assoc()
/freebsd-12.1/sys/dev/rtwn/rtl8192c/
H A Dr92c_tx.c153 if (vap->iv_flags & IEEE80211_F_PUREG) in r92c_tx_raid()
H A Dr92c_fw.c318 (vap->iv_flags & IEEE80211_F_PMGTON)) in r92c_set_pwrmode()
/freebsd-12.1/sys/dev/mwl/
H A Dif_mwl.c3763 else if (vap->iv_flags & IEEE80211_F_PUREG) in mwl_getapmode()
3768 if (vap->iv_flags & IEEE80211_F_PUREG) in mwl_getapmode()
3902 if ((vap->iv_flags & (IEEE80211_F_PRIVACY|IEEE80211_F_WPA)) == in mwl_setanywepkey()
4065 0, 0, NULL, vap->iv_flags & IEEE80211_F_WME, 0); in mwl_localstadb()
4152 vap->iv_ifp->if_xname, __func__, vap->iv_flags, in mwl_newstate()
4192 if ((vap->iv_flags & IEEE80211_F_DWDS) && in mwl_newstate()
4223 } else if ((vap->iv_flags & IEEE80211_F_DWDS) && in mwl_newstate()

12