Lines Matching refs:pri_chan
2149 struct hostapd_channel_data *pri_chan = NULL, *sec_chan = NULL;
2226 pri_chan = &mode->channels[chan_idx];
2227 if (pri_chan->chan == channel)
2229 pri_chan = NULL;
2231 if (!pri_chan)
2235 if (pri_chan->flag & (HOSTAPD_CHAN_DISABLED | HOSTAPD_CHAN_NO_IR))
2238 freq->channel = pri_chan->chan;
2271 if (!(pri_chan->flag & HOSTAPD_CHAN_HT40MINUS))
2274 if (!(pri_chan->flag & HOSTAPD_CHAN_HT40PLUS))
2289 res = check_40mhz_5g(mode, scan_res, pri_chan->chan,