Home
last modified time | relevance | path

Searched refs:rule1 (Results 1 – 2 of 2) sorted by relevance

/drivers/net/wireless/ath/ath12k/
Dreg.c318 ath12k_reg_can_intersect(struct ieee80211_reg_rule *rule1, in ath12k_reg_can_intersect() argument
324 start_freq1 = rule1->freq_range.start_freq_khz; in ath12k_reg_can_intersect()
327 end_freq1 = rule1->freq_range.end_freq_khz; in ath12k_reg_can_intersect()
345 static void ath12k_reg_intersect_rules(struct ieee80211_reg_rule *rule1, in ath12k_reg_intersect_rules() argument
353 start_freq1 = rule1->freq_range.start_freq_khz; in ath12k_reg_intersect_rules()
356 end_freq1 = rule1->freq_range.end_freq_khz; in ath12k_reg_intersect_rules()
365 max_bw = min_t(u32, rule1->freq_range.max_bandwidth_khz, in ath12k_reg_intersect_rules()
370 min_t(u32, rule1->power_rule.max_antenna_gain, in ath12k_reg_intersect_rules()
373 new_rule->power_rule.max_eirp = min_t(u32, rule1->power_rule.max_eirp, in ath12k_reg_intersect_rules()
377 new_rule->flags = rule1->flags | rule2->flags; in ath12k_reg_intersect_rules()
[all …]
/drivers/net/wireless/ath/ath11k/
Dreg.c357 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()
[all …]