• Home
  • Raw
  • Download

Lines Matching refs:freq

18 static bool cfg80211_valid_60g_freq(u32 freq)  in cfg80211_valid_60g_freq()  argument
20 return freq >= 58320 && freq <= 70200; in cfg80211_valid_60g_freq()
453 u32 freq; in cfg80211_set_chans_dfs_state() local
455 for (freq = center_freq - bandwidth/2 + 10; in cfg80211_set_chans_dfs_state()
456 freq <= center_freq + bandwidth/2 - 10; in cfg80211_set_chans_dfs_state()
457 freq += 20) { in cfg80211_set_chans_dfs_state()
458 c = ieee80211_get_channel(wiphy, freq); in cfg80211_set_chans_dfs_state()
522 u32 freq, start_freq, end_freq; in cfg80211_get_chans_dfs_required() local
527 for (freq = start_freq; freq <= end_freq; freq += MHZ_TO_KHZ(20)) { in cfg80211_get_chans_dfs_required()
528 c = ieee80211_get_channel_khz(wiphy, freq); in cfg80211_get_chans_dfs_required()
601 u32 freq, start_freq, end_freq; in cfg80211_get_chans_dfs_usable() local
613 for (freq = start_freq; freq <= end_freq; freq += MHZ_TO_KHZ(20)) { in cfg80211_get_chans_dfs_usable()
614 c = ieee80211_get_channel_khz(wiphy, freq); in cfg80211_get_chans_dfs_usable()
679 u32 freq; in cfg80211_is_sub_chan() local
694 for (freq = chandef->center_freq1 - width / 2 + 10; in cfg80211_is_sub_chan()
695 freq <= chandef->center_freq1 + width / 2 - 10; freq += 20) { in cfg80211_is_sub_chan()
696 if (chan->center_freq == freq) in cfg80211_is_sub_chan()
703 for (freq = chandef->center_freq2 - width / 2 + 10; in cfg80211_is_sub_chan()
704 freq <= chandef->center_freq2 + width / 2 - 10; freq += 20) { in cfg80211_is_sub_chan()
705 if (chan->center_freq == freq) in cfg80211_is_sub_chan()
845 u32 freq, start_freq, end_freq; in cfg80211_get_chans_dfs_available() local
859 for (freq = start_freq; freq <= end_freq; freq += MHZ_TO_KHZ(20)) { in cfg80211_get_chans_dfs_available()
860 c = ieee80211_get_channel_khz(wiphy, freq); in cfg80211_get_chans_dfs_available()
917 u32 start_freq, end_freq, freq; in cfg80211_get_chans_dfs_cac_time() local
923 for (freq = start_freq; freq <= end_freq; freq += MHZ_TO_KHZ(20)) { in cfg80211_get_chans_dfs_cac_time()
924 c = ieee80211_get_channel_khz(wiphy, freq); in cfg80211_get_chans_dfs_cac_time()
974 u32 freq, start_freq, end_freq; in cfg80211_secondary_chans_ok() local
979 for (freq = start_freq; freq <= end_freq; freq += MHZ_TO_KHZ(20)) { in cfg80211_secondary_chans_ok()
980 c = ieee80211_get_channel_khz(wiphy, freq); in cfg80211_secondary_chans_ok()
995 int i, freq; in cfg80211_edmg_usable() local
1018 freq = ieee80211_channel_to_frequency(i + 1, in cfg80211_edmg_usable()
1020 chan = ieee80211_get_channel(wiphy, freq); in cfg80211_edmg_usable()