Lines Matching refs:new_rule
345 struct ieee80211_reg_rule *new_rule) in ath11k_reg_intersect_rules() argument
357 new_rule->freq_range.start_freq_khz = max_t(u32, start_freq1, in ath11k_reg_intersect_rules()
359 new_rule->freq_range.end_freq_khz = min_t(u32, end_freq1, end_freq2); in ath11k_reg_intersect_rules()
361 freq_diff = new_rule->freq_range.end_freq_khz - in ath11k_reg_intersect_rules()
362 new_rule->freq_range.start_freq_khz; in ath11k_reg_intersect_rules()
365 new_rule->freq_range.max_bandwidth_khz = min_t(u32, max_bw, freq_diff); in ath11k_reg_intersect_rules()
367 new_rule->power_rule.max_antenna_gain = in ath11k_reg_intersect_rules()
371 new_rule->power_rule.max_eirp = min_t(u32, rule1->power_rule.max_eirp, in ath11k_reg_intersect_rules()
375 new_rule->flags = rule1->flags | rule2->flags; in ath11k_reg_intersect_rules()
378 new_rule->dfs_cac_ms = max_t(u32, rule1->dfs_cac_ms, in ath11k_reg_intersect_rules()
387 struct ieee80211_reg_rule *old_rule, *curr_rule, *new_rule; in ath11k_regd_intersect() local
423 new_rule = new_regd->reg_rules; in ath11k_regd_intersect()
432 (new_rule + k++)); in ath11k_regd_intersect()