Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Dreg.c357 struct ieee80211_reg_rule *rule2) in ath11k_reg_can_intersect() argument
363 start_freq2 = rule2->freq_range.start_freq_khz; in ath11k_reg_can_intersect()
366 end_freq2 = rule2->freq_range.end_freq_khz; in ath11k_reg_can_intersect()
384 struct ieee80211_reg_rule *rule2, in ath11k_reg_intersect_rules() argument
392 start_freq2 = rule2->freq_range.start_freq_khz; in ath11k_reg_intersect_rules()
395 end_freq2 = rule2->freq_range.end_freq_khz; in ath11k_reg_intersect_rules()
404 rule2->freq_range.max_bandwidth_khz); in ath11k_reg_intersect_rules()
409 rule2->power_rule.max_antenna_gain); in ath11k_reg_intersect_rules()
412 rule2->power_rule.max_eirp); in ath11k_reg_intersect_rules()
415 new_rule->flags = rule1->flags | rule2->flags; in ath11k_reg_intersect_rules()
[all …]
/linux-6.1.9/net/wireless/
Dreg.c1375 const struct ieee80211_reg_rule *rule2, in reg_rules_intersect() argument
1387 freq_range2 = &rule2->freq_range; in reg_rules_intersect()
1391 power_rule2 = &rule2->power_rule; in reg_rules_intersect()
1395 wmm_rule2 = &rule2->wmm_rule; in reg_rules_intersect()
1408 if (rule2->flags & NL80211_RRF_AUTO_BW) in reg_rules_intersect()
1409 max_bandwidth2 = reg_get_max_bandwidth(rd2, rule2); in reg_rules_intersect()
1413 intersected_rule->flags = rule1->flags | rule2->flags; in reg_rules_intersect()
1424 (rule2->flags & NL80211_RRF_AUTO_BW)) in reg_rules_intersect()
1439 rule2->dfs_cac_ms); in reg_rules_intersect()
1441 if (rule1->has_wmm && rule2->has_wmm) { in reg_rules_intersect()
[all …]