Searched refs:rule2 (Results 1 – 4 of 4) sorted by relevance
319 struct ieee80211_reg_rule *rule2) in ath12k_reg_can_intersect() argument325 start_freq2 = rule2->freq_range.start_freq_khz; in ath12k_reg_can_intersect()328 end_freq2 = rule2->freq_range.end_freq_khz; in ath12k_reg_can_intersect()346 struct ieee80211_reg_rule *rule2, in ath12k_reg_intersect_rules() argument354 start_freq2 = rule2->freq_range.start_freq_khz; in ath12k_reg_intersect_rules()357 end_freq2 = rule2->freq_range.end_freq_khz; in ath12k_reg_intersect_rules()366 rule2->freq_range.max_bandwidth_khz); in ath12k_reg_intersect_rules()371 rule2->power_rule.max_antenna_gain); in ath12k_reg_intersect_rules()374 rule2->power_rule.max_eirp); in ath12k_reg_intersect_rules()377 new_rule->flags = rule1->flags | rule2->flags; in ath12k_reg_intersect_rules()[all …]
358 struct ieee80211_reg_rule *rule2) in ath11k_reg_can_intersect() argument364 start_freq2 = rule2->freq_range.start_freq_khz; in ath11k_reg_can_intersect()367 end_freq2 = rule2->freq_range.end_freq_khz; in ath11k_reg_can_intersect()385 struct ieee80211_reg_rule *rule2, in ath11k_reg_intersect_rules() argument393 start_freq2 = rule2->freq_range.start_freq_khz; in ath11k_reg_intersect_rules()396 end_freq2 = rule2->freq_range.end_freq_khz; in ath11k_reg_intersect_rules()405 rule2->freq_range.max_bandwidth_khz); in ath11k_reg_intersect_rules()410 rule2->power_rule.max_antenna_gain); in ath11k_reg_intersect_rules()413 rule2->power_rule.max_eirp); in ath11k_reg_intersect_rules()416 new_rule->flags = rule1->flags | rule2->flags; in ath11k_reg_intersect_rules()[all …]
162 Rule rule2{"set_voltage_rule", std::vector<std::unique_ptr<Action>>{}}; in TEST() local163 idMap.addRule(rule2); in TEST()
1337 const struct ieee80211_reg_rule *rule2, in reg_rules_intersect() argument1349 freq_range2 = &rule2->freq_range; in reg_rules_intersect()1353 power_rule2 = &rule2->power_rule; in reg_rules_intersect()1357 wmm_rule2 = &rule2->wmm_rule; in reg_rules_intersect()1370 if (rule2->flags & NL80211_RRF_AUTO_BW) in reg_rules_intersect()1371 max_bandwidth2 = reg_get_max_bandwidth(rd2, rule2); in reg_rules_intersect()1375 intersected_rule->flags = rule1->flags | rule2->flags; in reg_rules_intersect()1386 (rule2->flags & NL80211_RRF_AUTO_BW)) in reg_rules_intersect()1401 rule2->dfs_cac_ms); in reg_rules_intersect()1403 if (rule1->has_wmm && rule2->has_wmm) { in reg_rules_intersect()[all …]