Lines Matching refs:center_freq
257 static bool ath_is_radar_freq(u16 center_freq,
262 return (center_freq >= 5500 && center_freq <= 5700);
263 return (center_freq >= 5260 && center_freq <= 5700);
271 reg_rule = freq_reg_info(wiphy, MHZ_TO_KHZ(ch->center_freq));
280 static void ath_force_clear_no_ir_freq(struct wiphy *wiphy, u16 center_freq)
284 ch = ieee80211_get_channel(wiphy, center_freq);
296 static void ath_force_no_ir_freq(struct wiphy *wiphy, u16 center_freq)
300 ch = ieee80211_get_channel(wiphy, center_freq);
313 if (ath_is_radar_freq(ch->center_freq, reg) ||
417 if (!ath_is_radar_freq(ch->center_freq, reg))