diff options
author | Rajkumar Manoharan <rmanohar@qca.qualcomm.com> | 2011-12-23 15:57:02 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-01-04 19:30:46 (GMT) |
commit | 016c2177918301c9a2557c675c12ab88667a27bb (patch) | |
tree | 6fd7e28d4d171df790910ad8c2f87fc875196d74 /drivers/net/wireless/ath/ath9k/ar9003_mac.h | |
parent | 68acc4afb040d98ddfd2cae0de09e2f4e1ee127f (diff) | |
download | linux-016c2177918301c9a2557c675c12ab88667a27bb.tar.xz |
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.h | 2 |
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 c504493..e203b51 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 |