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()
510 u16 fft_len, sample_len, freq = ah->curchan->chan->center_freq; in ath_cmn_process_fft() local
545 sample_len = SPECTRAL_HT20_40_SAMPLE_LEN; in ath_cmn_process_fft()
551 sample_len = SPECTRAL_HT20_SAMPLE_LEN; in ath_cmn_process_fft()
584 if (vdata[i] <= 0x7 && sample_bytes >= sample_len - 1) { in ath_cmn_process_fft()
603 if ((sample_bytes > sample_len + 2) || in ath_cmn_process_fft()
604 ((sample_bytes > sample_len) && in ath_cmn_process_fft()
622 (sample_bytes >= sample_len) && in ath_cmn_process_fft()
623 (sample_bytes < sample_len + 2) && in ath_cmn_process_fft()
628 else if ((sample_bytes == sample_len - 1) && in ath_cmn_process_fft()
642 if (sample_bytes != sample_len && len <= fft_len + 2) { in ath_cmn_process_fft()
644 sample_buf, sample_len, in ath_cmn_process_fft()
659 if (sample_bytes == sample_len) { in ath_cmn_process_fft()