2012-05-17 16:24:47 +03:00
|
|
|
--- a/drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c
|
|
|
|
+++ b/drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c
|
2012-09-08 14:10:54 +03:00
|
|
|
@@ -94,6 +94,7 @@ MODULE_FIRMWARE("brcm/bcm43xx_hdr-0.fw")
|
2012-06-02 00:17:04 +03:00
|
|
|
|
|
|
|
/* recognized BCMA Core IDs */
|
2012-05-17 16:24:47 +03:00
|
|
|
static struct bcma_device_id brcms_coreid_table[] = {
|
2012-10-08 23:18:27 +03:00
|
|
|
+ BCMA_CORE(BCMA_MANUF_BCM, BCMA_CORE_80211, 17, BCMA_ANY_CLASS),
|
2012-05-17 16:24:47 +03:00
|
|
|
BCMA_CORE(BCMA_MANUF_BCM, BCMA_CORE_80211, 23, BCMA_ANY_CLASS),
|
|
|
|
BCMA_CORE(BCMA_MANUF_BCM, BCMA_CORE_80211, 24, BCMA_ANY_CLASS),
|
|
|
|
BCMA_CORETABLE_END
|
|
|
|
--- a/drivers/net/wireless/brcm80211/brcmsmac/main.c
|
|
|
|
+++ b/drivers/net/wireless/brcm80211/brcmsmac/main.c
|
2012-12-02 22:41:39 +02:00
|
|
|
@@ -734,7 +734,7 @@ static void brcms_c_ucode_bsinit(struct
|
2012-05-17 16:24:47 +03:00
|
|
|
brcms_c_write_mhf(wlc_hw, wlc_hw->band->mhfs);
|
|
|
|
|
|
|
|
/* do band-specific ucode IHR, SHM, and SCR inits */
|
|
|
|
- if (D11REV_IS(wlc_hw->corerev, 23)) {
|
|
|
|
+ if (D11REV_IS(wlc_hw->corerev, 17) || D11REV_IS(wlc_hw->corerev, 23)) {
|
|
|
|
if (BRCMS_ISNPHY(wlc_hw->band))
|
|
|
|
brcms_c_write_inits(wlc_hw, ucode->d11n0bsinitvals16);
|
|
|
|
else
|
2012-12-02 22:41:39 +02:00
|
|
|
@@ -2259,7 +2259,7 @@ static void brcms_ucode_download(struct
|
2012-05-17 16:24:47 +03:00
|
|
|
if (wlc_hw->ucode_loaded)
|
|
|
|
return;
|
|
|
|
|
|
|
|
- if (D11REV_IS(wlc_hw->corerev, 23)) {
|
|
|
|
+ if (D11REV_IS(wlc_hw->corerev, 17) || D11REV_IS(wlc_hw->corerev, 23)) {
|
|
|
|
if (BRCMS_ISNPHY(wlc_hw->band)) {
|
|
|
|
brcms_ucode_write(wlc_hw, ucode->bcm43xx_16_mimo,
|
|
|
|
ucode->bcm43xx_16_mimosz);
|
2012-07-12 01:18:09 +03:00
|
|
|
@@ -3221,7 +3221,7 @@ static void brcms_b_coreinit(struct brcm
|
2012-05-17 16:24:47 +03:00
|
|
|
|
|
|
|
sflags = bcma_aread32(core, BCMA_IOST);
|
|
|
|
|
|
|
|
- if (D11REV_IS(wlc_hw->corerev, 23)) {
|
|
|
|
+ if (D11REV_IS(wlc_hw->corerev, 17) || D11REV_IS(wlc_hw->corerev, 23)) {
|
|
|
|
if (BRCMS_ISNPHY(wlc_hw->band))
|
|
|
|
brcms_c_write_inits(wlc_hw, ucode->d11n0initvals16);
|
|
|
|
else
|