The firmware files for iwlwifi were lacking entries for some older
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.
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.
Sponsored by: The FreeBSD Foundation
Reported by: Stephane D'Alu (sdalu sdalu.com) [1]
PR: 284475 [1]