Searched refs:iv_des_chan (Results 1 – 11 of 11) sorted by relevance
438 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()
430 (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;
169 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()
153 vap->iv_des_chan = dfs->newchan; in cac_timeout()
446 struct ieee80211_channel *iv_des_chan; /* desired channel */ member827 #define ieee80211_get_vap_desired_channel(_iv) ((_iv)->iv_des_chan)
2025 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()
219 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()
272 vap->iv_des_chan == IEEE80211_CHAN_ANYC) { in tdma_newstate()
737 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()
521 _db_show_channel(" des_chan", vap->iv_des_chan); in _db_show_vap()
663 vap->iv_des_chan = IEEE80211_CHAN_ANYC; /* any channel is ok */ in ieee80211_vap_setup()