Home
last modified time | relevance | path

Searched refs:max_magnitude (Results 1 – 4 of 4) sorted by relevance

/drivers/net/wireless/ath/
Dspectral_common.h59 __be16 max_magnitude; member
102 __be16 max_magnitude; member
122 __be16 max_magnitude; member
/drivers/net/wireless/ath/ath10k/
Dspectral.c24 static uint8_t get_max_exp(s8 max_index, u16 max_magnitude, size_t bin_len, in get_max_exp() argument
37 if (data[dc_pos + max_index] == (max_magnitude >> max_exp)) in get_max_exp()
42 if (data[dc_pos + max_index] != (max_magnitude >> max_exp)) in get_max_exp()
118 fft_sample->max_magnitude = __cpu_to_be16(peak_mag); in ath10k_spectral_process_fft()
/drivers/net/wireless/ath/ath9k/
Dcommon-spectral.c47 u16 max_magnitude; in ath_cmn_max_idx_verify_ht20_fft() local
63 max_magnitude = spectral_max_magnitude(mag_info->all_bins); in ath_cmn_max_idx_verify_ht20_fft()
74 if ((sample[max_index] & 0xf8) != ((max_magnitude >> max_exp) & 0xf8)) in ath_cmn_max_idx_verify_ht20_fft()
158 fft_sample_20.max_magnitude = __cpu_to_be16(magnitude); in ath_cmn_process_ht20_fft()
204 fft_sample_20.max_magnitude = __cpu_to_be16(magnitude); in ath_cmn_process_ht20_fft()
/drivers/net/wireless/ath/ath11k/
Dspectral.c537 static u8 ath11k_spectral_get_max_exp(s8 max_index, u8 max_magnitude, in ath11k_spectral_get_max_exp() argument
550 if (bins[dc_pos + max_index] == (max_magnitude >> max_exp)) in ath11k_spectral_get_max_exp()
555 if (bins[dc_pos + max_index] != (max_magnitude >> max_exp)) in ath11k_spectral_get_max_exp()
645 fft_sample->max_magnitude = __cpu_to_be16(search.peak_mag); in ath11k_spectral_process_fft()