Lines Matching defs:power_rule
493 struct ieee80211_power_rule *power_rule;
500 power_rule1 = &rule1->power_rule;
501 power_rule2 = &rule2->power_rule;
502 power_rule = &intersected_rule->power_rule;
515 power_rule->max_eirp = min(power_rule1->max_eirp,
517 power_rule->max_antenna_gain = min(power_rule1->max_antenna_gain,
673 pr = &rr->power_rule;
731 const struct ieee80211_power_rule *power_rule = NULL;
755 power_rule = ®_rule->power_rule;
772 (int) MBI_TO_DBI(power_rule->max_antenna_gain);
774 (int) MBM_TO_DBM(power_rule->max_eirp);
780 (int) MBI_TO_DBI(power_rule->max_antenna_gain));
783 (int) MBM_TO_DBM(power_rule->max_eirp));
785 chan->max_power = (int) MBM_TO_DBM(power_rule->max_eirp);
1055 const struct ieee80211_power_rule *power_rule = NULL;
1077 power_rule = ®_rule->power_rule;
1084 chan->max_antenna_gain = (int) MBI_TO_DBI(power_rule->max_antenna_gain);
1085 chan->max_power = (int) MBM_TO_DBM(power_rule->max_eirp);
1721 const struct ieee80211_power_rule *power_rule = NULL;
1729 power_rule = ®_rule->power_rule;
1735 if (power_rule->max_antenna_gain)
1741 power_rule->max_antenna_gain,
1742 power_rule->max_eirp);
1749 power_rule->max_eirp);