Lines Matching refs:upper_max_index
87 u8 lower_max_index, upper_max_index; in ath_cmn_max_idx_verify_ht20_40_fft() local
107 upper_max_index = spectral_max_index(mag_info->upper_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()
123 if ((upper_max_index - dc_pos > 0) && in ath_cmn_max_idx_verify_ht20_40_fft()
124 (sample[upper_max_index] == (upper_mag >> max_exp))) in ath_cmn_max_idx_verify_ht20_40_fft()
125 upper_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()
264 u8 lower_max_index, upper_max_index; in ath_cmn_process_ht20_40_fft() local
309 upper_max_index = spectral_max_index(mag_info->upper_bins, in ath_cmn_process_ht20_40_fft()
311 fft_sample_40.upper_max_index = upper_max_index; in ath_cmn_process_ht20_40_fft()
332 upper_max_index); in ath_cmn_process_ht20_40_fft()
337 if ((upper_max_index - dc_pos > 0) && in ath_cmn_process_ht20_40_fft()
338 (fft_sample_40.data[upper_max_index] == (upper_mag >> max_exp))) { in ath_cmn_process_ht20_40_fft()
339 upper_max_index -= dc_pos; in ath_cmn_process_ht20_40_fft()
340 fft_sample_40.upper_max_index = upper_max_index; 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()
401 if (upper_max_index == dc_pos) { in ath_cmn_process_ht20_40_fft()
406 fft_sample_40.upper_max_index = i; in ath_cmn_process_ht20_40_fft()