Lines Matching refs:max_antenna_gain
988 rrule->power_rule.max_antenna_gain = 0; in regdb_query_country()
1402 power_rule->max_antenna_gain = min(power_rule1->max_antenna_gain, in reg_rules_intersect()
1403 power_rule2->max_antenna_gain); in reg_rules_intersect()
1446 if ((r1->power_rule.max_antenna_gain > in rule_contains()
1447 r2->power_rule.max_antenna_gain) || in rule_contains()
1786 chan->max_antenna_gain = chan->orig_mag = in handle_channel_single_rule()
1787 (int) MBI_TO_DBI(power_rule->max_antenna_gain); in handle_channel_single_rule()
1805 chan->max_antenna_gain = in handle_channel_single_rule()
1807 MBI_TO_DBI(power_rule->max_antenna_gain)); in handle_channel_single_rule()
1868 chan->max_antenna_gain = in handle_channel_adjacent_rules()
1869 min_t(int, MBI_TO_DBI(power_rule1->max_antenna_gain), in handle_channel_adjacent_rules()
1870 MBI_TO_DBI(power_rule2->max_antenna_gain)); in handle_channel_adjacent_rules()
1871 chan->orig_mag = chan->max_antenna_gain; in handle_channel_adjacent_rules()
1909 chan->max_antenna_gain = in handle_channel_adjacent_rules()
1912 MBI_TO_DBI(power_rule1->max_antenna_gain), in handle_channel_adjacent_rules()
1913 MBI_TO_DBI(power_rule2->max_antenna_gain))); in handle_channel_adjacent_rules()
2532 chan->max_antenna_gain = (int) MBI_TO_DBI(power_rule->max_antenna_gain); in handle_channel_custom()
3406 chan->max_antenna_gain = chan->orig_mag; in restore_custom_reg_settings()
3684 if (power_rule->max_antenna_gain) in print_rd_rules()
3689 power_rule->max_antenna_gain, in print_rd_rules()