Lines Matching refs:freq
535 int freq;
544 freq = ieee80211_chan_to_freq(country, op_class, chan);
545 if (freq <= 0 && op_class == 0) {
552 freq = 2407 + chan * 5;
554 freq = 2484;
556 freq = 5000 + chan * 5;
558 return freq;
599 rep->freq = wnm_nei_get_chan(wpa_s, rep->regulatory_class,
951 if (ieee80211_freq_to_channel_ext(bss->freq, sec_chan, vht, &op_class,
958 phy_type = ieee80211_get_phy_type(bss->freq, (ht_oper != NULL),
1240 " info=0x%x op_class=%u chan=%u phy=%u pref=%d freq=%d",
1245 nei->freq);
1250 static int chan_supported(struct wpa_supplicant *wpa_s, int freq)
1262 if (chan->freq == freq &&
1295 if (nei->freq <= 0) {
1303 if (chan_supported(wpa_s, nei->freq))
1304 add_freq(freqs, &num_freqs, nei->freq);