Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/ath/ath12k/
H A Dreg.c319 struct ieee80211_reg_rule *rule2) in ath12k_reg_can_intersect() argument
325 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() argument
354 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 …]
/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Dreg.c358 struct ieee80211_reg_rule *rule2) in ath11k_reg_can_intersect() argument
364 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() argument
393 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 …]
/openbmc/phosphor-power/phosphor-regulators/test/
H A Did_map_tests.cpp162 Rule rule2{"set_voltage_rule", std::vector<std::unique_ptr<Action>>{}}; in TEST() local
163 idMap.addRule(rule2); in TEST()
/openbmc/linux/net/wireless/
H A Dreg.c1337 const struct ieee80211_reg_rule *rule2, in reg_rules_intersect() argument
1349 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 …]