Lines Matching refs:common
149 struct ath_common *common = ath9k_hw_common(spec_priv->ah); in ath_cmn_process_ht20_fft() local
186 ath_dbg(common, SPECTRAL_SCAN, "FFT HT20 frame: max mag 0x%X," in ath_cmn_process_ht20_fft()
192 ath_dbg(common, SPECTRAL_SCAN, "Magnitude mismatch !\n"); in ath_cmn_process_ht20_fft()
218 ath_dbg(common, SPECTRAL_SCAN, in ath_cmn_process_ht20_fft()
224 ath_dbg(common, SPECTRAL_SCAN, in ath_cmn_process_ht20_fft()
229 ath_dbg(common, SPECTRAL_SCAN, in ath_cmn_process_ht20_fft()
253 struct ath_common *common = ath9k_hw_common(spec_priv->ah); in ath_cmn_process_ht20_40_fft() local
326 ath_dbg(common, SPECTRAL_SCAN, "FFT HT20/40 frame: lower mag 0x%X," in ath_cmn_process_ht20_40_fft()
357 ath_dbg(common, SPECTRAL_SCAN, "Magnitude mismatch !\n"); in ath_cmn_process_ht20_40_fft()
383 ath_dbg(common, SPECTRAL_SCAN, in ath_cmn_process_ht20_40_fft()
389 ath_dbg(common, SPECTRAL_SCAN, in ath_cmn_process_ht20_40_fft()
394 ath_dbg(common, SPECTRAL_SCAN, in ath_cmn_process_ht20_40_fft()
412 ath_dbg(common, SPECTRAL_SCAN, in ath_cmn_process_ht20_40_fft()
418 ath_dbg(common, SPECTRAL_SCAN, in ath_cmn_process_ht20_40_fft()
423 ath_dbg(common, SPECTRAL_SCAN, in ath_cmn_process_ht20_40_fft()
501 struct ath_common *common = ath9k_hw_common(spec_priv->ah); in ath_cmn_process_fft() local
536 ath_dbg(common, SPECTRAL_SCAN, "FFT report ignored, no space " in ath_cmn_process_fft()
541 chan_type = cfg80211_get_chandef_type(&common->hw->conf.chandef); in ath_cmn_process_fft()
557 ath_dbg(common, SPECTRAL_SCAN, "Got radar dump bw_info: 0x%X," in ath_cmn_process_fft()
615 ath_dbg(common, SPECTRAL_SCAN, in ath_cmn_process_fft()
636 ath_dbg(common, SPECTRAL_SCAN, "FFT frame len: %i\n", in ath_cmn_process_fft()
692 ath_dbg(common, SPECTRAL_SCAN, "FFT report truncated" in ath_cmn_process_fft()
728 void ath9k_cmn_spectral_scan_trigger(struct ath_common *common, in ath9k_cmn_spectral_scan_trigger() argument
738 ath_err(common, "spectrum analyzer not implemented on this hardware\n"); in ath9k_cmn_spectral_scan_trigger()
742 ath_ps_ops(common)->wakeup(common); in ath9k_cmn_spectral_scan_trigger()
753 ath9k_cmn_spectral_scan_config(common, spec_priv, spec_priv->spectral_mode); in ath9k_cmn_spectral_scan_trigger()
755 ath_ps_ops(common)->restore(common); in ath9k_cmn_spectral_scan_trigger()
759 int ath9k_cmn_spectral_scan_config(struct ath_common *common, in ath9k_cmn_spectral_scan_config() argument
766 ath_err(common, "spectrum analyzer not implemented on this hardware\n"); in ath9k_cmn_spectral_scan_config()
790 ath_ps_ops(common)->wakeup(common); in ath9k_cmn_spectral_scan_config()
792 ath_ps_ops(common)->restore(common); in ath9k_cmn_spectral_scan_config()
805 struct ath_common *common = ath9k_hw_common(spec_priv->ah); in write_file_spec_scan_ctl() local
819 ath9k_cmn_spectral_scan_trigger(common, spec_priv); in write_file_spec_scan_ctl()
821 ath9k_cmn_spectral_scan_config(common, spec_priv, SPECTRAL_BACKGROUND); in write_file_spec_scan_ctl()
822 ath_dbg(common, CONFIG, "spectral scan: background mode enabled\n"); in write_file_spec_scan_ctl()
824 ath9k_cmn_spectral_scan_config(common, spec_priv, SPECTRAL_CHANSCAN); in write_file_spec_scan_ctl()
825 ath_dbg(common, CONFIG, "spectral scan: channel scan mode enabled\n"); in write_file_spec_scan_ctl()
827 ath9k_cmn_spectral_scan_config(common, spec_priv, SPECTRAL_MANUAL); in write_file_spec_scan_ctl()
828 ath_dbg(common, CONFIG, "spectral scan: manual mode enabled\n"); in write_file_spec_scan_ctl()
830 ath9k_cmn_spectral_scan_config(common, spec_priv, SPECTRAL_DISABLED); in write_file_spec_scan_ctl()
831 ath_dbg(common, CONFIG, "spectral scan: disabled\n"); in write_file_spec_scan_ctl()