Lines Matching refs:ch_width

3505 	enum phy_ch_width ch_width;  in target_if_spectral_detector_list_init()  local
3570 ch_width = CH_WIDTH_20MHZ; in target_if_spectral_detector_list_init()
3571 for (; ch_width < CH_WIDTH_MAX; ch_width++) { in target_if_spectral_detector_list_init()
3579 if (!spectral->supported_sscan_bw_list[smode][ch_width]) in target_if_spectral_detector_list_init()
3582 det_list = &spectral->detector_list[smode][ch_width]; in target_if_spectral_detector_list_init()
3590 if (is_ch_width_160_or_80p80(ch_width) && in target_if_spectral_detector_list_init()
3599 if (!spectral->supported_sscan_bw_list[smode][ch_width]) { in target_if_spectral_detector_list_init()
3604 det_list = &spectral->detector_list[smode][ch_width]; in target_if_spectral_detector_list_init()
4007 enum phy_ch_width *ch_width, in target_if_calculate_center_freq() argument
4018 if (!ch_width) { in target_if_calculate_center_freq()
4022 agile_ch_width = ch_width[SPECTRAL_SCAN_MODE_AGILE]; in target_if_calculate_center_freq()
4071 enum phy_ch_width *ch_width, in target_if_validate_center_freq() argument
4084 if (!ch_width) { in target_if_validate_center_freq()
4088 agile_ch_width = ch_width[SPECTRAL_SCAN_MODE_AGILE]; in target_if_validate_center_freq()
4163 enum phy_ch_width *ch_width, in target_if_is_agile_span_overlap_with_operating_span() argument
4190 if (!ch_width) { in target_if_is_agile_span_overlap_with_operating_span()
4194 op_ch_width = ch_width[SPECTRAL_SCAN_MODE_NORMAL]; in target_if_is_agile_span_overlap_with_operating_span()
4199 agile_ch_width = ch_width[SPECTRAL_SCAN_MODE_AGILE]; in target_if_is_agile_span_overlap_with_operating_span()
4319 enum phy_ch_width *ch_width, in target_if_spectral_populate_chwidth() argument
4333 ch_width[smode] = spectral->params[smode].ss_bandwidth; in target_if_spectral_populate_chwidth()
4336 ch_width[smode] = get_default_sscan_bw(spectral, smode, in target_if_spectral_populate_chwidth()
4338 if (ch_width[smode] >= CH_WIDTH_INVALID) { in target_if_spectral_populate_chwidth()
4340 ch_width[smode]); in target_if_spectral_populate_chwidth()
4343 spectral->params[smode].ss_bandwidth = ch_width[smode]; in target_if_spectral_populate_chwidth()
4400 ch_params.ch_width = CH_WIDTH_80P80MHZ; in target_if_spectral_is_valid_80p80_freq()
4408 if (ch_params.ch_width != CH_WIDTH_80P80MHZ) { in target_if_spectral_is_valid_80p80_freq()
4419 temp_params.ch_width = CH_WIDTH_80MHZ; in target_if_spectral_is_valid_80p80_freq()
4431 temp_params.ch_width = CH_WIDTH_80MHZ; in target_if_spectral_is_valid_80p80_freq()
4478 enum phy_ch_width ch_width[SPECTRAL_SCAN_MODE_MAX]; in _target_if_set_spectral_config() local
4512 ch_width[m] = CH_WIDTH_INVALID; in _target_if_set_spectral_config()
4567 (spectral, ch_width, spectral->params in _target_if_set_spectral_config()
4573 [ch_width[smode]])) { in _target_if_set_spectral_config()
4628 spectral, ch_width, param->freq.cfreq2 > 0); in _target_if_set_spectral_config()
4634 if (ch_width[smode] != CH_WIDTH_80P80MHZ && in _target_if_set_spectral_config()
4641 if (ch_width[smode] == CH_WIDTH_80P80MHZ && in _target_if_set_spectral_config()
4656 spectral, ch_width, in _target_if_set_spectral_config()
4667 (spectral, ch_width, param->freq.cfreq1, in _target_if_set_spectral_config()
4682 if (ch_width[smode] == CH_WIDTH_80P80MHZ) { in _target_if_set_spectral_config()
4691 spectral, ch_width, in _target_if_set_spectral_config()
4702 (spectral, ch_width, param->freq.cfreq2, in _target_if_set_spectral_config()
4719 (spectral, ch_width, in _target_if_set_spectral_config()
4731 if (ch_width[smode] == CH_WIDTH_80P80MHZ) { in _target_if_set_spectral_config()
5009 enum phy_ch_width ch_width, in target_if_spectral_get_num_detectors_for_higher_bws() argument
5012 switch (ch_width) { in target_if_spectral_get_num_detectors_for_higher_bws()
5018 spectral_err("Unsupported channel width %d", ch_width); in target_if_spectral_get_num_detectors_for_higher_bws()
5028 enum phy_ch_width ch_width, in target_if_spectral_get_num_detectors_for_higher_bws() argument
5031 spectral_err("Unsupported channel width %d", ch_width); in target_if_spectral_get_num_detectors_for_higher_bws()
5049 enum phy_ch_width ch_width, in target_if_spectral_get_num_detectors() argument
5057 if (ch_width >= CH_WIDTH_INVALID) { in target_if_spectral_get_num_detectors()
5058 spectral_err("Invalid channel width %d", ch_width); in target_if_spectral_get_num_detectors()
5067 switch (ch_width) { in target_if_spectral_get_num_detectors()
5090 spectral, ch_width, num_detectors); in target_if_spectral_get_num_detectors()
5112 enum phy_ch_width ch_width; in target_if_spectral_finite_scan_init() local
5127 ch_width = spectral->ch_width[smode]; in target_if_spectral_finite_scan_init()
5128 status = target_if_spectral_get_num_detectors(spectral, ch_width, in target_if_spectral_finite_scan_init()
5221 if (spectral->ch_width[smode] == CH_WIDTH_20MHZ) { in target_if_spectral_scan_enable_params()
5241 } else if (spectral->ch_width[smode] == CH_WIDTH_40MHZ) { in target_if_spectral_scan_enable_params()
5270 } else if (spectral->ch_width[smode] == CH_WIDTH_80MHZ) { in target_if_spectral_scan_enable_params()
5309 spectral->ch_width[smode])) { in target_if_spectral_scan_enable_params()
5640 enum phy_ch_width ch_width; in target_if_is_agile_supported_cur_chmask() local
5683 ch_width = target_if_vdev_get_ch_width(vdev); in target_if_is_agile_supported_cur_chmask()
5684 if (ch_width == CH_WIDTH_INVALID) { in target_if_is_agile_supported_cur_chmask()
5725 if (ch_width <= CH_WIDTH_80MHZ) in target_if_is_agile_supported_cur_chmask()
5815 rpt_info->operating_bw = spectral->ch_width[SPECTRAL_SCAN_MODE_NORMAL]; in target_if_spectral_populate_session_report_info()
5816 rpt_info->sscan_bw = spectral->ch_width[smode]; in target_if_spectral_populate_session_report_info()
6141 enum phy_ch_width ch_width[SPECTRAL_SCAN_MODE_MAX]; in target_if_start_spectral_scan() local
6147 ch_width[m] = CH_WIDTH_INVALID; in target_if_start_spectral_scan()
6149 (spectral, ch_width, spectral->params in target_if_start_spectral_scan()
6156 agile_ch_width = ch_width[SPECTRAL_SCAN_MODE_AGILE]; in target_if_start_spectral_scan()
6172 (spectral, ch_width, in target_if_start_spectral_scan()
6196 spectral, spectral->ch_width, in target_if_start_spectral_scan()