Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/wireless/ath/
Dspectral_common.h58 __be16 max_magnitude; member
101 __be16 max_magnitude; member
121 __be16 max_magnitude; member
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Dspectral.c538 static u8 ath11k_spectral_get_max_exp(s8 max_index, u8 max_magnitude, in ath11k_spectral_get_max_exp() argument
551 if (bins[dc_pos + max_index] == (max_magnitude >> max_exp)) in ath11k_spectral_get_max_exp()
556 if (bins[dc_pos + max_index] != (max_magnitude >> max_exp)) in ath11k_spectral_get_max_exp()
663 fft_sample->max_magnitude = __cpu_to_be16(search.peak_mag); in ath11k_spectral_process_fft()