Searched refs:dc_pos (Results 1 – 2 of 2) sorted by relevance
89 int dc_pos = SPECTRAL_HT20_40_NUM_BINS / 2; in ath_cmn_max_idx_verify_ht20_40_fft() local123 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() local199 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()[all …]
38 int dc_pos; in get_max_exp() local41 dc_pos = bin_len / 2; in get_max_exp()44 if (dc_pos < max_index || -dc_pos >= max_index) in get_max_exp()48 if (data[dc_pos + max_index] == (max_magnitude >> max_exp)) in get_max_exp()53 if (data[dc_pos + max_index] != (max_magnitude >> max_exp)) in get_max_exp()69 int dc_pos; in ath10k_spectral_process_fft() local155 dc_pos = bin_len / 2; in ath10k_spectral_process_fft()156 fft_sample->data[dc_pos] = (fft_sample->data[dc_pos + 1] + in ath10k_spectral_process_fft()157 fft_sample->data[dc_pos - 1]) / 2; in ath10k_spectral_process_fft()