Lines Matching refs:pri_chan
230 int pri_chan, sec_chan;
232 pri_chan = iface->conf->channel;
233 sec_chan = pri_chan + iface->conf->secondary_channel * 4;
235 return allowed_ht40_channel_pair(iface->current_mode, pri_chan,
255 int pri_chan, sec_chan;
258 pri_chan = iface->conf->channel;
259 sec_chan = pri_chan + iface->conf->secondary_channel * 4;
261 res = check_40mhz_5g(iface->current_mode, scan_res, pri_chan, sec_chan);
279 int pri_chan, sec_chan;
281 pri_chan = iface->conf->channel;
282 sec_chan = pri_chan + iface->conf->secondary_channel * 4;
284 return check_40mhz_2g4(iface->current_mode, scan_res, pri_chan,
736 struct hostapd_channel_data *pri_chan;
738 pri_chan = hw_get_channel_chan(iface->current_mode,
740 if (!pri_chan)
757 (pri_chan->allowed_bw & HOSTAPD_CHAN_WIDTH_40P)) {
764 (pri_chan->allowed_bw & HOSTAPD_CHAN_WIDTH_40M)) {