diff options
author | hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-07-11 22:18:09 +0000 |
---|---|---|
committer | hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-07-11 22:18:09 +0000 |
commit | 8ad915e15787ddfdb4f87a04b58f148629d2affd (patch) | |
tree | 33b90d151da38d2b3afa92197cbaa490e9976880 /package/mac80211/patches/848-brcmsmac-some-more-fixes-for-different-core-revs.patch | |
parent | 5e3f96671148225590df58588f6da238d81fdba3 (diff) |
mac80211: update brcmsmac patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32671 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/848-brcmsmac-some-more-fixes-for-different-core-revs.patch')
-rw-r--r-- | package/mac80211/patches/848-brcmsmac-some-more-fixes-for-different-core-revs.patch | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/package/mac80211/patches/848-brcmsmac-some-more-fixes-for-different-core-revs.patch b/package/mac80211/patches/848-brcmsmac-some-more-fixes-for-different-core-revs.patch deleted file mode 100644 index f6efb714b..000000000 --- a/package/mac80211/patches/848-brcmsmac-some-more-fixes-for-different-core-revs.patch +++ /dev/null @@ -1,73 +0,0 @@ ---- a/drivers/net/wireless/brcm80211/brcmsmac/main.c -+++ b/drivers/net/wireless/brcm80211/brcmsmac/main.c -@@ -271,7 +271,7 @@ struct brcms_c_bit_desc { - */ - - /* Starting corerev for the fifo size table */ --#define XMTFIFOTBL_STARTREV 20 -+#define XMTFIFOTBL_STARTREV 10 - - struct d11init { - __le16 addr; -@@ -335,6 +335,26 @@ const u8 wlc_prio2prec_map[] = { - }; - - static const u16 xmtfifo_sz[][NFIFO] = { -+ /* corerev 10: */ -+ {0, 0, 0, 0, 0, 0}, -+ /* corerev 11: */ -+ {0, 0, 0, 0, 0, 0}, -+ /* corerev 12: */ -+ {0, 0, 0, 0, 0, 0}, -+ /* corerev 13: */ -+ {0, 0, 0, 0, 0, 0}, -+ /* corerev 14: */ -+ {0, 0, 0, 0, 0, 0}, -+ /* corerev 15: */ -+ {0, 0, 0, 0, 0, 0}, -+ /* corerev 16: */ -+ {0, 0, 0, 0, 0, 0}, -+ /* corerev 17: 5120, 49152, 49152, 5376, 4352, 1280 */ -+ {20, 192, 192, 21, 17, 5}, -+ /* corerev 18: */ -+ {0, 0, 0, 0, 0, 0}, -+ /* corerev 19: */ -+ {0, 0, 0, 0, 0, 0}, - /* corerev 20: 5120, 49152, 49152, 5376, 4352, 1280 */ - {20, 192, 192, 21, 17, 5}, - /* corerev 21: 2304, 14848, 5632, 3584, 3584, 1280 */ -@@ -345,6 +365,18 @@ static const u16 xmtfifo_sz[][NFIFO] = { - {20, 192, 192, 21, 17, 5}, - /* corerev 24: 2304, 14848, 5632, 3584, 3584, 1280 */ - {9, 58, 22, 14, 14, 5}, -+ /* corerev 25: */ -+ {0, 0, 0, 0, 0, 0}, -+ /* corerev 26: */ -+ {0, 0, 0, 0, 0, 0}, -+ /* corerev 27: */ -+ {0, 0, 0, 0, 0, 0}, -+ /* corerev 28: 5120, 49152, 49152, 5376, 4352, 1280 */ -+ {20, 192, 192, 21, 17, 5}, -+ /* corerev 29: */ -+ {0, 0, 0, 0, 0, 0}, -+ /* corerev 30: */ -+ {0, 0, 0, 0, 0, 0}, - }; - - #ifdef DEBUG -@@ -4598,8 +4630,15 @@ static int brcms_b_attach(struct brcms_c - wlc_hw->machwcap_backup = wlc_hw->machwcap; - - /* init tx fifo size */ -+ WARN_ON((wlc_hw->corerev - XMTFIFOTBL_STARTREV) < 0 || -+ (wlc_hw->corerev - XMTFIFOTBL_STARTREV) > -+ ARRAY_SIZE(xmtfifo_sz)); - wlc_hw->xmtfifo_sz = - xmtfifo_sz[(wlc_hw->corerev - XMTFIFOTBL_STARTREV)]; -+ pr_err("use fifi: %i, %i, %i, %i, %i, %i\n", -+ wlc_hw->xmtfifo_sz[0], wlc_hw->xmtfifo_sz[1], -+ wlc_hw->xmtfifo_sz[2], wlc_hw->xmtfifo_sz[3], -+ wlc_hw->xmtfifo_sz[4], wlc_hw->xmtfifo_sz[5]); - - /* Get a phy for this band */ - wlc_hw->band->pi = |