From 35a6840651ab4f4e5b4332e599ad1dbdcf2bc83e Mon Sep 17 00:00:00 2001 From: hauke Date: Sat, 9 Mar 2013 20:01:55 +0000 Subject: mac80211: decrease rx slots to 128, I hope this is a good trade of between stability and memory consumption. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35913 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../patches/840-43-increase_number_of_rx_dma_slots.patch | 11 ----------- .../patches/840-b43-increase_number_of_rx_dma_slots.patch | 11 +++++++++++ 2 files changed, 11 insertions(+), 11 deletions(-) delete mode 100644 package/mac80211/patches/840-43-increase_number_of_rx_dma_slots.patch create mode 100644 package/mac80211/patches/840-b43-increase_number_of_rx_dma_slots.patch (limited to 'package/mac80211') diff --git a/package/mac80211/patches/840-43-increase_number_of_rx_dma_slots.patch b/package/mac80211/patches/840-43-increase_number_of_rx_dma_slots.patch deleted file mode 100644 index 94c6ff2db..000000000 --- a/package/mac80211/patches/840-43-increase_number_of_rx_dma_slots.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/drivers/net/wireless/b43/dma.h -+++ b/drivers/net/wireless/b43/dma.h -@@ -169,7 +169,7 @@ struct b43_dmadesc_generic { - - /* DMA engine tuning knobs */ - #define B43_TXRING_SLOTS 256 --#define B43_RXRING_SLOTS 64 -+#define B43_RXRING_SLOTS 256 - #define B43_DMA0_RX_FW598_BUFSIZE (B43_DMA0_RX_FW598_FO + IEEE80211_MAX_FRAME_LEN) - #define B43_DMA0_RX_FW351_BUFSIZE (B43_DMA0_RX_FW351_FO + IEEE80211_MAX_FRAME_LEN) - diff --git a/package/mac80211/patches/840-b43-increase_number_of_rx_dma_slots.patch b/package/mac80211/patches/840-b43-increase_number_of_rx_dma_slots.patch new file mode 100644 index 000000000..124c38124 --- /dev/null +++ b/package/mac80211/patches/840-b43-increase_number_of_rx_dma_slots.patch @@ -0,0 +1,11 @@ +--- a/drivers/net/wireless/b43/dma.h ++++ b/drivers/net/wireless/b43/dma.h +@@ -169,7 +169,7 @@ struct b43_dmadesc_generic { + + /* DMA engine tuning knobs */ + #define B43_TXRING_SLOTS 256 +-#define B43_RXRING_SLOTS 64 ++#define B43_RXRING_SLOTS 128 + #define B43_DMA0_RX_FW598_BUFSIZE (B43_DMA0_RX_FW598_FO + IEEE80211_MAX_FRAME_LEN) + #define B43_DMA0_RX_FW351_BUFSIZE (B43_DMA0_RX_FW351_FO + IEEE80211_MAX_FRAME_LEN) + -- cgit v1.2.3