Lines Matching refs:center_freq2

318 		if (chandef->center_freq2)  in cfg80211_chandef_valid()
338 if (chandef->center_freq2) in cfg80211_chandef_valid()
350 if (!chandef->center_freq2) in cfg80211_chandef_valid()
353 if (chandef->center_freq1 - chandef->center_freq2 == 80 || in cfg80211_chandef_valid()
354 chandef->center_freq2 - chandef->center_freq1 == 80) in cfg80211_chandef_valid()
358 if (chandef->center_freq2) in cfg80211_chandef_valid()
412 !cfg80211_valid_center_freq(chandef->center_freq2, chandef->width)) in cfg80211_chandef_valid()
620 if (!chandef->center_freq2) in cfg80211_set_dfs_state()
622 cfg80211_set_chans_dfs_state(wiphy, chandef->center_freq2, in cfg80211_set_dfs_state()
779 if (!chandef->center_freq2) in cfg80211_chandef_dfs_required()
783 MHZ_TO_KHZ(chandef->center_freq2), in cfg80211_chandef_dfs_required()
868 WARN_ON(!chandef->center_freq2); in cfg80211_chandef_dfs_usable()
870 MHZ_TO_KHZ(chandef->center_freq2), in cfg80211_chandef_dfs_usable()
876 WARN_ON(chandef->center_freq2); in cfg80211_chandef_dfs_usable()
914 if (!chandef->center_freq2) in cfg80211_is_sub_chan()
917 for (freq = chandef->center_freq2 - width / 2 + 10; in cfg80211_is_sub_chan()
918 freq <= chandef->center_freq2 + width / 2 - 10; freq += 20) { in cfg80211_is_sub_chan()
1113 WARN_ON(!chandef->center_freq2); in cfg80211_chandef_dfs_available()
1115 MHZ_TO_KHZ(chandef->center_freq2), in cfg80211_chandef_dfs_available()
1119 WARN_ON(chandef->center_freq2); in cfg80211_chandef_dfs_available()
1173 if (!chandef->center_freq2) in cfg80211_chandef_dfs_cac_time()
1177 MHZ_TO_KHZ(chandef->center_freq2), in cfg80211_chandef_dfs_cac_time()
1430 if (!chandef->center_freq2) in _cfg80211_chandef_usable()
1433 MHZ_TO_KHZ(chandef->center_freq2), in _cfg80211_chandef_usable()