• Home
  • Raw
  • Download

Lines Matching refs:freq

199 				range->freq[c].i =  in cfg80211_wext_giwrange()
202 range->freq[c].m = chan->center_freq; in cfg80211_wext_giwrange()
203 range->freq[c].e = 6; in cfg80211_wext_giwrange()
229 int cfg80211_wext_freq(struct iw_freq *freq) in cfg80211_wext_freq() argument
235 if (freq->e == 0) { in cfg80211_wext_freq()
237 if (freq->m < 0) in cfg80211_wext_freq()
239 if (freq->m > 14) in cfg80211_wext_freq()
241 return ieee80211_channel_to_frequency(freq->m, band); in cfg80211_wext_freq()
244 for (i = 0; i < freq->e; i++) in cfg80211_wext_freq()
248 return freq->m / div; in cfg80211_wext_freq()
814 int freq, ret; in cfg80211_wext_siwfreq() local
826 freq = cfg80211_wext_freq(wextfreq); in cfg80211_wext_siwfreq()
827 if (freq < 0) { in cfg80211_wext_siwfreq()
828 ret = freq; in cfg80211_wext_siwfreq()
831 if (freq == 0) { in cfg80211_wext_siwfreq()
835 chandef.center_freq1 = freq; in cfg80211_wext_siwfreq()
836 chandef.chan = ieee80211_get_channel(&rdev->wiphy, freq); in cfg80211_wext_siwfreq()
844 freq = cfg80211_wext_freq(wextfreq); in cfg80211_wext_siwfreq()
845 if (freq < 0) { in cfg80211_wext_siwfreq()
846 ret = freq; in cfg80211_wext_siwfreq()
849 if (freq == 0) { in cfg80211_wext_siwfreq()
853 chandef.center_freq1 = freq; in cfg80211_wext_siwfreq()
854 chandef.chan = ieee80211_get_channel(&rdev->wiphy, freq); in cfg80211_wext_siwfreq()
873 struct iw_freq *freq, char *extra) in cfg80211_wext_giwfreq() argument
883 ret = cfg80211_mgd_wext_giwfreq(dev, info, freq, extra); in cfg80211_wext_giwfreq()
886 ret = cfg80211_ibss_wext_giwfreq(dev, info, freq, extra); in cfg80211_wext_giwfreq()
897 freq->m = chandef.chan->center_freq; in cfg80211_wext_giwfreq()
898 freq->e = 6; in cfg80211_wext_giwfreq()