Home
last modified time | relevance | path

Searched refs:power_rule (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/include/net/
Dregulatory.h222 struct ieee80211_power_rule power_rule; member
242 .power_rule.max_antenna_gain = DBI_TO_MBI(gain), \
243 .power_rule.max_eirp = DBM_TO_MBM(eirp), \
/linux-6.1.9/net/wireless/
Dreg.c991 rrule->power_rule.max_antenna_gain = 0; in regdb_query_country()
992 rrule->power_rule.max_eirp = be16_to_cpu(rule->max_eirp); in regdb_query_country()
1381 struct ieee80211_power_rule *power_rule; in reg_rules_intersect() local
1390 power_rule1 = &rule1->power_rule; in reg_rules_intersect()
1391 power_rule2 = &rule2->power_rule; in reg_rules_intersect()
1392 power_rule = &intersected_rule->power_rule; in reg_rules_intersect()
1433 power_rule->max_eirp = min(power_rule1->max_eirp, in reg_rules_intersect()
1435 power_rule->max_antenna_gain = min(power_rule1->max_antenna_gain, in reg_rules_intersect()
1479 if ((r1->power_rule.max_antenna_gain > in rule_contains()
1480 r2->power_rule.max_antenna_gain) || in rule_contains()
[all …]
Dnl80211.c8333 const struct ieee80211_power_rule *power_rule; in nl80211_put_regdom() local
8338 power_rule = &reg_rule->power_rule; in nl80211_put_regdom()
8358 power_rule->max_antenna_gain) || in nl80211_put_regdom()
8360 power_rule->max_eirp) || in nl80211_put_regdom()
8544 struct ieee80211_power_rule *power_rule = &reg_rule->power_rule; in parse_reg_rule() local
8566 power_rule->max_eirp = in parse_reg_rule()
8570 power_rule->max_antenna_gain = in parse_reg_rule()
/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Dreg.c407 new_rule->power_rule.max_antenna_gain = in ath11k_reg_intersect_rules()
408 min_t(u32, rule1->power_rule.max_antenna_gain, in ath11k_reg_intersect_rules()
409 rule2->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()
412 rule2->power_rule.max_eirp); in ath11k_reg_intersect_rules()
524 reg_rule->power_rule.max_antenna_gain = DBI_TO_MBI(ant_gain); in ath11k_reg_update_rule()
525 reg_rule->power_rule.max_eirp = DBM_TO_MBM(reg_pwr); in ath11k_reg_update_rule()
/linux-6.1.9/drivers/net/wireless/quantenna/qtnfmac/
Dqlink_util.c299 rule->power_rule.max_antenna_gain = le32_to_cpu(tlv->max_antenna_gain); in qlink_utils_regrule_q2nl()
300 rule->power_rule.max_eirp = le32_to_cpu(tlv->max_eirp); in qlink_utils_regrule_q2nl()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/
Diwl-nvm-parse.c1448 rule->power_rule.max_antenna_gain = DBI_TO_MBI(6); in iwl_parse_nvm_mcc_info()
1449 rule->power_rule.max_eirp = in iwl_parse_nvm_mcc_info()
1485 rule->power_rule.max_antenna_gain = DBI_TO_MBI(6); in iwl_parse_nvm_mcc_info()
1486 rule->power_rule.max_eirp = in iwl_parse_nvm_mcc_info()
/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/
Dsta_cmdresp.c1108 rule->power_rule.max_eirp = DBM_TO_MBM(19); in mwifiex_create_custom_regdomain()