From 6a840f324b545253624e0f26ea19ab534c165dfd Mon Sep 17 00:00:00 2001 From: hauke Date: Thu, 17 May 2012 13:24:47 +0000 Subject: mac80211: brcmsmac update to version from wireless-testing tag master-2012-05-16-2 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31773 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../871-brcmsmac-add-support-for-BCM43224.patch | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 package/mac80211/patches/871-brcmsmac-add-support-for-BCM43224.patch (limited to 'package/mac80211/patches/871-brcmsmac-add-support-for-BCM43224.patch') diff --git a/package/mac80211/patches/871-brcmsmac-add-support-for-BCM43224.patch b/package/mac80211/patches/871-brcmsmac-add-support-for-BCM43224.patch new file mode 100644 index 0000000000..79c5508613 --- /dev/null +++ b/package/mac80211/patches/871-brcmsmac-add-support-for-BCM43224.patch @@ -0,0 +1,29 @@ +--- a/drivers/net/wireless/brcm80211/brcmsmac/main.c ++++ b/drivers/net/wireless/brcm80211/brcmsmac/main.c +@@ -4133,6 +4133,7 @@ void brcms_c_wme_setparams(struct brcms_ + M_EDCF_QINFO + + wme_ac2fifo[aci] * M_EDCF_QLEN + i, + *shm_entry++); ++ printk("dummy\n"); + } + + if (suspend) { +@@ -4538,7 +4539,8 @@ static int brcms_b_attach(struct brcms_c + + /* check device id(srom, nvram etc.) to set bands */ + if (wlc_hw->deviceid == BCM43224_D11N_ID || +- wlc_hw->deviceid == BCM43224_D11N_ID_VEN1) ++ wlc_hw->deviceid == BCM43224_D11N_ID_VEN1|| ++ wlc_hw->deviceid == BCM43224_CHIP_ID) + /* Dualband boards */ + wlc_hw->_nbands = 2; + else +@@ -5792,7 +5794,7 @@ bool brcms_c_chipmatch(u16 vendor, u16 d + return false; + } + +- if (device == BCM43224_D11N_ID_VEN1) ++ if (device == BCM43224_D11N_ID_VEN1 || device == BCM43224_CHIP_ID) + return true; + if ((device == BCM43224_D11N_ID) || (device == BCM43225_D11N2G_ID)) + return true; -- cgit v1.2.3