Searched refs:rule1 (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/net/wireless/ath/ath11k/ |
D | reg.c | 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() [all …]
|
/linux-6.1.9/net/wireless/ |
D | reg.c | 1374 const struct ieee80211_reg_rule *rule1, in reg_rules_intersect() argument 1386 freq_range1 = &rule1->freq_range; in reg_rules_intersect() 1390 power_rule1 = &rule1->power_rule; in reg_rules_intersect() 1394 wmm_rule1 = &rule1->wmm_rule; in reg_rules_intersect() 1406 if (rule1->flags & NL80211_RRF_AUTO_BW) in reg_rules_intersect() 1407 max_bandwidth1 = reg_get_max_bandwidth(rd1, rule1); in reg_rules_intersect() 1413 intersected_rule->flags = rule1->flags | rule2->flags; in reg_rules_intersect() 1423 if ((rule1->flags & NL80211_RRF_AUTO_BW) && in reg_rules_intersect() 1438 intersected_rule->dfs_cac_ms = max(rule1->dfs_cac_ms, in reg_rules_intersect() 1441 if (rule1->has_wmm && rule2->has_wmm) { in reg_rules_intersect() [all …]
|