Add a NVRAM file for the brcmfmac4356 wifi chip found on the mainboard
of the Lenovo Yoga Book X90 convertible. This is based on a copy of
the existing "brcmfmac4356-pcie.Xiaomi Inc-Mipad2.txt" NVRAM file with
various parameters changed to match the Lenovo Yoga Book X90F / X90L.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Replace the macaddr setting with the special fixed macaddr the kernel's
brcmfmac driver uses to identify that there is no macaddr programmed
into the NIC (NIC programmed makes takes precedence over the .txt one).
This will properly make the kernel generate a random MAC and set
addr_assign_type to NET_ADDR_RANDOM on devices without a MAC programmed
into the NIC.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Add a NVRAM file for the brcmfmac43241b4 wifi chip found on the mainboard
of the Advantech MICA-071 tablet. This is based on a copy of the existing
"brcmfmac43241b4-sdio.Intel Corp.-VALLEYVIEW C0 PLATFORM.txt" NVRAM file
with various parameters changed to match the Advantech MICA-071.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Recent commit added firmware files into the brcm subdirectory. However,
it restored some firmware files that were replaced by firmware files
provided by Cypress using symbolic links. Hence removing these files
once more.
Reported-by: John Keeping <john@metanate.com>
Fixes: 0707b2f ("brcm: add/update firmware files for brcmfmac driver")
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
The BCM4329 firmware was recently updated, but it was reported this
was not working for NVIDIA Tegra devices. Turns out this firmware does
not support a firmware api command that brcmfmac relies on. So we need
to revert this firmware update and restore the previous one.
Reported-by: Dmitry Osipenko <digetx@gmail.com>
Fixes: 0707b2f ("brcm: add/update firmware files for brcmfmac driver")
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
These chips are found in some ebook readers with
devicetree in mainline kernel.
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Updating a number of firmware files and adding some that are
already supported by the driver for some time.
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Add a NVRAM file for the brcmfmac43241b4 wifi chip found on the mainboard
of Lenovo Yoga Tablet 2 830F/L and 1050F/L tablets. This is based on
a copy of the existing brcmfmac43430a0-sdio.ilife-S806.txt NVRAM file with
various parameters changed to match the Lenovo Yoga Tablet 2 series.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Add a NVRAM file for the brcmfmac43340 wifi/bt chip found on the
Xiaomi Mi Pad 2 tablet. This is based on copy of the existing
brcm/brcmfmac4356-pcie.gpd-win-pocket.txt NVRAM file with some
of the calibration values adjusted for the Xiaomi Mi Pad 2 tablet.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Add a NVRAM file for the brcmfmac43340 wifi/bt chip found on the
Asus TF103C tablet. This is based on copy of the existing
brcm/brcmfmac43340-sdio.pov-tab-p1006w-data.txt NVRAM file with some
of the calibration values adjusted for the Asus TF103C tablet.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
The AzureWave AW-CM256SM wireless module is a WiFi/BT combo
module built using the Cypress CYW43455. Add an initial
NVRAM based on the one provided for the Beagle-AI which
contains this WiFi module. We can update/improve this easily
enough if we get a newer rev of the NVRAM later.
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
We can't just copy the Rasperry Pi NVRAM, their modules are custom
made so they have their own special NVRAMs for their variant. While
they may work for other modules it could put them out of compliance
or worse. We need to add an appropraite AzureWave AW-CM256SM NVRAM.
Even if it was the right one it should have just been linked rather
than actually copying it again too.
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
The Rock960, VIM2 and Firefly3399 all have a AP6356S WiFi module
and their NVRAM all appear to be the same so call the NVRAM after
the AP module and link the 3 devices to that to make it clear.
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Add a NVRAM file for the Ampak AP6255 Wifi/BT module as used
on the ACEPC T8 Mini PC This file is based on the existing
"brcm/brcmfmac43455-sdio.MINIX-NEO Z83-4.txt" NVRAM file with
the values adjusted for the Minix Neo Z83-4 Mini PC
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Add a NVRAM file for the brcmfmac43430a0 wifi/bit chip found on the
Chuw Hi8 (CWI509) tablet. This is based on copy of the existing
brcm/brcmfmac43430a0-sdio.jumper-ezpad-mini3.txt NVRAM file with some
the calibration values adjusted for the Chuwi Hi8 tablet.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Add a NVRAM file for the brcmfmac43340 wifi/bit chip found on the
predia-basic tablet. This is based on copy of the existing
brcm/brcmfmac43340-sdio.meegopad-t08.txt NVRAM file with some the
calibration values adjusted for the Predia Basic tablet.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
NVRAM file set's boarflags3 to 0x48200100 which indicates the firmware
that an external LPO is present. But on the RPi4 no external LPO exists.
Fixes: 870b805 ("brcm: Update Raspberry Pi 3B+/4B NVRAM for downstream changes")
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
The 96boards Rock960 has a Cypress 4356 WiFi module, this adds the
a NVRAM based on the downstream NVRAM.
https://people.linaro.org/~manivannan.sadhasivam/rock960_wifi/brcmfmac4356-sdio.txt
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Cc: Sahaj Sarup <sahaj.sarup@linaro.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
The Raspberry Pi Foundation NVRAM files have been updated for a new
BT/WiFi coexistence parameter for firmwares newer than 177, now
we have new firmwares (7.45.221) from Cypress for the BCM43455
update the NVRAM for these parameters.
Update the RPi4B NVRAM boardflags3 parameter to match too, which
also happens to be what we already have for the RPi3B+.
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Cc: Matthias Brugger <mbrugger@suse.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Cypress pushed newer versions of the following firmwares:
- 43012
- 43340
- 43362
- 4339
- 43430
- 43455
- 4354
- 4356
- 43570
- 4373
- 54591
Remove these old ones as they're likely vulnerable to at least the
KrØØk vulnerability (CVE-2019-15126).
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Chi-Hsien Lin <chi-hsien.lin@cypress.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Add a NVRAM file for the Ampak AP6255 Wifi/BT module as used on the
Minix Neo Z83-4 Mini PC. This file is based on the existing
brvm/brcmfmac4356-pcie.gpd-win-pocket.txt NVRAM file with some of the
values adjusted for the Minix Neo Z83-4 Mini PC.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Add a NVRAM file for the Ampak AP6234 Wifi/BT module as used on the
Point of View TAB-P1006W-232 tablet. This file is based on the existing
brcm/brcmfmac43340-sdio.meegopad-t08.txt NVRAM file with some of the
values adjusted for the Point of View TAB-P1006W-232 tablet.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
BCM43430 NVRAM config file for the RPi3 Model B was set to the value
found by brcmf_dmi_probe(), but should use the DT compatible.
Rename the file to actually make it work with the kernel driver.
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
Add a NVRAM file for the Ampak AP6330 Wifi/BT module as used on the
Prowise PT301 tablet. This file is based on the existing
brcm/brcmfmac43430-sdio.AP6212.txt NVRAM file with the values adjusted
for the Prowise PT301 tablet.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Add a NVRAM file for the Broadcom 43430 WiFi/BT chip as found on the
Chuwi Vi8 Plus tablet's mainboard. This file is based on the existing
brcm/brcmfmac43430-sdio.AP6212.txt NVRAM file with the values adjusted
for the Chuwi Vi8 Plus tablet.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Add a NVRAM file for the Ampak AP6234 Wifi/BT module as used on the
Meegopad T08 HDMI stick. This file is based on the existing
brcm/brcmfmac43430-sdio.AP6212.txt NVRAM file with the values adjusted
for the Meegopad T08 HDMI stick.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Add a NVRAM file for the Ampak AP6212 Wifi/BT module as used on the
Jumper EZpad mini 3 tablet. This file is based on the existing
brcm/brcmfmac43430-sdio.AP6212.txt NVRAM file with the values adjusted
for the Jumper EZpad mini 3 tablet.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Add a NVRAM file for the Ampak AP6212 Wifi/BT module as used on the
ONDA V80 Plus tablet. This file is based on the existing
brcm/brcmfmac43430-sdio.AP6212.txt NVRAM file with the values adjusted
for the ONDA V80 Plus tablet.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Add a NVRAM file for the Ampak AP6356 Wifi/BT module as used in the
GPD win handheld. This file is based on the existing
brcm/brcmfmac43430-sdio.AP6212.txt NVRAM file with the values adjusted
for the GPD win handheld.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Lemaker, the manufacturer of the Banana Pro board has always shipped
the NVRAM file from the Cubietech Cubietruck wifi for use with the
Ampak AP6181 43362 WiFi/BT module on the Banana Pro.
This commit adds a symlink from brcmfmac43362-sdio.lemaker,bananapro.txt
to brcm/brcmfmac43362-sdio.cubietech,cubietruck.txt to match this, making
the Wifi on the Banana Pro work OOTB.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Add a NVRAM file for the Ampak AP6210 Wifi/BT module as found on the
Cubietech Cubietruck board. This file is based on the existing
brcm/brcmfmac43430-sdio.AP6212.txt NVRAM file with the values adjusted
for the Cubietech Cubietruck board.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
These firmwares are for the BCM4366 3x3 802.11 ac chipsets, which also
comprise of BCM4366E or BCM43664 devices.
Edited to add WHENCE entry by Josh Boyer
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Ampak AP6212 and Murata 1DX are both brcmfmac43430-sdio based WiFi/BT
modules.
I created these NVRAM config files from scratch based on publicly
available information documented on the Linaro Wiki:
https://wiki.linaro.org/mbl/nvram
It is released under GPLv2.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Add the CYW4373 SDIO and USB firmware files, along with the corresponding
Cypress license file.
Signed-off-by: Chi-hsien Lin <chi-hsien.lin@cypress.com>
Signed-off-by: Kyle McMartin <kyle@kernel.org>
This firmware include fixes for:
CVE-2016-0801 - dropping BRCM proprietary packets received over the air.
CVE-2017-0561 - adding length checks for TDLS action frames.
CVE-2017-9417 - adding length checks for WME IE.
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
This firmware include fixes for:
CVE-2016-0801 - dropping BRCM proprietary packets received over the air.
CVE-2017-0561 - adding length checks for TDLS action frames.
CVE-2017-9417 - adding length checks for WME IE.
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>