Lines Matching refs:start_freq
492 u32 start_freq; in cfg80211_get_start_freq() local
496 start_freq = center_freq; in cfg80211_get_start_freq()
498 start_freq = center_freq - bandwidth / 2 + MHZ_TO_KHZ(10); in cfg80211_get_start_freq()
500 return start_freq; in cfg80211_get_start_freq()
522 u32 freq, start_freq, end_freq; in cfg80211_get_chans_dfs_required() local
524 start_freq = cfg80211_get_start_freq(center_freq, bandwidth); in cfg80211_get_chans_dfs_required()
527 for (freq = start_freq; freq <= end_freq; freq += MHZ_TO_KHZ(20)) { in cfg80211_get_chans_dfs_required()
601 u32 freq, start_freq, end_freq; in cfg80211_get_chans_dfs_usable() local
604 start_freq = cfg80211_get_start_freq(center_freq, bandwidth); in cfg80211_get_chans_dfs_usable()
613 for (freq = start_freq; freq <= end_freq; freq += MHZ_TO_KHZ(20)) { in cfg80211_get_chans_dfs_usable()
845 u32 freq, start_freq, end_freq; in cfg80211_get_chans_dfs_available() local
851 start_freq = cfg80211_get_start_freq(center_freq, bandwidth); in cfg80211_get_chans_dfs_available()
859 for (freq = start_freq; freq <= end_freq; freq += MHZ_TO_KHZ(20)) { in cfg80211_get_chans_dfs_available()
917 u32 start_freq, end_freq, freq; in cfg80211_get_chans_dfs_cac_time() local
920 start_freq = cfg80211_get_start_freq(center_freq, bandwidth); in cfg80211_get_chans_dfs_cac_time()
923 for (freq = start_freq; freq <= end_freq; freq += MHZ_TO_KHZ(20)) { in cfg80211_get_chans_dfs_cac_time()
974 u32 freq, start_freq, end_freq; in cfg80211_secondary_chans_ok() local
976 start_freq = cfg80211_get_start_freq(center_freq, bandwidth); in cfg80211_secondary_chans_ok()
979 for (freq = start_freq; freq <= end_freq; freq += MHZ_TO_KHZ(20)) { in cfg80211_secondary_chans_ok()
1498 u32 idx, i, start_freq; in cfg80211_valid_disable_subchannel_bitmap() local
1503 start_freq = chandef->center_freq1 - 40; in cfg80211_valid_disable_subchannel_bitmap()
1507 start_freq = chandef->center_freq1 - 80; in cfg80211_valid_disable_subchannel_bitmap()
1511 start_freq = chandef->center_freq1 - 160; in cfg80211_valid_disable_subchannel_bitmap()
1522 if (*bitmap & (u16)BIT((chandef->chan->center_freq - start_freq) / 20)) in cfg80211_valid_disable_subchannel_bitmap()