mac80211: update to latest version, fix tx gain patch
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 850-brcmsmac-add-support-for-BCM43224.patch
1 --- a/drivers/net/wireless/brcm80211/brcmsmac/main.c
2 +++ b/drivers/net/wireless/brcm80211/brcmsmac/main.c
3 @@ -4153,6 +4153,7 @@ void brcms_c_wme_setparams(struct brcms_
4 M_EDCF_QINFO +
5 wme_ac2fifo[aci] * M_EDCF_QLEN + i,
6 *shm_entry++);
7 + printk("dummy\n");
8 }
9
10 if (suspend) {
11 @@ -4557,7 +4558,8 @@ static int brcms_b_attach(struct brcms_c
12
13 /* check device id(srom, nvram etc.) to set bands */
14 if (wlc_hw->deviceid == BCM43224_D11N_ID ||
15 - wlc_hw->deviceid == BCM43224_D11N_ID_VEN1)
16 + wlc_hw->deviceid == BCM43224_D11N_ID_VEN1||
17 + wlc_hw->deviceid == BCM43224_CHIP_ID)
18 /* Dualband boards */
19 wlc_hw->_nbands = 2;
20 else
21 @@ -5816,7 +5818,7 @@ bool brcms_c_chipmatch(u16 vendor, u16 d
22 return false;
23 }
24
25 - if (device == BCM43224_D11N_ID_VEN1)
26 + if (device == BCM43224_D11N_ID_VEN1 || device == BCM43224_CHIP_ID)
27 return true;
28 if ((device == BCM43224_D11N_ID) || (device == BCM43225_D11N2G_ID))
29 return true;