Page MenuHomeFreeBSD

net/wifi-firmware-iwlwifi-kmod: update firmware to 20251021
ClosedPublic

Authored by bz on Nov 11 2025, 1:33 AM.
Tags
None
Referenced Files
F139538336: D53681.diff
Sat, Dec 13, 6:04 AM
Unknown Object (File)
Thu, Dec 11, 12:52 PM
Unknown Object (File)
Wed, Dec 10, 7:36 PM
Unknown Object (File)
Sun, Nov 30, 3:51 AM
Unknown Object (File)
Fri, Nov 28, 2:30 PM
Unknown Object (File)
Fri, Nov 28, 4:35 AM
Unknown Object (File)
Thu, Nov 27, 8:04 PM
Unknown Object (File)
Thu, Nov 27, 4:49 AM
Subscribers

Details

Summary

Intel firmware for BE200 ("bz" chipsets) requires more modern firmware
than we provide. Update the Intel iwlwifi firmware to the latest tree
which brings a few changes:
(1) on linux-firmware.git the firmware got moved into a subdirectory

so we need to strip that path before installing as the driver
still expects the firmware in the top-level directory.

(2) the "bz" firmware gets bumped to 101, we keep the old version for

14.3-R around as well.

(3) while the other files keep their revisions, Intel may have updated

them with rebuilds.  This is hard to discover given not only the
hashes but also the paths have changed in distinfo.

PR: 290808
Reported by: dch

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bz requested review of this revision.Nov 11 2025, 1:33 AM
bz created this revision.
bz planned changes to this revision.Thu, Nov 13, 11:49 PM

After some chat with people it seems that the flavors will not fly for newer versions anymore at all.
The driver has a lot less combinations hard-coded and it'll be hard for us for fwget(8) to get any proper mappings from PCI ID to firmware.
"bz" will likely just become "mld" and the "mvm" parts will stay as-are and only be maintained manually in case anything will be found missing or not working.

Also extracting the combinations from the driver sounds no longer ideal; it seems the best we can do is to take everything (avail) as listed in the WHENCE file and try our best with PCI IDs then.

After some discussion with someone, we now generate the firmware list
from the WHENCE file in linux-firmware.git given the driver firmware
name creation is too dynamic. This adds some extra firmware files we
did not have before. See files/extract-fw-list.sh.

Update comment in Makefile as to where the firmware list gets generated from now.

net/wifi-firmware-iwlwifi-kmod/files/extract-fw-list.sh
27

There is a typo in firmware.

196

Are you indexing fwpnvm correctly here? I see you are indexing it as fwpnvm[flav,name] above.

net/wifi-firmware-iwlwifi-kmod/pkg-descr
1–2

Nit.

net/wifi-firmware-iwlwifi-kmod/pkg-descr
1–2

It's the iwlwifi mvm & mld drivers (iwlwifi these days consists of 3 drivers: mvm, mld, and dvm; the latter is GPL and matches our iwn roughly and we do not deal with it).

net/wifi-firmware-iwlwifi-kmod/pkg-descr
1–2

@jrm what would be the better spelling/grammer in this case?

Fix type.
There is no need to sort pnvm files.
Update pkg-decr to also mention iwx(4).

bz marked 3 inline comments as done.Wed, Dec 3, 6:51 PM
bz added inline comments.
net/wifi-firmware-iwlwifi-kmod/files/extract-fw-list.sh
196

There is actually no need to sort them at all so this part is gone.

net/wifi-firmware-iwlwifi-kmod/pkg-descr
1–2

I've now settled for a different two-liner which also mentions iwx(4) and put mvm/mld in []

bz marked an inline comment as done.Wed, Dec 3, 6:52 PM

ARG arc. I'll push another one in a minute; this time it diffed against main again and not against its parent.

Hopefully only the changes of this revision this time.

I don't see any issues. I also ran it through poudriere again, and everything looked good.

% git arc patch -bc D53679 D53788 D53680 D53789 D53681
% poudriere bulk -t -j 15amd64 -C -f ~/wifi-firmware-ports-no-flavors.txt
% poudriere bulk -t -j 15amd64 -C -f ~/wifi-firmware-ports-flavors.txt

% cat ~/wifi-firmware-ports-no-flavors.txt
net/wifi-firmware-ath10k-kmod
net/wifi-firmware-ath11k-kmod
net/wifi-firmware-ath12k-kmod
net/wifi-firmware-iwlwifi-kmod
net/wifi-firmware-mt76-kmod
net/wifi-firmware-mt7601u-kmod
net/wifi-firmware-rtw88-kmod
net/wifi-firmware-rtw89-kmod

% cat ~/wifi-firmware-ports-flavors.txt
net/wifi-firmware-ath10k-kmod@qca988x_hw20
net/wifi-firmware-ath10k-kmod@qca6174_hw21
net/wifi-firmware-ath10k-kmod@qca6174_hw30
net/wifi-firmware-ath10k-kmod@qca99x0_hw20
net/wifi-firmware-ath10k-kmod@qca9377_hw10
net/wifi-firmware-ath10k-kmod@qca9984_hw10
net/wifi-firmware-ath10k-kmod@qca9887_hw10
net/wifi-firmware-ath10k-kmod@qca9888_hw20
net/wifi-firmware-ath11k-kmod@qca6390_hw20
net/wifi-firmware-ath11k-kmod@qcn9074_hw10
net/wifi-firmware-ath11k-kmod@wcn6855_hw20
net/wifi-firmware-ath12k-kmod@wcn7850_hw20
net/wifi-firmware-iwlwifi-kmod@7000
net/wifi-firmware-iwlwifi-kmod@8000
net/wifi-firmware-iwlwifi-kmod@9000
net/wifi-firmware-iwlwifi-kmod@22000
net/wifi-firmware-iwlwifi-kmod@ax210
net/wifi-firmware-iwlwifi-kmod@bz
net/wifi-firmware-mt76-kmod@mt7915
net/wifi-firmware-mt76-kmod@mt792x
net/wifi-firmware-mt76-kmod@mt7996
net/wifi-firmware-mt7601u-kmod
net/wifi-firmware-rtw88-kmod@rtw8703b
net/wifi-firmware-rtw88-kmod@rtw8723d
net/wifi-firmware-rtw88-kmod@rtw8821c
net/wifi-firmware-rtw88-kmod@rtw8822b
net/wifi-firmware-rtw88-kmod@rtw8822c
net/wifi-firmware-rtw89-kmod@rtw8851b
net/wifi-firmware-rtw89-kmod@rtw8852a
net/wifi-firmware-rtw89-kmod@rtw8852b
net/wifi-firmware-rtw89-kmod@rtw8852c
net/wifi-firmware-rtw89-kmod@rtw8922a
This revision is now accepted and ready to land.Tue, Dec 9, 1:26 AM