Searched refs:rule2 (Results 1 – 2 of 2) sorted by relevance
318 struct ieee80211_reg_rule *rule2) in ath11k_reg_can_intersect() argument324 start_freq2 = rule2->freq_range.start_freq_khz; in ath11k_reg_can_intersect()327 end_freq2 = rule2->freq_range.end_freq_khz; in ath11k_reg_can_intersect()345 struct ieee80211_reg_rule *rule2, in ath11k_reg_intersect_rules() argument353 start_freq2 = rule2->freq_range.start_freq_khz; in ath11k_reg_intersect_rules()356 end_freq2 = rule2->freq_range.end_freq_khz; in ath11k_reg_intersect_rules()365 rule2->freq_range.max_bandwidth_khz); in ath11k_reg_intersect_rules()370 rule2->power_rule.max_antenna_gain); in ath11k_reg_intersect_rules()373 rule2->power_rule.max_eirp); in ath11k_reg_intersect_rules()376 new_rule->flags = rule1->flags | rule2->flags; in ath11k_reg_intersect_rules()[all …]
1323 const struct ieee80211_reg_rule *rule2, in reg_rules_intersect() argument1335 freq_range2 = &rule2->freq_range; in reg_rules_intersect()1339 power_rule2 = &rule2->power_rule; in reg_rules_intersect()1343 wmm_rule2 = &rule2->wmm_rule; in reg_rules_intersect()1356 if (rule2->flags & NL80211_RRF_AUTO_BW) in reg_rules_intersect()1357 max_bandwidth2 = reg_get_max_bandwidth(rd2, rule2); in reg_rules_intersect()1361 intersected_rule->flags = rule1->flags | rule2->flags; in reg_rules_intersect()1372 (rule2->flags & NL80211_RRF_AUTO_BW)) in reg_rules_intersect()1387 rule2->dfs_cac_ms); in reg_rules_intersect()1389 if (rule1->has_wmm && rule2->has_wmm) { in reg_rules_intersect()[all …]