Lines Matching refs:op_bw
689 enum phy_ch_width op_bw, in target_if_is_sscan_bw_supported() argument
697 if (op_bw >= CH_WIDTH_INVALID) { in target_if_is_sscan_bw_supported()
698 spectral_err("Invalid channel width %d", op_bw); in target_if_is_sscan_bw_supported()
709 supported_bws = &spectral->supported_bws[smode][op_bw]; in target_if_is_sscan_bw_supported()
728 enum phy_ch_width op_bw) in get_max_sscan_bw() argument
733 supported_bws = &spectral->supported_bws[smode][op_bw]; in get_max_sscan_bw()
734 op_bw_pos = get_supported_sscan_bw_pos(op_bw); in get_max_sscan_bw()
758 enum phy_ch_width op_bw, in target_if_spectral_find_agile_width() argument
783 op_bw); in target_if_spectral_find_agile_width()
787 switch (op_bw) { in target_if_spectral_find_agile_width()
2062 enum phy_ch_width op_bw; in target_if_init_spectral_param_min_max_be() local
2069 for (op_bw = CH_WIDTH_20MHZ; op_bw < CH_WIDTH_MAX; op_bw++) { in target_if_init_spectral_param_min_max_be()
2073 op_bw, &is_supported); in target_if_init_spectral_param_min_max_be()
2076 op_bw); in target_if_init_spectral_param_min_max_be()
2081 param_min_max->fft_size_max[op_bw] = INVALID_FFT_SIZE; in target_if_init_spectral_param_min_max_be()
2085 switch (op_bw) { in target_if_init_spectral_param_min_max_be()
2087 param_min_max->fft_size_max[op_bw] = in target_if_init_spectral_param_min_max_be()
2092 param_min_max->fft_size_max[op_bw] = in target_if_init_spectral_param_min_max_be()
2097 param_min_max->fft_size_max[op_bw] = in target_if_init_spectral_param_min_max_be()
2271 enum phy_ch_width op_bw; in target_if_populate_supported_sscan_bws_be() local
2281 op_bw = CH_WIDTH_20MHZ; in target_if_populate_supported_sscan_bws_be()
2283 [SPECTRAL_SCAN_MODE_NORMAL][op_bw]; in target_if_populate_supported_sscan_bws_be()
2284 supported_bws->bandwidths |= 1 << get_supported_sscan_bw_pos(op_bw); in target_if_populate_supported_sscan_bws_be()
2286 [SPECTRAL_SCAN_MODE_NORMAL][op_bw] = true; in target_if_populate_supported_sscan_bws_be()
2288 [SPECTRAL_SCAN_MODE_AGILE][op_bw]; in target_if_populate_supported_sscan_bws_be()
2289 supported_bws->bandwidths |= 1 << get_supported_sscan_bw_pos(op_bw); in target_if_populate_supported_sscan_bws_be()
2291 [SPECTRAL_SCAN_MODE_AGILE][op_bw] = true; in target_if_populate_supported_sscan_bws_be()
2293 for (op_bw = CH_WIDTH_40MHZ; op_bw < CH_WIDTH_MAX; op_bw++) { in target_if_populate_supported_sscan_bws_be()
2298 op_bw, &is_supported); in target_if_populate_supported_sscan_bws_be()
2301 op_bw); in target_if_populate_supported_sscan_bws_be()
2308 spectral_debug("Updating supported bw for op_bw: %d", op_bw); in target_if_populate_supported_sscan_bws_be()
2311 [SPECTRAL_SCAN_MODE_NORMAL][op_bw]; in target_if_populate_supported_sscan_bws_be()
2313 1 << get_supported_sscan_bw_pos(op_bw); in target_if_populate_supported_sscan_bws_be()
2315 [SPECTRAL_SCAN_MODE_NORMAL][op_bw] = true; in target_if_populate_supported_sscan_bws_be()
2319 [SPECTRAL_SCAN_MODE_AGILE][op_bw]; in target_if_populate_supported_sscan_bws_be()
2321 1 << get_supported_sscan_bw_pos(op_bw); in target_if_populate_supported_sscan_bws_be()
2323 [SPECTRAL_SCAN_MODE_AGILE][op_bw] = true; in target_if_populate_supported_sscan_bws_be()
2325 half_op_bw = target_if_get_half_bandwidth(op_bw); in target_if_populate_supported_sscan_bws_be()
2350 enum phy_ch_width op_bw; in target_if_populate_supported_sscan_bws() local
2369 for (op_bw = CH_WIDTH_20MHZ; op_bw < CH_WIDTH_MAX; op_bw++) { in target_if_populate_supported_sscan_bws()
2373 op_bw, &is_supported); in target_if_populate_supported_sscan_bws()
2376 op_bw); in target_if_populate_supported_sscan_bws()
2383 spectral_debug("Updating supported bw for op_bw: %d", op_bw); in target_if_populate_supported_sscan_bws()
2386 supported_bws = &spectral->supported_bws[smode][op_bw]; in target_if_populate_supported_sscan_bws()
2388 if (is_ch_width_160_or_80p80(op_bw) && in target_if_populate_supported_sscan_bws()
2417 if (op_bw == CH_WIDTH_160MHZ) { in target_if_populate_supported_sscan_bws()
2428 op_bw); in target_if_populate_supported_sscan_bws()
2430 [smode][op_bw] = true; in target_if_populate_supported_sscan_bws()
4483 enum phy_ch_width op_bw; in _target_if_set_spectral_config() local
4769 op_bw = target_if_vdev_get_ch_width(vdev); in _target_if_set_spectral_config()
4775 param->value, op_bw, &is_bw_supported, in _target_if_set_spectral_config()
4785 param->value, op_bw, smode); in _target_if_set_spectral_config()