Lines Matching refs:rule1
357 ath11k_reg_can_intersect(struct ieee80211_reg_rule *rule1, in ath11k_reg_can_intersect() argument
363 start_freq1 = rule1->freq_range.start_freq_khz; in ath11k_reg_can_intersect()
366 end_freq1 = rule1->freq_range.end_freq_khz; in ath11k_reg_can_intersect()
384 static void ath11k_reg_intersect_rules(struct ieee80211_reg_rule *rule1, in ath11k_reg_intersect_rules() argument
392 start_freq1 = rule1->freq_range.start_freq_khz; in ath11k_reg_intersect_rules()
395 end_freq1 = rule1->freq_range.end_freq_khz; in ath11k_reg_intersect_rules()
404 max_bw = min_t(u32, rule1->freq_range.max_bandwidth_khz, in ath11k_reg_intersect_rules()
409 min_t(u32, rule1->power_rule.max_antenna_gain, in ath11k_reg_intersect_rules()
412 new_rule->power_rule.max_eirp = min_t(u32, rule1->power_rule.max_eirp, in ath11k_reg_intersect_rules()
416 new_rule->flags = rule1->flags | rule2->flags; in ath11k_reg_intersect_rules()
419 new_rule->dfs_cac_ms = max_t(u32, rule1->dfs_cac_ms, in ath11k_reg_intersect_rules()