]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k_hw: increase tx status ring buffer size
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>
Fri, 23 Dec 2011 15:57:02 +0000 (21:27 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 4 Jan 2012 19:30:46 +0000 (14:30 -0500)
commitba27eddccd5d79c0e648e856c643121705f3b6a6
tree6fd7e28d4d171df790910ad8c2f87fc875196d74
parent0df708a72d970a20411c7b3eb08692a6605b9fb4
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>
drivers/net/wireless/ath/ath9k/ar9003_mac.c
drivers/net/wireless/ath/ath9k/ar9003_mac.h
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/hw.h