diff options
author | Vasanthakumar Thiagarajan <vasanth@atheros.com> | 2009-08-26 11:38:49 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-28 14:40:51 -0400 |
commit | ff155a45cea56ad7a90c3f5192db59a4c7812fde (patch) | |
tree | 3733ebad8263ba4c92e9ad429b901e56958d8c76 /drivers/net/wireless/ath/ath9k/reg.h | |
parent | 81fa16fbe06cb3a4d29cc5a6f925132554521c72 (diff) |
ath9k: Add infrastructure for generic hw timers
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/reg.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/reg.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/reg.h b/drivers/net/wireless/ath/ath9k/reg.h index c9e1ac92d0e9..1d8e0a8b587c 100644 --- a/drivers/net/wireless/ath/ath9k/reg.h +++ b/drivers/net/wireless/ath/ath9k/reg.h | |||
@@ -234,7 +234,15 @@ | |||
234 | #define AR_IMR_S5 0x00b8 | 234 | #define AR_IMR_S5 0x00b8 |
235 | #define AR_IMR_S5_TIM_TIMER 0x00000010 | 235 | #define AR_IMR_S5_TIM_TIMER 0x00000010 |
236 | #define AR_IMR_S5_DTIM_TIMER 0x00000020 | 236 | #define AR_IMR_S5_DTIM_TIMER 0x00000020 |
237 | 237 | #define AR_ISR_S5_GENTIMER_TRIG 0x0000FF80 | |
238 | #define AR_ISR_S5_GENTIMER_TRIG_S 0 | ||
239 | #define AR_ISR_S5_GENTIMER_THRESH 0xFF800000 | ||
240 | #define AR_ISR_S5_GENTIMER_THRESH_S 16 | ||
241 | #define AR_ISR_S5_S 0x00d8 | ||
242 | #define AR_IMR_S5_GENTIMER_TRIG 0x0000FF80 | ||
243 | #define AR_IMR_S5_GENTIMER_TRIG_S 0 | ||
244 | #define AR_IMR_S5_GENTIMER_THRESH 0xFF800000 | ||
245 | #define AR_IMR_S5_GENTIMER_THRESH_S 16 | ||
238 | 246 | ||
239 | #define AR_IMR 0x00a0 | 247 | #define AR_IMR 0x00a0 |
240 | #define AR_IMR_RXOK 0x00000001 | 248 | #define AR_IMR_RXOK 0x00000001 |
@@ -1516,7 +1524,10 @@ enum { | |||
1516 | #define AR_TXOP_8_11 0x81f8 | 1524 | #define AR_TXOP_8_11 0x81f8 |
1517 | #define AR_TXOP_12_15 0x81fc | 1525 | #define AR_TXOP_12_15 0x81fc |
1518 | 1526 | ||
1519 | 1527 | #define AR_NEXT_NDP2_TIMER 0x8180 | |
1528 | #define AR_FIRST_NDP_TIMER 7 | ||
1529 | #define AR_NDP2_PERIOD 0x81a0 | ||
1530 | #define AR_NDP2_TIMER_MODE 0x81c0 | ||
1520 | #define AR_NEXT_TBTT_TIMER 0x8200 | 1531 | #define AR_NEXT_TBTT_TIMER 0x8200 |
1521 | #define AR_NEXT_DMA_BEACON_ALERT 0x8204 | 1532 | #define AR_NEXT_DMA_BEACON_ALERT 0x8204 |
1522 | #define AR_NEXT_SWBA 0x8208 | 1533 | #define AR_NEXT_SWBA 0x8208 |