Lines Matching refs:max_bandwidth_khz
969 rrule->freq_range.max_bandwidth_khz = be32_to_cpu(rule->max_bw); in regdb_query_country()
1242 freq_range->max_bandwidth_khz > freq_diff) in is_valid_reg_rule()
1361 max_bandwidth1 = freq_range1->max_bandwidth_khz; in reg_rules_intersect()
1362 max_bandwidth2 = freq_range2->max_bandwidth_khz; in reg_rules_intersect()
1369 freq_range->max_bandwidth_khz = min(max_bandwidth1, max_bandwidth2); in reg_rules_intersect()
1388 if (freq_range->max_bandwidth_khz > freq_diff) in reg_rules_intersect()
1389 freq_range->max_bandwidth_khz = freq_diff; in reg_rules_intersect()
1448 if (r1->freq_range.max_bandwidth_khz < in rule_contains()
1449 r2->freq_range.max_bandwidth_khz) in rule_contains()
1675 u32 max_bandwidth_khz, center_freq_khz, bw_flags = 0; in reg_rule_to_chan_bw_flags() local
1680 max_bandwidth_khz = freq_range->max_bandwidth_khz; in reg_rule_to_chan_bw_flags()
1684 max_bandwidth_khz = reg_get_max_bandwidth(regd, reg_rule); in reg_rule_to_chan_bw_flags()
1702 int ch_bw = max_bandwidth_khz; in reg_rule_to_chan_bw_flags()
1736 if (max_bandwidth_khz < MHZ_TO_KHZ(10)) in reg_rule_to_chan_bw_flags()
1738 if (max_bandwidth_khz < MHZ_TO_KHZ(20)) in reg_rule_to_chan_bw_flags()
1740 if (max_bandwidth_khz < MHZ_TO_KHZ(40)) in reg_rule_to_chan_bw_flags()
1742 if (max_bandwidth_khz < MHZ_TO_KHZ(80)) in reg_rule_to_chan_bw_flags()
1744 if (max_bandwidth_khz < MHZ_TO_KHZ(160)) in reg_rule_to_chan_bw_flags()
1971 comb_range.max_bandwidth_khz = in handle_channel()
1973 rrule1->freq_range.max_bandwidth_khz, in handle_channel()
1974 rrule2->freq_range.max_bandwidth_khz); in handle_channel()
3630 freq_range->max_bandwidth_khz, in print_rd_rules()
3634 freq_range->max_bandwidth_khz); in print_rd_rules()