From fbd9433788ca8ee46b6fa9f3aba11f29cf20efb9 Mon Sep 17 00:00:00 2001 From: Rongjun Chen Date: Wed, 23 Nov 2016 17:45:09 +0800 Subject: [PATCH] wifi: add 4358 wifi support Change-Id: Ica191ef0b42beff4613fd56d4b72fa2d520bb112 --- bcmdhd_1_201_59_x/dhd_sdio.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bcmdhd_1_201_59_x/dhd_sdio.c b/bcmdhd_1_201_59_x/dhd_sdio.c index 02e1f6d..1e4e79c 100644 --- a/bcmdhd_1_201_59_x/dhd_sdio.c +++ b/bcmdhd_1_201_59_x/dhd_sdio.c @@ -749,6 +749,7 @@ dhdsdio_sr_cap(dhd_bus_t *bus) (bus->sih->chip == BCM4354_CHIP_ID) || (bus->sih->chip == BCM4356_CHIP_ID) || (bus->sih->chip == BCM4358_CHIP_ID) || + (bus->sih->chip == BCM43569_CHIP_ID) || (bus->sih->chip == BCM4371_CHIP_ID) || (BCM4349_CHIP(bus->sih->chip)) || (bus->sih->chip == BCM4350_CHIP_ID)) { @@ -772,6 +773,7 @@ dhdsdio_sr_cap(dhd_bus_t *bus) (bus->sih->chip == BCM4356_CHIP_ID) || (bus->sih->chip == BCM4358_CHIP_ID) || (bus->sih->chip == BCM4371_CHIP_ID) || + (bus->sih->chip == BCM43569_CHIP_ID) || (bus->sih->chip == BCM4350_CHIP_ID)) { uint32 enabval = 0; addr = SI_ENUM_BASE + OFFSETOF(chipcregs_t, chipcontrol_addr); @@ -785,6 +787,7 @@ dhdsdio_sr_cap(dhd_bus_t *bus) (bus->sih->chip == BCM4354_CHIP_ID) || (bus->sih->chip == BCM4356_CHIP_ID) || (bus->sih->chip == BCM4358_CHIP_ID) || + (bus->sih->chip == BCM43569_CHIP_ID) || (bus->sih->chip == BCM4371_CHIP_ID)) enabval &= CC_CHIPCTRL3_SR_ENG_ENABLE; @@ -7573,6 +7576,8 @@ dhdsdio_chipmatch(uint16 chipid) return TRUE; if (chipid == BCM4358_CHIP_ID) return TRUE; + if (chipid == BCM43569_CHIP_ID) + return TRUE; if (chipid == BCM4371_CHIP_ID) return TRUE; if (chipid == BCM43430_CHIP_ID) @@ -8224,6 +8229,7 @@ dhdsdio_probe_attach(struct dhd_bus *bus, osl_t *osh, void *sdh, void *regsva, case BCM4354_CHIP_ID: case BCM4356_CHIP_ID: case BCM4358_CHIP_ID: + case BCM43569_CHIP_ID: case BCM4371_CHIP_ID: bus->dongle_ram_base = CR4_4350_RAM_BASE; break; -- 2.20.1