Lines Matching refs:bw
1211 unsigned int bw = reg_get_max_bandwidth_from_range(rd, rule); in reg_get_max_bandwidth() local
1214 bw = min_t(unsigned int, bw, MHZ_TO_KHZ(160)); in reg_get_max_bandwidth()
1216 bw = min_t(unsigned int, bw, MHZ_TO_KHZ(80)); in reg_get_max_bandwidth()
1218 bw = min_t(unsigned int, bw, MHZ_TO_KHZ(40)); in reg_get_max_bandwidth()
1226 bw = min_t(unsigned int, bw, MHZ_TO_KHZ(20)); in reg_get_max_bandwidth()
1228 return bw; in reg_get_max_bandwidth()
1605 const struct ieee80211_regdomain *regd, u32 bw) in freq_reg_info_regd() argument
1629 bw_fits = cfg80211_does_bw_fit_range(fr, center_freq, bw); in freq_reg_info_regd()
1648 u32 bw; in __freq_reg_info() local
1650 for (bw = MHZ_TO_KHZ(bws[i]); bw >= min_bw; bw = MHZ_TO_KHZ(bws[i--])) { in __freq_reg_info()
1651 reg_rule = freq_reg_info_regd(center_freq, regd, bw); in __freq_reg_info()
2558 u32 bw, center_freq_khz; in handle_channel_custom() local
2561 for (bw = MHZ_TO_KHZ(20); bw >= min_bw; bw = bw / 2) { in handle_channel_custom()
2562 reg_rule = freq_reg_info_regd(center_freq_khz, regd, bw); in handle_channel_custom()
3723 char bw[32], cac_time[32]; in print_rd_rules() local
3733 snprintf(bw, sizeof(bw), "%d KHz, %u KHz AUTO", in print_rd_rules()
3737 snprintf(bw, sizeof(bw), "%d KHz", in print_rd_rules()
3755 bw, in print_rd_rules()
3763 bw, in print_rd_rules()