Lines Matching refs:max_bw
398 u32 freq_diff, max_bw; in ath11k_reg_intersect_rules() local
412 max_bw = min_t(u32, rule1->freq_range.max_bandwidth_khz, in ath11k_reg_intersect_rules()
414 new_rule->freq_range.max_bandwidth_khz = min_t(u32, max_bw, freq_diff); in ath11k_reg_intersect_rules()
508 ath11k_reg_adjust_bw(u16 start_freq, u16 end_freq, u16 max_bw) in ath11k_reg_adjust_bw() argument
516 bw = min_t(u16, bw, max_bw); in ath11k_reg_adjust_bw()
548 u8 *rule_idx, u32 flags, u16 max_bw) in ath11k_reg_update_weather_radar_band() argument
562 ETSI_WEATHER_RADAR_BAND_LOW, max_bw); in ath11k_reg_update_weather_radar_band()
585 bw = ath11k_reg_adjust_bw(start_freq, end_freq, max_bw); in ath11k_reg_update_weather_radar_band()
604 reg_rule->end_freq, max_bw); in ath11k_reg_update_weather_radar_band()
650 u16 max_bw; in ath11k_reg_build_regd() local
717 max_bw = min_t(u16, reg_rule->max_bw, in ath11k_reg_build_regd()
723 max_bw = min_t(u16, reg_rule->max_bw, in ath11k_reg_build_regd()
736 max_bw = min_t(u16, reg_rule->max_bw, max_bw_6ghz); in ath11k_reg_build_regd()
749 reg_rule->end_freq, max_bw, in ath11k_reg_build_regd()
764 flags, max_bw); in ath11k_reg_build_regd()
772 max_bw, reg_rule->ant_gain, reg_rule->reg_power, in ath11k_reg_build_regd()
779 max_bw, reg_rule->ant_gain, reg_rule->reg_power, in ath11k_reg_build_regd()