diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2009-02-11 23:36:47 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-27 14:51:43 -0500 |
commit | 4af9cf4fda28c5f794861c52e0db5a3de9ee574d (patch) | |
tree | bd7cf98a05dee402ff290ae71b30c153b3f1acbd /drivers/net/wireless/ath9k/hw.h | |
parent | 06d0f0663e11cab4ec5f2c143a118d71a12fbbe9 (diff) |
ath9k: Enable TSF Out of Range Interrupt
This patch lays the groundwork for handling TSF Out of Range
interrupt, which will be used for power save later on.
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/hw.h')
-rw-r--r-- | drivers/net/wireless/ath9k/hw.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath9k/hw.h b/drivers/net/wireless/ath9k/hw.h index 82111636c693..587a78db748d 100644 --- a/drivers/net/wireless/ath9k/hw.h +++ b/drivers/net/wireless/ath9k/hw.h | |||
@@ -249,6 +249,7 @@ enum ath9k_int { | |||
249 | ATH9K_INT_DTIMSYNC = 0x00800000, | 249 | ATH9K_INT_DTIMSYNC = 0x00800000, |
250 | ATH9K_INT_GPIO = 0x01000000, | 250 | ATH9K_INT_GPIO = 0x01000000, |
251 | ATH9K_INT_CABEND = 0x02000000, | 251 | ATH9K_INT_CABEND = 0x02000000, |
252 | ATH9K_INT_TSFOOR = 0x04000000, | ||
252 | ATH9K_INT_CST = 0x10000000, | 253 | ATH9K_INT_CST = 0x10000000, |
253 | ATH9K_INT_GTT = 0x20000000, | 254 | ATH9K_INT_GTT = 0x20000000, |
254 | ATH9K_INT_FATAL = 0x40000000, | 255 | ATH9K_INT_FATAL = 0x40000000, |
@@ -256,6 +257,7 @@ enum ath9k_int { | |||
256 | ATH9K_INT_BMISC = ATH9K_INT_TIM | | 257 | ATH9K_INT_BMISC = ATH9K_INT_TIM | |
257 | ATH9K_INT_DTIM | | 258 | ATH9K_INT_DTIM | |
258 | ATH9K_INT_DTIMSYNC | | 259 | ATH9K_INT_DTIMSYNC | |
260 | ATH9K_INT_TSFOOR | | ||
259 | ATH9K_INT_CABEND, | 261 | ATH9K_INT_CABEND, |
260 | ATH9K_INT_COMMON = ATH9K_INT_RXNOFRM | | 262 | ATH9K_INT_COMMON = ATH9K_INT_RXNOFRM | |
261 | ATH9K_INT_RXDESC | | 263 | ATH9K_INT_RXDESC | |
@@ -385,6 +387,7 @@ struct ath9k_beacon_state { | |||
385 | #define ATH9K_BEACON_PERIOD 0x0000ffff | 387 | #define ATH9K_BEACON_PERIOD 0x0000ffff |
386 | #define ATH9K_BEACON_ENA 0x00800000 | 388 | #define ATH9K_BEACON_ENA 0x00800000 |
387 | #define ATH9K_BEACON_RESET_TSF 0x01000000 | 389 | #define ATH9K_BEACON_RESET_TSF 0x01000000 |
390 | #define ATH9K_TSFOOR_THRESHOLD 0x00004240 /* 16k us */ | ||
388 | u32 bs_dtimperiod; | 391 | u32 bs_dtimperiod; |
389 | u16 bs_cfpperiod; | 392 | u16 bs_cfpperiod; |
390 | u16 bs_cfpmaxduration; | 393 | u16 bs_cfpmaxduration; |
@@ -392,6 +395,7 @@ struct ath9k_beacon_state { | |||
392 | u16 bs_timoffset; | 395 | u16 bs_timoffset; |
393 | u16 bs_bmissthreshold; | 396 | u16 bs_bmissthreshold; |
394 | u32 bs_sleepduration; | 397 | u32 bs_sleepduration; |
398 | u32 bs_tsfoor_threshold; | ||
395 | }; | 399 | }; |
396 | 400 | ||
397 | struct chan_centers { | 401 | struct chan_centers { |