Switch iwx(4) to -63 firmware images as shipped in iwx-firmware-20210512.
authorstsp <stsp@openbsd.org>
Thu, 29 Jul 2021 12:13:58 +0000 (12:13 +0000)
committerstsp <stsp@openbsd.org>
Thu, 29 Jul 2021 12:13:58 +0000 (12:13 +0000)
These images contain fixes which address fragattacks vulnerabilities:
https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00473.html

Running fw_update(1) may be required before rebooting into a new kernel.
sysupgrade(8) will take care of this.

When reporting issues, please enable 'ifconfig iwx0 debug', reproduce the
error once more, and include the full dmesg in your bug report.

Tested:
ax200: stsp, kevlo, hrvoje, jmc, Mark Patruck, Ashton Fagg
ax201: kettenis, Fredrik Engberg, Eric Auge

ok kevlo@

sys/dev/pci/if_iwx.c

index af46177..286c08c 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: if_iwx.c,v 1.85 2021/07/29 12:01:45 stsp Exp $        */
+/*     $OpenBSD: if_iwx.c,v 1.86 2021/07/29 12:13:58 stsp Exp $        */
 
 /*
  * Copyright (c) 2014, 2016 genua gmbh <info@genua.de>
@@ -9317,7 +9317,7 @@ iwx_attach(struct device *parent, struct device *self, void *aux)
 
        switch (PCI_PRODUCT(pa->pa_id)) {
        case PCI_PRODUCT_INTEL_WL_22500_1:
-               sc->sc_fwname = "iwx-cc-a0-48";
+               sc->sc_fwname = "iwx-cc-a0-63";
                sc->sc_device_family = IWX_DEVICE_FAMILY_22000;
                sc->sc_fwdmasegsz = IWX_FWDMASEGSZ_8000;
                sc->sc_integrated = 1;
@@ -9335,7 +9335,7 @@ iwx_attach(struct device *parent, struct device *self, void *aux)
                        return;
                }
 
-               sc->sc_fwname = "iwx-QuZ-a0-hr-b0-48";
+               sc->sc_fwname = "iwx-QuZ-a0-hr-b0-63";
                sc->sc_device_family = IWX_DEVICE_FAMILY_22000;
                sc->sc_fwdmasegsz = IWX_FWDMASEGSZ_8000;
                sc->sc_integrated = 1;
@@ -9346,7 +9346,7 @@ iwx_attach(struct device *parent, struct device *self, void *aux)
                sc->sc_uhb_supported = 0;
                break;
        case PCI_PRODUCT_INTEL_WL_22500_4:
-           sc->sc_fwname = "iwx-Qu-c0-hr-b0-48";
+           sc->sc_fwname = "iwx-Qu-c0-hr-b0-63";
            sc->sc_device_family = IWX_DEVICE_FAMILY_22000;
            sc->sc_fwdmasegsz = IWX_FWDMASEGSZ_8000;
            sc->sc_integrated = 1;