• Home
  • Raw
  • Download

Lines Matching refs:freq

142 int ieee80211_freq_khz_to_channel(u32 freq)  in ieee80211_freq_khz_to_channel()  argument
145 freq = KHZ_TO_MHZ(freq); in ieee80211_freq_khz_to_channel()
148 if (freq == 2484) in ieee80211_freq_khz_to_channel()
150 else if (freq < 2484) in ieee80211_freq_khz_to_channel()
151 return (freq - 2407) / 5; in ieee80211_freq_khz_to_channel()
152 else if (freq >= 4910 && freq <= 4980) in ieee80211_freq_khz_to_channel()
153 return (freq - 4000) / 5; in ieee80211_freq_khz_to_channel()
154 else if (freq < 5925) in ieee80211_freq_khz_to_channel()
155 return (freq - 5000) / 5; in ieee80211_freq_khz_to_channel()
156 else if (freq == 5935) in ieee80211_freq_khz_to_channel()
158 else if (freq <= 45000) /* DMG band lower limit */ in ieee80211_freq_khz_to_channel()
160 return (freq - 5950) / 5; in ieee80211_freq_khz_to_channel()
161 else if (freq >= 58320 && freq <= 70200) in ieee80211_freq_khz_to_channel()
162 return (freq - 56160) / 2160; in ieee80211_freq_khz_to_channel()
169 u32 freq) in ieee80211_get_channel_khz() argument
184 if (ieee80211_channel_to_khz(chan) == freq) in ieee80211_get_channel_khz()
1813 u32 freq = chandef->center_freq1; in ieee80211_chandef_to_operating_class() local
1815 if (freq >= 2412 && freq <= 2472) { in ieee80211_chandef_to_operating_class()
1821 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
1832 if (freq == 2484) { in ieee80211_chandef_to_operating_class()
1860 if (freq >= 5180 && freq <= 5240) { in ieee80211_chandef_to_operating_class()
1864 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
1876 if (freq >= 5260 && freq <= 5320) { in ieee80211_chandef_to_operating_class()
1880 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
1892 if (freq >= 5500 && freq <= 5720) { in ieee80211_chandef_to_operating_class()
1896 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
1908 if (freq >= 5745 && freq <= 5845) { in ieee80211_chandef_to_operating_class()
1912 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
1916 } else if (freq <= 5805) { in ieee80211_chandef_to_operating_class()
1926 if (freq >= 56160 + 2160 * 1 && freq <= 56160 + 2160 * 6) { in ieee80211_chandef_to_operating_class()