Lines Matching refs:MHZ_TO_KHZ

240 		if (control_freq + MHZ_TO_KHZ(control_width) / 2 >  in cfg80211_chandef_valid()
241 oper_freq + MHZ_TO_KHZ(oper_width) / 2) in cfg80211_chandef_valid()
244 if (control_freq - MHZ_TO_KHZ(control_width) / 2 < in cfg80211_chandef_valid()
245 oper_freq - MHZ_TO_KHZ(oper_width) / 2) in cfg80211_chandef_valid()
444 bandwidth = MHZ_TO_KHZ(bandwidth); in cfg80211_get_start_freq()
445 if (bandwidth <= MHZ_TO_KHZ(20)) in cfg80211_get_start_freq()
448 start_freq = center_freq - bandwidth / 2 + MHZ_TO_KHZ(10); in cfg80211_get_start_freq()
458 bandwidth = MHZ_TO_KHZ(bandwidth); in cfg80211_get_end_freq()
459 if (bandwidth <= MHZ_TO_KHZ(20)) in cfg80211_get_end_freq()
462 end_freq = center_freq + bandwidth / 2 - MHZ_TO_KHZ(10); in cfg80211_get_end_freq()
477 for (freq = start_freq; freq <= end_freq; freq += MHZ_TO_KHZ(20)) { in cfg80211_get_chans_dfs_required()
520 MHZ_TO_KHZ(chandef->center_freq2), in cfg80211_chandef_dfs_required()
563 for (freq = start_freq; freq <= end_freq; freq += MHZ_TO_KHZ(20)) { in cfg80211_get_chans_dfs_usable()
597 MHZ_TO_KHZ(chandef->center_freq1), in cfg80211_chandef_dfs_usable()
607 MHZ_TO_KHZ(chandef->center_freq2), in cfg80211_chandef_dfs_usable()
755 for (freq = start_freq; freq <= end_freq; freq += MHZ_TO_KHZ(20)) { in cfg80211_get_chans_dfs_available()
786 MHZ_TO_KHZ(chandef->center_freq1), in cfg80211_chandef_dfs_available()
797 MHZ_TO_KHZ(chandef->center_freq2), in cfg80211_chandef_dfs_available()
819 for (freq = start_freq; freq <= end_freq; freq += MHZ_TO_KHZ(20)) { in cfg80211_get_chans_dfs_cac_time()
852 MHZ_TO_KHZ(chandef->center_freq1), in cfg80211_chandef_dfs_cac_time()
859 MHZ_TO_KHZ(chandef->center_freq2), in cfg80211_chandef_dfs_cac_time()
875 for (freq = start_freq; freq <= end_freq; freq += MHZ_TO_KHZ(20)) { in cfg80211_secondary_chans_ok()
1075 MHZ_TO_KHZ(chandef->center_freq2), in cfg80211_chandef_usable()