Lines Matching refs:rule1
356 ath11k_reg_can_intersect(struct ieee80211_reg_rule *rule1, in ath11k_reg_can_intersect() argument
362 start_freq1 = rule1->freq_range.start_freq_khz; in ath11k_reg_can_intersect()
365 end_freq1 = rule1->freq_range.end_freq_khz; in ath11k_reg_can_intersect()
383 static void ath11k_reg_intersect_rules(struct ieee80211_reg_rule *rule1, in ath11k_reg_intersect_rules() argument
391 start_freq1 = rule1->freq_range.start_freq_khz; in ath11k_reg_intersect_rules()
394 end_freq1 = rule1->freq_range.end_freq_khz; in ath11k_reg_intersect_rules()
403 max_bw = min_t(u32, rule1->freq_range.max_bandwidth_khz, in ath11k_reg_intersect_rules()
408 min_t(u32, rule1->power_rule.max_antenna_gain, in ath11k_reg_intersect_rules()
411 new_rule->power_rule.max_eirp = min_t(u32, rule1->power_rule.max_eirp, in ath11k_reg_intersect_rules()
415 new_rule->flags = rule1->flags | rule2->flags; in ath11k_reg_intersect_rules()
418 new_rule->dfs_cac_ms = max_t(u32, rule1->dfs_cac_ms, in ath11k_reg_intersect_rules()