Searched refs:power_rule (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/include/net/ |
H A D | regulatory.h | 211 struct ieee80211_power_rule power_rule; member 231 .power_rule.max_antenna_gain = DBI_TO_MBI(gain), \ 232 .power_rule.max_eirp = DBM_TO_MBM(eirp), \
|
/openbmc/linux/net/wireless/ |
H A D | reg.c | 953 rrule->power_rule.max_antenna_gain = 0; in regdb_query_country() 954 rrule->power_rule.max_eirp = be16_to_cpu(rule->max_eirp); in regdb_query_country() 1343 struct ieee80211_power_rule *power_rule; in reg_rules_intersect() local 1352 power_rule1 = &rule1->power_rule; in reg_rules_intersect() 1353 power_rule2 = &rule2->power_rule; in reg_rules_intersect() 1354 power_rule = &intersected_rule->power_rule; in reg_rules_intersect() 1395 power_rule->max_eirp = min(power_rule1->max_eirp, in reg_rules_intersect() 1397 power_rule->max_antenna_gain = min(power_rule1->max_antenna_gain, in reg_rules_intersect() 1441 if ((r1->power_rule.max_antenna_gain > in rule_contains() 1442 r2->power_rule.max_antenna_gain) || in rule_contains() [all …]
|
H A D | nl80211.c | 8577 const struct ieee80211_power_rule *power_rule; in nl80211_put_regdom() local 8582 power_rule = ®_rule->power_rule; in nl80211_put_regdom() 8602 power_rule->max_antenna_gain) || in nl80211_put_regdom() 8604 power_rule->max_eirp) || in nl80211_put_regdom() 8788 struct ieee80211_power_rule *power_rule = ®_rule->power_rule; in parse_reg_rule() local 8810 power_rule->max_eirp = in parse_reg_rule() 8814 power_rule->max_antenna_gain = in parse_reg_rule()
|
/openbmc/linux/drivers/net/wireless/ath/ath12k/ |
H A D | reg.c | 369 new_rule->power_rule.max_antenna_gain = in ath12k_reg_intersect_rules() 370 min_t(u32, rule1->power_rule.max_antenna_gain, in ath12k_reg_intersect_rules() 371 rule2->power_rule.max_antenna_gain); in ath12k_reg_intersect_rules() 373 new_rule->power_rule.max_eirp = min_t(u32, rule1->power_rule.max_eirp, in ath12k_reg_intersect_rules() 374 rule2->power_rule.max_eirp); in ath12k_reg_intersect_rules() 481 reg_rule->power_rule.max_antenna_gain = DBI_TO_MBI(ant_gain); in ath12k_reg_update_rule() 482 reg_rule->power_rule.max_eirp = DBM_TO_MBM(reg_pwr); in ath12k_reg_update_rule()
|
/openbmc/linux/drivers/net/wireless/ath/ath11k/ |
H A D | reg.c | 408 new_rule->power_rule.max_antenna_gain = in ath11k_reg_intersect_rules() 409 min_t(u32, rule1->power_rule.max_antenna_gain, in ath11k_reg_intersect_rules() 410 rule2->power_rule.max_antenna_gain); in ath11k_reg_intersect_rules() 412 new_rule->power_rule.max_eirp = min_t(u32, rule1->power_rule.max_eirp, in ath11k_reg_intersect_rules() 413 rule2->power_rule.max_eirp); in ath11k_reg_intersect_rules() 525 reg_rule->power_rule.max_antenna_gain = DBI_TO_MBI(ant_gain); in ath11k_reg_update_rule() 526 reg_rule->power_rule.max_eirp = DBM_TO_MBM(reg_pwr); in ath11k_reg_update_rule()
|
/openbmc/linux/drivers/net/wireless/quantenna/qtnfmac/ |
H A D | qlink_util.c | 299 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()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-nvm-parse.c | 1703 rule->power_rule.max_antenna_gain = DBI_TO_MBI(6); in iwl_parse_nvm_mcc_info() 1704 rule->power_rule.max_eirp = in iwl_parse_nvm_mcc_info() 1740 rule->power_rule.max_antenna_gain = DBI_TO_MBI(6); in iwl_parse_nvm_mcc_info() 1741 rule->power_rule.max_eirp = in iwl_parse_nvm_mcc_info()
|
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | sta_cmdresp.c | 1108 rule->power_rule.max_eirp = DBM_TO_MBM(19); in mwifiex_create_custom_regdomain()
|