summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ar9003_mac.h
diff options
context:
space:
mode:
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>2011-12-23 16:57:02 +0100
committerJohn W. Linville <linville@tuxdriver.com>2012-01-04 20:30:46 +0100
commit016c2177918301c9a2557c675c12ab88667a27bb (patch)
tree6fd7e28d4d171df790910ad8c2f87fc875196d74 /drivers/net/wireless/ath/ath9k/ar9003_mac.h
parentiwlegacy: 3945: fix hw passive scan on radar channels (diff)
downloadlinux-016c2177918301c9a2557c675c12ab88667a27bb.tar.xz
linux-016c2177918301c9a2557c675c12ab88667a27bb.zip
ath9k_hw: increase tx status ring buffer size
AR9003 chips read tx status from ring buffer whose max number of status descriptor is mininal compared to max number of tx buffers. On a stress condition, it can be easily overflown which might cause false tx hung detection. Though increasing number of max status descriptors consumes more memory, it helps to avoid false positive chip resets. Cc: Paul Stewart <pstew@google.com> Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ar9003_mac.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9003_mac.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_mac.h b/drivers/net/wireless/ath/ath9k/ar9003_mac.h
index c50449387bf1..e203b51e968b 100644
--- a/drivers/net/wireless/ath/ath9k/ar9003_mac.h
+++ b/drivers/net/wireless/ath/ath9k/ar9003_mac.h
@@ -118,5 +118,5 @@ int ath9k_hw_process_rxdesc_edma(struct ath_hw *ah,
void ath9k_hw_reset_txstatus_ring(struct ath_hw *ah);
void ath9k_hw_setup_statusring(struct ath_hw *ah, void *ts_start,
u32 ts_paddr_start,
- u8 size);
+ u16 size);
#endif