u64 dfs_prev_pulse_ts;
        u32 wow_enabled;
        /* relay(fs) channel for spectral scan */
-       enum spectral_mode spectral_mode;
        struct ath_spec_scan spec_config;
        struct ath_spec_scan_priv spec_priv;
 
 
        } else {
                /* perform spectral scan if requested. */
                if (test_bit(ATH_OP_SCANNING, &common->op_flags) &&
-                       sc->spectral_mode == SPECTRAL_CHANSCAN)
+                       sc->spec_priv.spectral_mode == SPECTRAL_CHANSCAN)
                        ath9k_spectral_scan_trigger(hw);
        }
 
 
         * configuration, otherwise the register will have its values reset
         * (on my ar9220 to value 0x01002310)
         */
-       ath9k_spectral_scan_config(hw, sc->spectral_mode);
+       ath9k_spectral_scan_config(hw, sc->spec_priv.spectral_mode);
        ath9k_hw_ops(ah)->spectral_scan_trigger(ah);
        ath9k_ps_restore(sc);
 }
        ath9k_hw_ops(ah)->spectral_scan_config(ah, &sc->spec_config);
        ath9k_ps_restore(sc);
 
-       sc->spectral_mode = spectral_mode;
+       sc->spec_priv.spectral_mode = spectral_mode;
 
        return 0;
 }
 
        char *mode = "";
        unsigned int len;
 
-       switch (sc->spectral_mode) {
+       switch (sc->spec_priv.spectral_mode) {
        case SPECTRAL_DISABLED:
                mode = "disable";
                break;
 
 
 struct ath_spec_scan_priv {
        struct rchan *rfs_chan_spec_scan;
+       enum spectral_mode spectral_mode;
 };
 
 #define SPECTRAL_HT20_40_TOTAL_DATA_LEN        (sizeof(struct ath_ht20_40_fft_packet))