diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2013-03-10 20:31:07 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2013-03-10 20:31:07 +0000 |
commit | d1e2e3d87b61eb59d4852ce3591d3a53a9ba9c06 (patch) | |
tree | 95c49a762e2e1b9ce3dcc0064ebbcbb36821703e /package/mac80211 | |
parent | d388ac895418615d0b88d90e1ca46a8e06b41f67 (diff) | |
download | upstream-d1e2e3d87b61eb59d4852ce3591d3a53a9ba9c06.tar.gz upstream-d1e2e3d87b61eb59d4852ce3591d3a53a9ba9c06.tar.bz2 upstream-d1e2e3d87b61eb59d4852ce3591d3a53a9ba9c06.zip |
mac80211: backport of r35671: b43: Increase number of RX DMA slots
Bastian Bittorf reported that some of the silent freezes on a Linksys WRT54G
were due to overflow of the RX DMA ring buffer, which was created with 64
slots. That finding reminded me that I was seeing similar crashed on a netbook,
which also has a relatively slow processor. After increasing the number of
slots to 128, runs on the netbook that previously failed now worked; however,
I found that 109 slots had been used in one test. For that reason, the number
of slots is being increased to 256.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35947 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211')
-rw-r--r-- | package/mac80211/patches/840-b43-increase_number_of_rx_dma_slots.patch | 11 |
1 files changed, 11 insertions, 0 deletions
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..94c6ff2dbb --- /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 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) + |