Home
last modified time | relevance | path

Searched refs:iv_des_chan (Results 1 – 11 of 11) sorted by relevance

/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_regdomain.c438 if (vap->iv_des_chan != IEEE80211_CHAN_ANYC) { in ieee80211_setregdomain()
439 desfreq = vap->iv_des_chan->ic_freq; in ieee80211_setregdomain()
440 desflags = vap->iv_des_chan->ic_flags; in ieee80211_setregdomain()
462 if (vap->iv_des_chan != IEEE80211_CHAN_ANYC) { in ieee80211_setregdomain()
465 vap->iv_des_chan = (c != NULL) ? c : IEEE80211_CHAN_ANYC; in ieee80211_setregdomain()
H A Dieee80211_scan_sta.c430 (vap->iv_des_chan != IEEE80211_CHAN_ANYC && in isexcluded()
431 c->ic_freq != vap->iv_des_chan->ic_freq)); in isexcluded()
600 c = vap->iv_des_chan; in sweepchannels()
1668 if (vap->iv_des_chan == IEEE80211_CHAN_ANYC ||
1669 IEEE80211_IS_CHAN_RADAR(vap->iv_des_chan)) {
1672 chan = vap->iv_des_chan;
1939 if (vap->iv_des_chan == IEEE80211_CHAN_ANYC ||
1940 IEEE80211_IS_CHAN_RADAR(vap->iv_des_chan)) {
1952 chan = vap->iv_des_chan;
H A Dieee80211_adhoc.c169 if (vap->iv_des_chan != IEEE80211_CHAN_ANYC && in adhoc_newstate()
170 !IEEE80211_IS_CHAN_RADAR(vap->iv_des_chan)) { in adhoc_newstate()
177 vap->iv_des_chan, vap->iv_flags_ht)); in adhoc_newstate()
H A Dieee80211_dfs.c153 vap->iv_des_chan = dfs->newchan; in cac_timeout()
H A Dieee80211_var.h446 struct ieee80211_channel *iv_des_chan; /* desired channel */ member
827 #define ieee80211_get_vap_desired_channel(_iv) ((_iv)->iv_des_chan)
H A Dieee80211_ioctl.c2025 vap->iv_des_chan = c; in setcurchan()
2029 vap->iv_des_chan != IEEE80211_CHAN_ANYC) { in setcurchan()
2035 ieee80211_setcurchan(ic, vap->iv_des_chan); in setcurchan()
2038 ic->ic_curchan = vap->iv_des_chan; in setcurchan()
2049 else if (vap->iv_des_chan != IEEE80211_CHAN_ANYC) { in setcurchan()
2055 ic->ic_curchan = vap->iv_des_chan; in setcurchan()
H A Dieee80211_hostap.c219 if (vap->iv_des_chan != IEEE80211_CHAN_ANYC && in hostap_newstate()
220 !IEEE80211_IS_CHAN_RADAR(vap->iv_des_chan)) { in hostap_newstate()
227 ieee80211_create_ibss(vap, vap->iv_des_chan); in hostap_newstate()
H A Dieee80211_tdma.c272 vap->iv_des_chan == IEEE80211_CHAN_ANYC) { in tdma_newstate()
H A Dieee80211_mesh.c737 if (vap->iv_des_chan != IEEE80211_CHAN_ANYC && in mesh_newstate()
738 !IEEE80211_IS_CHAN_RADAR(vap->iv_des_chan) && in mesh_newstate()
744 ieee80211_create_ibss(vap, vap->iv_des_chan); in mesh_newstate()
H A Dieee80211_ddb.c521 _db_show_channel(" des_chan", vap->iv_des_chan); in _db_show_vap()
H A Dieee80211.c663 vap->iv_des_chan = IEEE80211_CHAN_ANYC; /* any channel is ok */ in ieee80211_vap_setup()