Bug 284475 - net/wifi-firmware-iwlwifi-kmod: missing firmware for AX211
Summary: net/wifi-firmware-iwlwifi-kmod: missing firmware for AX211
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Bjoern A. Zeeb
URL:
Keywords:
Depends on:
Blocks: iwlwifi
  Show dependency treegraph
 
Reported: 2025-01-30 22:51 UTC by Stéphane D'Alu
Modified: 2025-01-30 23:57 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (bz)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stéphane D'Alu 2025-01-30 22:51:03 UTC
Using iwlwifi driver on an HP 640 G11 (which is supposed to be supported as WIFI 6E AX211), results in the driver not finding the firmware.

Driver is reporting!
min version: iwlwifi-ma-b0-gf-a0-59
max version: iwlwifi-ma-b0-gf-a0-83

pciconf -lv

none7@pci0:0:20:3:      class=0x028000 rev=0x20 hdr=0x00 vendor=0x8086 device=0x7e40 subvendor=0x8086 subdevice=0x0094
    vendor     = 'Intel Corporation'
    device     = 'Meteor Lake PCH CNVi WiFi'
    class      = network
Comment 1 Bjoern A. Zeeb freebsd_committer freebsd_triage 2025-01-30 23:26:12 UTC
Which FreeBSD version are you using?

I am asking given iwlwifi firmware is also still shipping in base and not just in the port/package.  We never had that blend of firmware in base though.

The port ships version 89 which is accepted by the driver version in main but seems your driver version does not accept yet?

So this is likely and transition problem to the port for stable/14 and 14.last release which did not show up given we never shipped that blend in stable/14 before.

If you can confirm your FreeBSD version I can add it to the port/package;  I'll need to update them within the next few weeks anyway.

If you are on 14.2-R you can alternatively fetch he firmware file directly yourself and put it into /boot/firmware or rebuild the port/package in the meantime with the following applied:

diff --git net/wifi-firmware-iwlwifi-kmod/Makefile net/wifi-firmware-iwlwifi-kmod/Makefile
index 1e9e85e78a61..f1a966bd1226 100644
--- net/wifi-firmware-iwlwifi-kmod/Makefile
+++ net/wifi-firmware-iwlwifi-kmod/Makefile
@@ -77,6 +77,7 @@ DISTFILES_${FWDRV}_lic=
 ### <<<
 
 DISTFILES_ax210+= \
+       iwlwifi-ma-b0-gf-a0-83.ucode${DISTURL_SUFFIX} \
        iwlwifi-ma-b0-hr-b0-83.ucode${DISTURL_SUFFIX}
 DISTFILES_bz+= \
        iwlwifi-gl-c0-fm-c0-83.ucode${DISTURL_SUFFIX}
Comment 2 Stéphane D'Alu 2025-01-30 23:43:34 UTC
Sorry I failed to mention, freebsd version is 14.2.

Patch applied. Firmware is loaded and iwlwifi0 shows up.
Comment 3 Stéphane D'Alu 2025-01-30 23:43:58 UTC
Thanks
Comment 4 Bjoern A. Zeeb freebsd_committer freebsd_triage 2025-01-30 23:57:15 UTC
(In reply to Stéphane D'Alu from comment #3)

Thank you for reporting!  I'll try to see what else is missing and get the changes in within the next two weeks along with other bits.