• 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()
1815 u32 freq = chandef->center_freq1; in ieee80211_chandef_to_operating_class() local
1817 if (freq >= 2412 && freq <= 2472) { in ieee80211_chandef_to_operating_class()
1823 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
1834 if (freq == 2484) { in ieee80211_chandef_to_operating_class()
1862 if (freq >= 5180 && freq <= 5240) { in ieee80211_chandef_to_operating_class()
1866 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
1878 if (freq >= 5260 && freq <= 5320) { in ieee80211_chandef_to_operating_class()
1882 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
1894 if (freq >= 5500 && freq <= 5720) { in ieee80211_chandef_to_operating_class()
1898 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
1910 if (freq >= 5745 && freq <= 5845) { in ieee80211_chandef_to_operating_class()
1914 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
1918 } else if (freq <= 5805) { in ieee80211_chandef_to_operating_class()
1928 if (freq >= 56160 + 2160 * 1 && freq <= 56160 + 2160 * 6) { in ieee80211_chandef_to_operating_class()