Lines Matching full:magnitude
145 u16 magnitude, tmp_mag, length; in ath_cmn_process_ht20_fft() local
158 magnitude = spectral_max_magnitude(mag_info->all_bins); in ath_cmn_process_ht20_fft()
159 fft_sample_20.max_magnitude = __cpu_to_be16(magnitude); in ath_cmn_process_ht20_fft()
176 magnitude >> max_exp, in ath_cmn_process_ht20_fft()
180 ((magnitude >> max_exp) & 0xf8)) { in ath_cmn_process_ht20_fft()
181 ath_dbg(common, SPECTRAL_SCAN, "Magnitude mismatch !\n"); in ath_cmn_process_ht20_fft()
191 /* Check if the maximum magnitude is indeed maximum, in ath_cmn_process_ht20_fft()
204 magnitude = tmp_mag << max_exp; in ath_cmn_process_ht20_fft()
205 fft_sample_20.max_magnitude = __cpu_to_be16(magnitude); in ath_cmn_process_ht20_fft()
212 if (fft_sample_20.data[i] == (magnitude >> max_exp)) in ath_cmn_process_ht20_fft()
217 if (fft_sample_20.data[i] > (magnitude >> max_exp)) { in ath_cmn_process_ht20_fft()
321 /* Check if we got the expected magnitude values at in ath_cmn_process_ht20_40_fft()
328 ath_dbg(common, SPECTRAL_SCAN, "Magnitude mismatch !\n"); in ath_cmn_process_ht20_40_fft()