]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/blobdiff - drivers/net/wireless/ath/ath9k/hw.h
ath9k_hw: fix ASPM setting for AR9003
[lisovros/linux_canprio.git] / drivers / net / wireless / ath / ath9k / hw.h
index 5ecbfcf7470af6f8082d0bcc065719bed4f71fc7..6c6d47b0ed1b3c9d84ef529f2baea8cd6392122d 100644 (file)
@@ -819,6 +819,12 @@ struct ath_hw {
 
        u32 paprd_gain_table_entries[PAPRD_GAIN_TABLE_ENTRIES];
        u8 paprd_gain_table_index[PAPRD_GAIN_TABLE_ENTRIES];
+       /*
+        * Store the permanent value of Reg 0x4004in WARegVal
+        * so we dont have to R/M/W. We should not be reading
+        * this register when in sleep states.
+        */
+       u32 WARegVal;
 };
 
 static inline struct ath_common *ath9k_hw_common(struct ath_hw *ah)