Lines Matching refs:max_antenna_gain
955 rrule->power_rule.max_antenna_gain = 0; in regdb_query_country()
1398 power_rule->max_antenna_gain = min(power_rule1->max_antenna_gain, in reg_rules_intersect()
1399 power_rule2->max_antenna_gain); in reg_rules_intersect()
1442 if ((r1->power_rule.max_antenna_gain > in rule_contains()
1443 r2->power_rule.max_antenna_gain) || in rule_contains()
1800 chan->max_antenna_gain = chan->orig_mag = in handle_channel_single_rule()
1801 (int) MBI_TO_DBI(power_rule->max_antenna_gain); in handle_channel_single_rule()
1822 chan->max_antenna_gain = in handle_channel_single_rule()
1824 MBI_TO_DBI(power_rule->max_antenna_gain)); in handle_channel_single_rule()
1888 chan->max_antenna_gain = in handle_channel_adjacent_rules()
1889 min_t(int, MBI_TO_DBI(power_rule1->max_antenna_gain), in handle_channel_adjacent_rules()
1890 MBI_TO_DBI(power_rule2->max_antenna_gain)); in handle_channel_adjacent_rules()
1891 chan->orig_mag = chan->max_antenna_gain; in handle_channel_adjacent_rules()
1935 chan->max_antenna_gain = in handle_channel_adjacent_rules()
1938 MBI_TO_DBI(power_rule1->max_antenna_gain), in handle_channel_adjacent_rules()
1939 MBI_TO_DBI(power_rule2->max_antenna_gain))); in handle_channel_adjacent_rules()
2587 chan->max_antenna_gain = (int) MBI_TO_DBI(power_rule->max_antenna_gain); in handle_channel_custom()
3471 chan->max_antenna_gain = chan->orig_mag; in restore_custom_reg_settings()
3747 if (power_rule->max_antenna_gain) in print_rd_rules()
3752 power_rule->max_antenna_gain, in print_rd_rules()