Home
last modified time | relevance | path

Searched refs:fft_sample (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A Dspectral.c68 struct fft_sample_ath10k *fft_sample; in ath10k_spectral_process_fft() local
94 fft_sample->chan_width_mhz = 22; in ath10k_spectral_process_fft()
97 fft_sample->chan_width_mhz = 44; in ath10k_spectral_process_fft()
108 fft_sample->chan_width_mhz = 88; in ath10k_spectral_process_fft()
120 fft_sample->rssi = phyerr->rssi_combined; in ath10k_spectral_process_fft()
129 fft_sample->freq1 = __cpu_to_be16(freq1); in ath10k_spectral_process_fft()
139 fft_sample->tsf = __cpu_to_be64(tsf); in ath10k_spectral_process_fft()
144 fft_sample->max_exp = get_max_exp(fft_sample->max_index, peak_mag, in ath10k_spectral_process_fft()
147 memcpy(fft_sample->data, bins, bin_len); in ath10k_spectral_process_fft()
153 fft_sample->data[dc_pos] = (fft_sample->data[dc_pos + 1] + in ath10k_spectral_process_fft()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Dspectral.c579 struct fft_sample_ath11k *fft_sample, in ath11k_spectral_process_fft() argument
672 fft_sample->freq1 = __cpu_to_be16(freq); in ath11k_spectral_process_fft()
675 fft_sample->freq2 = __cpu_to_be16(freq); in ath11k_spectral_process_fft()
682 fft_sample->freq1 = cpu_to_be16(freq); in ath11k_spectral_process_fft()
691 fft_sample->max_exp = ath11k_spectral_get_max_exp(fft_sample->max_index, in ath11k_spectral_process_fft()
694 fft_sample->data); in ath11k_spectral_process_fft()
710 struct fft_sample_ath11k *fft_sample = NULL; in ath11k_spectral_process_data() local
727 if (!fft_sample) { in ath11k_spectral_process_data()
802 memset(fft_sample, 0, sample_sz); in ath11k_spectral_process_data()
804 fft_sample, in ath11k_spectral_process_data()
[all …]