Lines Matching refs:num_bins
561 static void ath11k_spectral_parse_fft(u8 *outbins, u8 *inbins, int num_bins, u8 fft_sz) in ath11k_spectral_parse_fft() argument
567 while (i < num_bins) { in ath11k_spectral_parse_fft()
585 int tlv_len, bin_len, num_bins; in ath11k_spectral_process_fft() local
610 num_bins = bin_len / ATH11K_SPECTRAL_BIN_SIZE; in ath11k_spectral_process_fft()
612 num_bins >>= 1; in ath11k_spectral_process_fft()
614 if (num_bins < ATH11K_SPECTRAL_ATH11K_MIN_IB_BINS || in ath11k_spectral_process_fft()
615 num_bins > ATH11K_SPECTRAL_ATH11K_MAX_IB_BINS || in ath11k_spectral_process_fft()
616 !is_power_of_2(num_bins)) { in ath11k_spectral_process_fft()
617 ath11k_warn(ab, "Invalid num of bins %d\n", num_bins); in ath11k_spectral_process_fft()
640 length = sizeof(*fft_sample) - sizeof(struct fft_sample_tlv) + num_bins; in ath11k_spectral_process_fft()
659 ath11k_spectral_parse_fft(fft_sample->data, fft_report->bins, num_bins, in ath11k_spectral_process_fft()
664 num_bins, in ath11k_spectral_process_fft()