Lines Matching refs:lower_max_index
87 u8 lower_max_index, upper_max_index; in ath_cmn_max_idx_verify_ht20_40_fft() local
103 lower_max_index = spectral_max_index(mag_info->lower_bins, in ath_cmn_max_idx_verify_ht20_40_fft()
117 ((upper_max_index < 1) || (lower_max_index < 1))) 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()
132 (sample[lower_max_index] != (lower_mag >> max_exp))) in ath_cmn_max_idx_verify_ht20_40_fft()
264 u8 lower_max_index, upper_max_index; in ath_cmn_process_ht20_40_fft() local
305 lower_max_index = spectral_max_index(mag_info->lower_bins, in ath_cmn_process_ht20_40_fft()
307 fft_sample_40.lower_max_index = lower_max_index; in ath_cmn_process_ht20_40_fft()
330 lower_max_index, 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()
347 fft_sample_40.lower_max_index = lower_max_index; in ath_cmn_process_ht20_40_fft()
355 (fft_sample_40.data[lower_max_index] in ath_cmn_process_ht20_40_fft()
371 if (lower_max_index == dc_pos) { in ath_cmn_process_ht20_40_fft()
376 fft_sample_40.lower_max_index = i; in ath_cmn_process_ht20_40_fft()
385 tmp_mag, fft_sample_40.lower_max_index); in ath_cmn_process_ht20_40_fft()