Searched refs:power_rule (Results 1 – 7 of 7) sorted by relevance
222 struct ieee80211_power_rule power_rule; member242 .power_rule.max_antenna_gain = DBI_TO_MBI(gain), \243 .power_rule.max_eirp = DBM_TO_MBM(eirp), \
991 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() local1390 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 …]
8333 const struct ieee80211_power_rule *power_rule; in nl80211_put_regdom() local8338 power_rule = ®_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 = ®_rule->power_rule; in parse_reg_rule() local8566 power_rule->max_eirp = in parse_reg_rule()8570 power_rule->max_antenna_gain = in parse_reg_rule()
407 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()
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()
1448 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()
1108 rule->power_rule.max_eirp = DBM_TO_MBM(19); in mwifiex_create_custom_regdomain()