diff options
author | Vasanthakumar Thiagarajan <vasanth@atheros.com> | 2010-04-15 17:38:28 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-16 15:43:22 -0400 |
commit | ad7b806065f5791696a1c9a4c2665f6421cbbf05 (patch) | |
tree | 89c106bfc49e6407e51a3c2dabfec0feff3090b7 /drivers/net/wireless/ath/ath9k/hw.h | |
parent | ae3bb6d4628dae7ead588263177a0674221fea78 (diff) |
ath9k_hw: Add few routines for rx edma support
* Set rx buf size in register 0x60
* Set rxdp on the respective hw rx queue (HP and LP queues)
* Process rx descriptor
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h index b07ee8d6d332..d713ff2dfc55 100644 --- a/drivers/net/wireless/ath/ath9k/hw.h +++ b/drivers/net/wireless/ath/ath9k/hw.h | |||
@@ -370,6 +370,12 @@ enum ser_reg_mode { | |||
370 | SER_REG_MODE_AUTO = 2, | 370 | SER_REG_MODE_AUTO = 2, |
371 | }; | 371 | }; |
372 | 372 | ||
373 | enum ath9k_rx_qtype { | ||
374 | ATH9K_RX_QUEUE_HP, | ||
375 | ATH9K_RX_QUEUE_LP, | ||
376 | ATH9K_RX_QUEUE_MAX, | ||
377 | }; | ||
378 | |||
373 | struct ath9k_beacon_state { | 379 | struct ath9k_beacon_state { |
374 | u32 bs_nexttbtt; | 380 | u32 bs_nexttbtt; |
375 | u32 bs_nextdtim; | 381 | u32 bs_nextdtim; |