Lines Matching refs:sample_len
412 ath_cmn_copy_fft_frame(u8 *in, u8 *out, int sample_len, int sample_bytes) in ath_cmn_copy_fft_frame() argument
414 switch (sample_bytes - sample_len) { in ath_cmn_copy_fft_frame()
418 sample_len - 1); in ath_cmn_copy_fft_frame()
422 memcpy(out, in, sample_len); in ath_cmn_copy_fft_frame()
431 sample_len - 32); in ath_cmn_copy_fft_frame()
440 sample_len - 31); in ath_cmn_copy_fft_frame()
483 u16 fft_len, sample_len, freq = ah->curchan->chan->center_freq; in ath_cmn_process_fft() local
521 sample_len = SPECTRAL_HT20_40_SAMPLE_LEN; in ath_cmn_process_fft()
527 sample_len = SPECTRAL_HT20_SAMPLE_LEN; in ath_cmn_process_fft()
560 if (vdata[i] <= 0x7 && sample_bytes >= sample_len - 1) { in ath_cmn_process_fft()
579 if ((sample_bytes > sample_len + 2) || in ath_cmn_process_fft()
580 ((sample_bytes > sample_len) && in ath_cmn_process_fft()
598 (sample_bytes >= sample_len) && in ath_cmn_process_fft()
599 (sample_bytes < sample_len + 2) && in ath_cmn_process_fft()
604 else if ((sample_bytes == sample_len - 1) && in ath_cmn_process_fft()
618 if (sample_bytes != sample_len && len <= fft_len + 2) { in ath_cmn_process_fft()
620 sample_buf, sample_len, in ath_cmn_process_fft()
640 if (sample_bytes == sample_len) { in ath_cmn_process_fft()