Lines Matching refs:sample_len
442 ath_cmn_copy_fft_frame(u8 *in, u8 *out, int sample_len, int sample_bytes) in ath_cmn_copy_fft_frame() argument
444 switch (sample_bytes - sample_len) { in ath_cmn_copy_fft_frame()
448 sample_len - 1); in ath_cmn_copy_fft_frame()
452 memcpy(out, in, sample_len); in ath_cmn_copy_fft_frame()
461 sample_len - 32); in ath_cmn_copy_fft_frame()
470 sample_len - 31); in ath_cmn_copy_fft_frame()
512 u16 fft_len, sample_len, freq = ah->curchan->chan->center_freq; in ath_cmn_process_fft() local
550 sample_len = SPECTRAL_HT20_40_SAMPLE_LEN; in ath_cmn_process_fft()
556 sample_len = SPECTRAL_HT20_SAMPLE_LEN; in ath_cmn_process_fft()
589 if (vdata[i] <= 0x7 && sample_bytes >= sample_len - 1) { in ath_cmn_process_fft()
608 if ((sample_bytes > sample_len + 2) || in ath_cmn_process_fft()
609 ((sample_bytes > sample_len) && in ath_cmn_process_fft()
627 (sample_bytes >= sample_len) && in ath_cmn_process_fft()
628 (sample_bytes < sample_len + 2) && in ath_cmn_process_fft()
633 else if ((sample_bytes == sample_len - 1) && in ath_cmn_process_fft()
647 if (sample_bytes != sample_len && len <= fft_len + 2) { in ath_cmn_process_fft()
649 sample_buf, sample_len, in ath_cmn_process_fft()
664 if (sample_bytes == sample_len) { in ath_cmn_process_fft()