Lines Matching refs:max_exp
49 u8 max_exp; in ath_cmn_max_idx_verify_ht20_fft() local
66 max_exp = mag_info->max_exp & 0xf; in ath_cmn_max_idx_verify_ht20_fft()
75 if (sample[max_index] != (max_magnitude >> max_exp)) in ath_cmn_max_idx_verify_ht20_fft()
88 u8 max_exp; in ath_cmn_max_idx_verify_ht20_40_fft() local
110 max_exp = mag_info->max_exp & 0xf; 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()
128 (sample[lower_max_index - dc_pos] == (lower_mag >> max_exp))) 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()
132 (sample[lower_max_index] != (lower_mag >> max_exp))) in ath_cmn_max_idx_verify_ht20_40_fft()
157 u8 max_index, bitmap_w, max_exp; in ath_cmn_process_ht20_fft() local
179 max_exp = mag_info->max_exp & 0xf; in ath_cmn_process_ht20_fft()
180 fft_sample_20.max_exp = max_exp; in ath_cmn_process_ht20_fft()
188 magnitude >> max_exp, in ath_cmn_process_ht20_fft()
191 if (fft_sample_20.data[max_index] != (magnitude >> max_exp)) { in ath_cmn_process_ht20_fft()
215 magnitude = tmp_mag << max_exp; in ath_cmn_process_ht20_fft()
223 if (fft_sample_20.data[i] == (magnitude >> max_exp)) in ath_cmn_process_ht20_fft()
228 if (fft_sample_20.data[i] > (magnitude >> max_exp)) { in ath_cmn_process_ht20_fft()
265 u8 lower_bitmap_w, upper_bitmap_w, max_exp; in ath_cmn_process_ht20_40_fft() local
319 max_exp = mag_info->max_exp & 0xf; in ath_cmn_process_ht20_40_fft()
320 fft_sample_40.max_exp = max_exp; in ath_cmn_process_ht20_40_fft()
329 lower_mag >> max_exp, in ath_cmn_process_ht20_40_fft()
331 upper_mag >> max_exp, 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()
345 (lower_mag >> max_exp))) { in ath_cmn_process_ht20_40_fft()
354 != (upper_mag >> max_exp)) || in ath_cmn_process_ht20_40_fft()
356 != (lower_mag >> max_exp))) { in ath_cmn_process_ht20_40_fft()
380 lower_mag = tmp_mag << max_exp; in ath_cmn_process_ht20_40_fft()
388 if (fft_sample_40.data[i] == (lower_mag >> max_exp)) in ath_cmn_process_ht20_40_fft()
393 if (fft_sample_40.data[i] > (lower_mag >> max_exp)) { in ath_cmn_process_ht20_40_fft()
409 upper_mag = tmp_mag << max_exp; in ath_cmn_process_ht20_40_fft()
417 if (fft_sample_40.data[i] == (upper_mag >> max_exp)) in ath_cmn_process_ht20_40_fft()
422 if (fft_sample_40.data[i] > (upper_mag >> max_exp)) { in ath_cmn_process_ht20_40_fft()