Lines Matching refs:pri_chan
1813 struct hostapd_channel_data *pri_chan = NULL, *sec_chan = NULL;
1880 pri_chan = &mode->channels[chan_idx];
1881 if (pri_chan->chan == channel)
1883 pri_chan = NULL;
1885 if (!pri_chan)
1889 if (pri_chan->flag & (HOSTAPD_CHAN_DISABLED | HOSTAPD_CHAN_NO_IR))
1914 freq->channel = pri_chan->chan;
1918 if (!(pri_chan->flag & HOSTAPD_CHAN_HT40MINUS))
1923 if (!(pri_chan->flag & HOSTAPD_CHAN_HT40PLUS))
1941 res = check_40mhz_5g(mode, scan_res, pri_chan->chan,