Lines Matching refs:spectral

16 	if (!ar->spectral.rfs_chan_spec_scan)  in send_fft_sample()
21 relay_write(ar->spectral.rfs_chan_spec_scan, fft_sample_tlv, length); in send_fft_sample()
192 if (ar->spectral.mode == SPECTRAL_DISABLED) in ath10k_spectral_scan_trigger()
226 ar->spectral.mode = mode; in ath10k_spectral_scan_config()
242 count = max_t(u8, 1, ar->spectral.config.count); in ath10k_spectral_scan_config()
248 arg.scan_fft_size = ar->spectral.config.fft_size; in ath10k_spectral_scan_config()
282 spectral_mode = ar->spectral.mode; in read_file_spec_scan_ctl()
319 if (ar->spectral.mode == SPECTRAL_MANUAL || in write_file_spec_scan_ctl()
320 ar->spectral.mode == SPECTRAL_BACKGROUND) { in write_file_spec_scan_ctl()
325 ar->spectral.mode); in write_file_spec_scan_ctl()
374 spectral_count = ar->spectral.config.count; in read_file_spectral_count()
402 ar->spectral.config.count = val; in write_file_spectral_count()
427 fft_size = ar->spectral.config.fft_size; in read_file_spectral_bins()
461 ar->spectral.config.fft_size = ilog2(val); in write_file_spectral_bins()
462 ar->spectral.config.fft_size += WMI_SPECTRAL_BIN_SCALE_DEFAULT; in write_file_spectral_bins()
514 ar->spectral.mode = SPECTRAL_DISABLED; in ath10k_spectral_start()
515 ar->spectral.config.count = WMI_SPECTRAL_COUNT_DEFAULT; in ath10k_spectral_start()
516 ar->spectral.config.fft_size = WMI_SPECTRAL_FFT_SIZE_DEFAULT; in ath10k_spectral_start()
534 ar->spectral.rfs_chan_spec_scan = relay_open("spectral_scan", in ath10k_spectral_create()
556 if (ar->spectral.rfs_chan_spec_scan) { in ath10k_spectral_destroy()
557 relay_close(ar->spectral.rfs_chan_spec_scan); in ath10k_spectral_destroy()
558 ar->spectral.rfs_chan_spec_scan = NULL; in ath10k_spectral_destroy()