From: Hauke Mehrtens Date: Sat, 9 Mar 2013 20:01:55 +0000 (+0000) Subject: mac80211: decrease rx slots to 128, I hope this is a good trade of between stability... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=681769d0c05150ad1d68a1eaca0ea6597168b117;p=openwrt%2Fstaging%2Frobimarko.git mac80211: decrease rx slots to 128, I hope this is a good trade of between stability and memory consumption. SVN-Revision: 35913 --- 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 94c6ff2dbb..0000000000 --- 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 0000000000..124c381241 --- /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) +