Lines Matching defs:chanreq
223 struct ieee80211_chan_req chanreq = {};
258 chanreq.oper = *req_chandef;
259 chan = chanreq.oper.chan;
260 if (!cfg80211_reg_can_beacon(local->hw.wiphy, &chanreq.oper,
262 if (chanreq.oper.width == NL80211_CHAN_WIDTH_5 ||
263 chanreq.oper.width == NL80211_CHAN_WIDTH_10 ||
264 chanreq.oper.width == NL80211_CHAN_WIDTH_20_NOHT ||
265 chanreq.oper.width == NL80211_CHAN_WIDTH_20) {
270 chanreq.oper.width = NL80211_CHAN_WIDTH_20;
271 chanreq.oper.center_freq1 = chan->center_freq;
273 if (!cfg80211_reg_can_beacon(local->hw.wiphy, &chanreq.oper,
282 &chanreq.oper, NL80211_IFTYPE_ADHOC);
296 if (ieee80211_link_use_channel(&sdata->deflink, &chanreq,
308 capability, tsf, &chanreq.oper,
529 cbss->channel = sdata->deflink.csa.chanreq.oper.chan;
534 ifibss->chandef = sdata->deflink.csa.chanreq.oper;
796 params.chandef = csa_ie.chanreq.oper;
855 &sdata->vif.bss_conf.chanreq.oper)) {