Lines Matching refs:dc_pos

89 	int dc_pos = SPECTRAL_HT20_40_NUM_BINS / 2;  in ath_cmn_max_idx_verify_ht20_40_fft()  local
123 if ((upper_max_index - dc_pos > 0) && in ath_cmn_max_idx_verify_ht20_40_fft()
125 upper_max_index -= dc_pos; in ath_cmn_max_idx_verify_ht20_40_fft()
127 if ((lower_max_index - dc_pos > 0) && in ath_cmn_max_idx_verify_ht20_40_fft()
128 (sample[lower_max_index - dc_pos] == (lower_mag >> max_exp))) in ath_cmn_max_idx_verify_ht20_40_fft()
129 lower_max_index -= dc_pos; in ath_cmn_max_idx_verify_ht20_40_fft()
131 if ((sample[upper_max_index + dc_pos] != (upper_mag >> max_exp)) || in ath_cmn_max_idx_verify_ht20_40_fft()
155 int dc_pos = SPECTRAL_HT20_NUM_BINS / 2; in ath_cmn_process_ht20_fft() local
199 fft_sample_20.data[dc_pos] = (fft_sample_20.data[dc_pos + 1] + in ath_cmn_process_ht20_fft()
200 fft_sample_20.data[dc_pos - 1]) / 2; in ath_cmn_process_ht20_fft()
206 if (max_index == dc_pos) { in ath_cmn_process_ht20_fft()
208 for (i = 0; i < dc_pos; i++) { in ath_cmn_process_ht20_fft()
258 int dc_pos = SPECTRAL_HT20_40_NUM_BINS / 2; in ath_cmn_process_ht20_40_fft() local
337 if ((upper_max_index - dc_pos > 0) && in ath_cmn_process_ht20_40_fft()
339 upper_max_index -= dc_pos; in ath_cmn_process_ht20_40_fft()
343 if ((lower_max_index - dc_pos > 0) && in ath_cmn_process_ht20_40_fft()
344 (fft_sample_40.data[lower_max_index - dc_pos] == in ath_cmn_process_ht20_40_fft()
346 lower_max_index -= dc_pos; in ath_cmn_process_ht20_40_fft()
353 if ((fft_sample_40.data[upper_max_index + dc_pos] in ath_cmn_process_ht20_40_fft()
364 fft_sample_40.data[dc_pos] = (fft_sample_40.data[dc_pos + 1] + in ath_cmn_process_ht20_40_fft()
365 fft_sample_40.data[dc_pos - 1]) / 2; in ath_cmn_process_ht20_40_fft()
371 if (lower_max_index == dc_pos) { in ath_cmn_process_ht20_40_fft()
373 for (i = 0; i < dc_pos; i++) { in ath_cmn_process_ht20_40_fft()
387 for (i = 0; i < dc_pos; i++) { in ath_cmn_process_ht20_40_fft()
401 if (upper_max_index == dc_pos) { in ath_cmn_process_ht20_40_fft()
403 for (i = dc_pos; i < SPECTRAL_HT20_40_NUM_BINS; i++) { in ath_cmn_process_ht20_40_fft()
416 for (i = dc_pos; i < SPECTRAL_HT20_40_NUM_BINS; i++) { in ath_cmn_process_ht20_40_fft()