diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-05-30 13:38:54 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-05-30 13:38:54 +0000 |
commit | 7f0fc7b0cf1bb861fbf05d2a6b002edc097e4bae (patch) | |
tree | 05beda66f9fee551facbceb9724f005cf245e2f7 /package/mac80211/patches/512-ath9k_reduce_rxbuf.patch | |
parent | 6608f419d1a23762f34482b4628f9159bcb81fc2 (diff) | |
download | mtk-20170518-7f0fc7b0cf1bb861fbf05d2a6b002edc097e4bae.zip mtk-20170518-7f0fc7b0cf1bb861fbf05d2a6b002edc097e4bae.tar.gz mtk-20170518-7f0fc7b0cf1bb861fbf05d2a6b002edc097e4bae.tar.bz2 |
ath9k: reduce the number of rx buffers, 512 is excessively high, 128 should work just as well, and will use a lot less memory
SVN-Revision: 27029
Diffstat (limited to 'package/mac80211/patches/512-ath9k_reduce_rxbuf.patch')
-rw-r--r-- | package/mac80211/patches/512-ath9k_reduce_rxbuf.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mac80211/patches/512-ath9k_reduce_rxbuf.patch b/package/mac80211/patches/512-ath9k_reduce_rxbuf.patch new file mode 100644 index 0000000..96684aa --- /dev/null +++ b/package/mac80211/patches/512-ath9k_reduce_rxbuf.patch @@ -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) |