ath9k: reduce the number of rx buffers, 512 is excessively high, 128 should work...
authorFelix Fietkau <nbd@openwrt.org>
Mon, 30 May 2011 13:38:54 +0000 (13:38 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 30 May 2011 13:38:54 +0000 (13:38 +0000)
SVN-Revision: 27029

package/mac80211/patches/512-ath9k_reduce_rxbuf.patch [new file with mode: 0644]

diff --git a/package/mac80211/patches/512-ath9k_reduce_rxbuf.patch b/package/mac80211/patches/512-ath9k_reduce_rxbuf.patch
new file mode 100644 (file)
index 0000000..96684aa
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/drivers/net/wireless/ath/ath9k/ath9k.h
++++ b/drivers/net/wireless/ath/ath9k/ath9k.h
+@@ -119,7 +119,7 @@ void ath_descdma_cleanup(struct ath_soft
+ /* RX / TX */
+ /***********/
+-#define ATH_RXBUF               512
++#define ATH_RXBUF               128
+ #define ATH_TXBUF               512
+ #define ATH_TXBUF_RESERVE       5
+ #define ATH_MAX_QDEPTH          (ATH_TXBUF / 4 - ATH_TXBUF_RESERVE)