wifi-firmware-*: update to 20260410 Update firmware to 20260410. This includes new firmware files for iwlwifi and rtw89. Bump the main firmware version as well. Sponsored by: The FreeBSD Foundation Reviewed by: jrm Differential Revision: https://reviews.freebsd.org/D57050b6e937823a
Port details
net/wifi-firmware-mt7601u-kmod 20260410
Firmware modules for the mt7601u (mt7601u) WiFi NIC driver
Port info
- Maintainer
- bz@FreeBSD.org
- Packages
- latest: 20260410
- Upstream
- up to date
- Last update
- to 20260410 · b6e937823a
- Quarterly
- 2026Q4: 20260410
- Formerly
- net/wifi-firmware-mtw-kmod until 2025-03-14
- WWW
- https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/mediatek
- Links
- cgit · VuXML
Install
- Package
# pkg install wifi-firmware-mt7601u-kmodinstalls 20260410 fromlatest; fromquarterly(2026Q4) 20260410- Port
# cd /usr/ports/net/wifi-firmware-mt7601u-kmod && make install clean- Size
- 28 KiB download · 48 KiB installed
- Depends on
- nothing
- License
- primary and whence
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 20260410 | 20260410 | – |
| FreeBSD 15 | 20260410 | 20260410 | – |
| FreeBSD 14 | 20260410 | 20260410 | 20260410 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 20260410 | 20260410 | – |
| FreeBSD 14 | 20260410 | 20260410 | 20260410 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by
pkg audit for the packaged version 20260410.Fixed (0)
No VuXML entries for this package.
Problem reports (0) · open in Bugzilla, most recently changed first
None.
Commits (7)
net/wifi-firmware-kmod: deal with '?' in file names as sha256 broke it md5 (sha256) as of 70fde0ed6bbbb1f84c440190ba1e5435f8c90e13 in base started quoting ? as \? which then goes into the distinfo file and as a result we fail to find that file later using Mk/Scripts/. Using the dummy=/ option is not as straight forward with a dynamic list of distfiles as one would wish. We now build a full matrix of MASTER_SITE x DISTFILES; that is for each "DISTFILE" we generate a :group with a full download URL on each "MASTER_SITE". That way each file is still possibly downloadable from each of the various master sites. The difference now is that the files stored in distfiles no longer contain the ?h=<tag> extension as we strip that for the distfile having it encoded in the master_site URLs. Building that matrix needs to happen after bsd.port.pre.mk is included as otherwise FLAVOR is not set correctly and we do not build the correct set of firmware files as requested. Adjust the remainder of the Makefile.inc to deal with the fact that the tag is no longer part of the file name. In order to not store files in the same place if they change between version, we now hash the distfiles linux-firmware directories by tag as well. With a bit more cleanup I should one day look into making this a USES=linuxfw or similar so it can more easily be re-used for other firmware as well. Re-generate all distinfo given file name changes. Sponsored by: The FreeBSD Foundation Reviewed by: jrm Differential Revision: https://reviews.freebsd.org/D57048 Differential Revision: https://reviews.freebsd.org/D570491d778b2649
net/wifi-firmware-mt7601u-kmod: bump version In order to keep all wifi-firmware ports on the same level, bump the version here; the underlying firmware file has not changed since it was added in 2023 so we are save. Sponsored by: The FreeBSD Foundation Reviewed by: jrm Differential Revision: https://reviews.freebsd.org/D5420584aebcc2d0
net/wifi-firmware-kmod: allow ONLY_FOR_ARCHS to be set by child ports mtw(4) is built along USB for all architectures so we need firmware on all architectures -- unlike the LinuxKPI based wireless drivers which are restricted by default. Allow ONLY_FOR_ARCHS to be set in a child port; maintaing a full list of supported ARCHes seems unreasonable though so allow NOT_FOR_ARCHS to disable the ONLY_FOR_ARCHS logic in Makefile.inc. That way wifi-firmware-mt7601u-kmod can define an empty NOT_FOR_ARCHS and it should build on all ARCHes. Sponsored by: The FreeBSD Foundation Reviewed by: jrm Differential Revision: https://reviews.freebsd.org/D53788c0198530f9
net/wifi-firmware-{iwlwifi,*}-kmod: add missing firmware files
The firmware files for iwlwifi were lacking entries for some older
driver versions on 14.2-RELEASE and stable/14 [1] before
src:f4e352ef16d6.
In addition iwx(4) switched to using the same firmware file names
as iwlwifi so that fwget(8) would work for both of them (D49259).
We add the set of iwx(4) firmware files hard coded to the list of
files.
Given the list of supported revisions will grow and maintaining them
for all branches will be tedious without overlap we will simply create
the lists and let make do the job of :O:u (sort/uniq) in the common
Makefile.inc to filter out duplicates between branches.
the future not mandating that main is first as some of these are
created from scripts.
Installing newer firmware also on stable branches will allow forward
updates. For iwlwifi(4) it is less of a problem given it will use an
older version of firmware still (and we are not hoping to fall out
of the min/max window) but other drivers may not have such a
versioned scheme and we cannot easily run fwget(8) for a newer
release with the old kernel (and once we have an updated kernel/driver
the old firmware is not guaranteed to work anymore).
It would be helpful if we could forget about firmware once a release
is out (given kmod packages are built) but anyone else building the
packages themselves would still use a newer ports tree so we will have
to at least support older versions until the EoL date of the last
release using them.
Admittedly it was easier having the firmware files bundled with src
as most of these problems were solved naturally.
For iwlwifi flavors 22000, ax201, and bz also add a tunable to
automatically turn on hw_crypto, HT and VHT support given we
believe it works for these chipsets.
Dump PORTREVISION to 2 for all of them; mt7601u was already there but
is not affected by these changes so we can leave it at that revision.
Sponsored by: The FreeBSD Foundation
Reported by: Stephane D'Alu (sdalu sdalu.com) [1]
PR: 284475 [1]
Reviewed by: thj, jrm
Differential Revision: https://reviews.freebsd.org/D49403ef3fa2a325net/wifi-firmware-mtw-kmod: Rename to net/wifi-firmware-mt7601u-kmod Fixes also the flavor part, so that the specific pkg includes the binary firmware Reviewed by: bz Differential Revision: https://reviews.freebsd.org/D48944bc12fec034
net/wifi-firmware-mtw-kmod: Add new port Firmware file for Mediatek USB WiFi NICs supported by the mtw driver, supported chipset MT7601U. Reviewed by: adrian Differential Revision: https://reviews.freebsd.org/D48817655e7cf3ee