mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 03:50:37 +02:00
ath9k: reduce the number of rx buffers, 512 is excessively high, 128 should work just as well, and will use a lot less memory
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27029 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
fd8ccf9c65
commit
8bbbaf8c93
11
package/mac80211/patches/512-ath9k_reduce_rxbuf.patch
Normal file
11
package/mac80211/patches/512-ath9k_reduce_rxbuf.patch
Normal file
@ -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)
|
Loading…
Reference in New Issue
Block a user