Lines Matching refs:max_bandwidth_khz
967 rrule->freq_range.max_bandwidth_khz = be32_to_cpu(rule->max_bw); in regdb_query_country()
1232 freq_range->max_bandwidth_khz > freq_diff) in is_valid_reg_rule()
1351 max_bandwidth1 = freq_range1->max_bandwidth_khz; in reg_rules_intersect()
1352 max_bandwidth2 = freq_range2->max_bandwidth_khz; in reg_rules_intersect()
1359 freq_range->max_bandwidth_khz = min(max_bandwidth1, max_bandwidth2); in reg_rules_intersect()
1378 if (freq_range->max_bandwidth_khz > freq_diff) in reg_rules_intersect()
1379 freq_range->max_bandwidth_khz = freq_diff; in reg_rules_intersect()
1438 if (r1->freq_range.max_bandwidth_khz < in rule_contains()
1439 r2->freq_range.max_bandwidth_khz) in rule_contains()
1665 u32 max_bandwidth_khz, center_freq_khz, bw_flags = 0; in reg_rule_to_chan_bw_flags() local
1670 max_bandwidth_khz = freq_range->max_bandwidth_khz; in reg_rule_to_chan_bw_flags()
1674 max_bandwidth_khz = reg_get_max_bandwidth(regd, reg_rule); in reg_rule_to_chan_bw_flags()
1692 int ch_bw = max_bandwidth_khz; in reg_rule_to_chan_bw_flags()
1726 if (max_bandwidth_khz < MHZ_TO_KHZ(10)) in reg_rule_to_chan_bw_flags()
1728 if (max_bandwidth_khz < MHZ_TO_KHZ(20)) in reg_rule_to_chan_bw_flags()
1730 if (max_bandwidth_khz < MHZ_TO_KHZ(40)) in reg_rule_to_chan_bw_flags()
1732 if (max_bandwidth_khz < MHZ_TO_KHZ(80)) in reg_rule_to_chan_bw_flags()
1734 if (max_bandwidth_khz < MHZ_TO_KHZ(160)) in reg_rule_to_chan_bw_flags()
1961 comb_range.max_bandwidth_khz = in handle_channel()
1963 rrule1->freq_range.max_bandwidth_khz, in handle_channel()
1964 rrule2->freq_range.max_bandwidth_khz); in handle_channel()
3620 freq_range->max_bandwidth_khz, in print_rd_rules()
3624 freq_range->max_bandwidth_khz); in print_rd_rules()