notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Port details
wifi-firmware-rtw89-kmod Firmware modules for the rtw89 (rtw89) WiFi NIC driver
20260410 net on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 20251125_2Version of this port present on the latest quarterly branch.
Maintainer: bz@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-04-22 15:27:12
Last Update: 2026-05-25 17:10:32
Commit Hash: b6e9378
License: primary whence
WWW:
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/rtw89
Description:
Firmware files for Realtek WiFi NICs supported by the rtw89 driver.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • wifi-firmware-rtw89-kmod>0:net/wifi-firmware-rtw89-kmod
Conflicts:
CONFLICTS_INSTALL:
  • wifi-firmware-rtw89-kmod-rtw8851b
  • wifi-firmware-rtw89-kmod-rtw8852a
  • wifi-firmware-rtw89-kmod-rtw8852b
  • wifi-firmware-rtw89-kmod-rtw8852bt
  • wifi-firmware-rtw89-kmod-rtw8852c
  • wifi-firmware-rtw89-kmod-rtw8922a
To install the port:
cd /usr/ports/net/wifi-firmware-rtw89-kmod/ && make install clean
To add the package, run one of these commands:
  • pkg install net/wifi-firmware-rtw89-kmod
  • pkg install wifi-firmware-rtw89-kmod
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: wifi-firmware-rtw89-kmod
Package flavors (<flavor>: <package>)
  • rtw89: wifi-firmware-rtw89-kmod
  • rtw8851b: wifi-firmware-rtw89-kmod-rtw8851b
  • rtw8852a: wifi-firmware-rtw89-kmod-rtw8852a
  • rtw8852b: wifi-firmware-rtw89-kmod-rtw8852b
  • rtw8852bt: wifi-firmware-rtw89-kmod-rtw8852bt
  • rtw8852c: wifi-firmware-rtw89-kmod-rtw8852c
  • rtw8922a: wifi-firmware-rtw89-kmod-rtw8922a
ONLY_FOR_ARCHS: aarch64 amd64 i386 riscv64
distinfo:
TIMESTAMP = 1778950506 SHA256 (linux-firmware/20260410/rtw89fw/rtw89/rtw8851b_fw-1.bin) = 1c4ccb5fa06bf5649146025e95993db66876a1fbc0bd766ec05686587f69c1b7 SIZE (linux-firmware/20260410/rtw89fw/rtw89/rtw8851b_fw-1.bin) = 1408706

Expand this list (36 items)

Collapse this list.

SHA256 (linux-firmware/20260410/rtw89fw/rtw89/rtw8851b_fw.bin) = 945c854d7cf69dd97bf1da0181b011787d9b3c5d59c47e8b9dbea4eb4eee170b SIZE (linux-firmware/20260410/rtw89fw/rtw89/rtw8851b_fw.bin) = 1164440 SHA256 (linux-firmware/20260410/rtw89fw/rtw89/rtw8852a_fw-1.bin) = 241320fae9ca40781abb3e5368da91232e11c1c96609563822442b533348ccab SIZE (linux-firmware/20260410/rtw89fw/rtw89/rtw8852a_fw-1.bin) = 1958048 SHA256 (linux-firmware/20260410/rtw89fw/rtw89/rtw8852a_fw.bin) = 7eb1fe457f5a704b7a4f05a66c67cfa6af2f1142566b640c8e402445d04b0159 SIZE (linux-firmware/20260410/rtw89fw/rtw89/rtw8852a_fw.bin) = 1428272 SHA256 (linux-firmware/20260410/rtw89fw/rtw89/rtw8852b_fw-1.bin) = 5b68415e3bfe72715d63a70703d4471b04b5475b8ff69cfdc8cdf48233cd5d3a SIZE (linux-firmware/20260410/rtw89fw/rtw89/rtw8852b_fw-1.bin) = 1245944 SHA256 (linux-firmware/20260410/rtw89fw/rtw89/rtw8852b_fw-2.bin) = 07e6451c0009b73023da94bbfe7a5333044e504812f4cf8dcb284d4046588e3a SIZE (linux-firmware/20260410/rtw89fw/rtw89/rtw8852b_fw-2.bin) = 1554210 SHA256 (linux-firmware/20260410/rtw89fw/rtw89/rtw8852b_fw.bin) = 5b9c224ae014e0aeade8701412d820e213c8880e08615b3905dba89659f21baf SIZE (linux-firmware/20260410/rtw89fw/rtw89/rtw8852b_fw.bin) = 1035232 SHA256 (linux-firmware/20260410/rtw89fw/rtw89/rtw8852bt_fw-1.bin) = 164e5e2243b1241a23d5e77876aa11be003fb09f5aa7794dc7bbf80957c8c254 SIZE (linux-firmware/20260410/rtw89fw/rtw89/rtw8852bt_fw-1.bin) = 937688 SHA256 (linux-firmware/20260410/rtw89fw/rtw89/rtw8852bt_fw.bin) = b6ace5c57c594bd169eee3f4ebad60d1bacbebc622cb6993d1b34c734636e4b0 SIZE (linux-firmware/20260410/rtw89fw/rtw89/rtw8852bt_fw.bin) = 928458 SHA256 (linux-firmware/20260410/rtw89fw/rtw89/rtw8852c_fw-1.bin) = 95e4226f7a4c2a506a5ea2bb8b6247842dd12fc312639750881c5bfdec7bbec5 SIZE (linux-firmware/20260410/rtw89fw/rtw89/rtw8852c_fw-1.bin) = 2375560 SHA256 (linux-firmware/20260410/rtw89fw/rtw89/rtw8852c_fw-2.bin) = 916e87d1470bce5400712f53d419ae68a0f44d858670c57e118d4f0b1d89c5b4 SIZE (linux-firmware/20260410/rtw89fw/rtw89/rtw8852c_fw-2.bin) = 2644326 SHA256 (linux-firmware/20260410/rtw89fw/rtw89/rtw8852c_fw.bin) = e05e704911ec5d6523e2951416290cc2189444d48a0420e637de6acf5bf21228 SIZE (linux-firmware/20260410/rtw89fw/rtw89/rtw8852c_fw.bin) = 1532656 SHA256 (linux-firmware/20260410/rtw89fw/rtw89/rtw8922a_fw-1.bin) = 4340bc322912f30f1793bb57a1747c23b15e40db2df628d6687d1ddf722f2828 SIZE (linux-firmware/20260410/rtw89fw/rtw89/rtw8922a_fw-1.bin) = 1583434 SHA256 (linux-firmware/20260410/rtw89fw/rtw89/rtw8922a_fw-2.bin) = 9ca08cd3098b954cc0d44edd5c0b079877e5dd9b98d55cfec1c302b41475d88c SIZE (linux-firmware/20260410/rtw89fw/rtw89/rtw8922a_fw-2.bin) = 1586954 SHA256 (linux-firmware/20260410/rtw89fw/rtw89/rtw8922a_fw-3.bin) = 484f496bc149706b92c7352925fef4155fecb60bc61ec0f5c55a3b651ed915f4 SIZE (linux-firmware/20260410/rtw89fw/rtw89/rtw8922a_fw-3.bin) = 1238542 SHA256 (linux-firmware/20260410/rtw89fw/rtw89/rtw8922a_fw-4.bin) = d11927f593c82879bd0437435475d7915a60932374747984b3dc906a23009dea SIZE (linux-firmware/20260410/rtw89fw/rtw89/rtw8922a_fw-4.bin) = 1849226 SHA256 (linux-firmware/20260410/rtw89fw/rtw89/rtw8922a_fw.bin) = 84458f2fa7c9a730fae242d858a82814141421d66a1f672a10121982513daf6d SIZE (linux-firmware/20260410/rtw89fw/rtw89/rtw8922a_fw.bin) = 1537690 SHA256 (linux-firmware/20260410/rtw89fw/LICENCE.rtlwifi_firmware.txt) = a61351665b4f264f6c631364f85b907d8f8f41f8b369533ef4021765f9f3b62e SIZE (linux-firmware/20260410/rtw89fw/LICENCE.rtlwifi_firmware.txt) = 2115 SHA256 (linux-firmware/20260410/rtw89fw/WHENCE) = c282239a5a2d849677e9304e6f361e475e1b6e71e7c771c03f8986f71b309527 SIZE (linux-firmware/20260410/rtw89fw/WHENCE) = 425450

Collapse this list.


Packages (timestamps in pop-ups are UTC):
wifi-firmware-rtw89-kmod
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-----n/an/an/a
FreeBSD:13:quarterly-----n/an/an/a
FreeBSD:14:latest2025112520251125--20251125---
FreeBSD:14:quarterly2025112520251125--20251125---
FreeBSD:15:latest2025112520251125n/a-n/an/a--
FreeBSD:15:quarterly2025112520251125n/a-n/an/a--
FreeBSD:16:latest2025112520251125n/a-n/an/a--
 
wifi-firmware-rtw89-kmod-rtw8851b
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-----n/an/an/a
FreeBSD:13:quarterly-----n/an/an/a
FreeBSD:14:latest2025112520251125--20251125---
FreeBSD:14:quarterly2025112520251125--20251125---
FreeBSD:15:latest2025112520251125n/a-n/an/a--
FreeBSD:15:quarterly2025112520251125n/a-n/an/a--
FreeBSD:16:latest2025112520251125n/a-n/an/a--
 
wifi-firmware-rtw89-kmod-rtw8852a
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-----n/an/an/a
FreeBSD:13:quarterly-----n/an/an/a
FreeBSD:14:latest2025112520251125--20251125---
FreeBSD:14:quarterly2025112520251125--20251125---
FreeBSD:15:latest2025112520251125n/a-n/an/a--
FreeBSD:15:quarterly2025112520251125n/a-n/an/a--
FreeBSD:16:latest2025112520251125n/a-n/an/a--
 
wifi-firmware-rtw89-kmod-rtw8852b
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-----n/an/an/a
FreeBSD:13:quarterly-----n/an/an/a
FreeBSD:14:latest2025112520251125--20251125---
FreeBSD:14:quarterly2025112520251125--20251125---
FreeBSD:15:latest2025112520251125n/a-n/an/a--
FreeBSD:15:quarterly2025112520251125n/a-n/an/a--
FreeBSD:16:latest2025112520251125n/a-n/an/a--
 
wifi-firmware-rtw89-kmod-rtw8852bt
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-----n/an/an/a
FreeBSD:13:quarterly-----n/an/an/a
FreeBSD:14:latest2025112520251125--20251125---
FreeBSD:14:quarterly2025112520251125--20251125---
FreeBSD:15:latest2025112520251125n/a-n/an/a--
FreeBSD:15:quarterly2025112520251125n/a-n/an/a--
FreeBSD:16:latest2025112520251125n/a-n/an/a--
 
wifi-firmware-rtw89-kmod-rtw8852c
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-----n/an/an/a
FreeBSD:13:quarterly-----n/an/an/a
FreeBSD:14:latest2025112520251125--20251125---
FreeBSD:14:quarterly2025112520251125--20251125---
FreeBSD:15:latest2025112520251125n/a-n/an/a--
FreeBSD:15:quarterly2025112520251125n/a-n/an/a--
FreeBSD:16:latest2025112520251125n/a-n/an/a--
 
wifi-firmware-rtw89-kmod-rtw8922a
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-----n/an/an/a
FreeBSD:13:quarterly-----n/an/an/a
FreeBSD:14:latest2025112520251125--20251125---
FreeBSD:14:quarterly2025112520251125--20251125---
FreeBSD:15:latest2025112520251125n/a-n/an/a--
FreeBSD:15:quarterly2025112520251125n/a-n/an/a--
FreeBSD:16:latest2025112520251125n/a-n/an/a--
 
This port has no dependencies.
This port is required by:
for Run
  1. net/wifi-firmware-kmod

Configuration Options:
No options to configure
Options name:
net_wifi-firmware-rtw89-kmod
USES:
uidfix
FreshPorts was unable to extract/find any pkg message
Master Sites:
  1. There is no master site for this port.

Number of commits found: 9

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
20260410
25 May 2026 17:10:32
commit hash: b6e937823aee517af32997de9655c7208fe4095ccommit hash: b6e937823aee517af32997de9655c7208fe4095ccommit hash: b6e937823aee517af32997de9655c7208fe4095ccommit hash: b6e937823aee517af32997de9655c7208fe4095c files touched by this commit
Bjoern A. Zeeb (bz) search for other commits by this committer
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/D57050
20251125
25 May 2026 17:10:32
commit hash: 1d778b26492de5de0143c4555e8de86ce2cdadfbcommit hash: 1d778b26492de5de0143c4555e8de86ce2cdadfbcommit hash: 1d778b26492de5de0143c4555e8de86ce2cdadfbcommit hash: 1d778b26492de5de0143c4555e8de86ce2cdadfb files touched by this commit
Bjoern A. Zeeb (bz) search for other commits by this committer
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
(Only the first 15 lines of the commit message are shown above View all of this commit message)
20251125_2
14 Dec 2025 19:44:57
commit hash: 52d2067c871c0bc774b016b298661ce0252d2ae7commit hash: 52d2067c871c0bc774b016b298661ce0252d2ae7commit hash: 52d2067c871c0bc774b016b298661ce0252d2ae7commit hash: 52d2067c871c0bc774b016b298661ce0252d2ae7 files touched by this commit
Bjoern A. Zeeb (bz) search for other commits by this committer
net/wifi-firmware-rtw8[89]-kmod: update firmware files

With the removal of the "USE=kmod" and only building packages with
plain firmware files, our version went backwards.  Updating the
firmware will fix this.

Change to a script to extract the firmware files from WHENCE to get
them all.  This also helps us as we no longer have to manually track
older files as they are already included in the list.

Sponsored by:	The FreeBSD Foundation
Reviewed by:	jrm
Differential Revision: https://reviews.freebsd.org/D54202
20241017_1
10 Nov 2024 23:20:15
commit hash: be7bdd6616c0980dfa2f8e91bd52d7f3b5f969e1commit hash: be7bdd6616c0980dfa2f8e91bd52d7f3b5f969e1commit hash: be7bdd6616c0980dfa2f8e91bd52d7f3b5f969e1commit hash: be7bdd6616c0980dfa2f8e91bd52d7f3b5f969e1 files touched by this commit
Bjoern A. Zeeb (bz) search for other commits by this committer
net/wifi-firmware-*: add support to set loader tunable

For drivers which currently need to set the
compat.linuxkpi.skb.mem_limit tunable add an option to the build
to create it automatically for each FLAVOR.   There is no harm
if it is there multiple times setting it to the same value (apart
from file including and parsing overhead in loader -- however that
works).

Add the option to the rtw88 and rtw89 wifi-firmware Makefile.

Having it with the firmware package has multiple advantages:
- the user does not have to do any manual configuration anymore
- we do not have to configure setting it into the release builds
- bsdinstall does not need to know about it to set for the installed
  system (depending on driver).

Bump PORTREVISION.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 minute
X-MFC for:	releng 14.2
Differential Revision: https://reviews.freebsd.org/D47481
20241017
01 Nov 2024 02:11:31
commit hash: 1a0146ce027d0c4315042d541458fb9831268e48commit hash: 1a0146ce027d0c4315042d541458fb9831268e48commit hash: 1a0146ce027d0c4315042d541458fb9831268e48commit hash: 1a0146ce027d0c4315042d541458fb9831268e48 files touched by this commit
Bjoern A. Zeeb (bz) search for other commits by this committer
net/wifi-firmware-*kmod: update firmware for iwlwifi, rtw88, rtw89

The drivers are updated in main.  Add newer supported firmware along
with it while (manually) keeping some older revisions in some drivers
for the stable braches.

Sponsored by:	The FreeBSD Foundation
Reviewed by:	jrm, (cy previous revision)
Differential Revision: https://reviews.freebsd.org/D47142
20240513
27 Aug 2024 17:41:52
commit hash: 8f79c11c717126a42a6f17f30a193cf1da866831commit hash: 8f79c11c717126a42a6f17f30a193cf1da866831commit hash: 8f79c11c717126a42a6f17f30a193cf1da866831commit hash: 8f79c11c717126a42a6f17f30a193cf1da866831 files touched by this commit
Bjoern A. Zeeb (bz) search for other commits by this committer
net/wifi-firmware-*: build framework and license hack cleanup

Cleanup the extra layer of "flavour" that came into the build framework
when flavours were introduced at a time when it was not planned.
Make linters some more happy. [1]

Remove the special license hack to install additional files.
If DISABLE_LICENSES is set we still installed files making builds fail [2].
One would hope to always install the lincese files but simply disable
any checking by the framework.
Introduce a new way using LICENSE_COMB=multi to install the default
license file, the extra WHENCE and any possible extra firmware license
files.  Technically this is an abuse of the system too but at least it
should work and not break non default options.

Based on:	D45369 by jrm [1]
Reported by:	pi [2]
Sponsored by:	The FreeBSD Foundation
Reviewed by:	jrm
Differential Revision: https://reviews.freebsd.org/D46124
20240513
23 May 2024 22:19:37
commit hash: 80f50c9eb66d88b6e69cd5159d1ff318dcb60b33commit hash: 80f50c9eb66d88b6e69cd5159d1ff318dcb60b33commit hash: 80f50c9eb66d88b6e69cd5159d1ff318dcb60b33commit hash: 80f50c9eb66d88b6e69cd5159d1ff318dcb60b33 files touched by this commit
Bjoern A. Zeeb (bz) search for other commits by this committer
net/wifi-firmware-*kmod: improve build logic, add flavors, update fw version

- update framework to no longer depend on local distfiles for firmware(9)
  but generate the Makefile hierarchy in post-extract.  Keep a
  Makefile.inc.in in files for simplicity.
- update extracting WHENCE parts using a local WHENCE.awk.in in files
  and a pattern to match the section(s).
- use the already prepared FWSUBS sections for flavors and add the
  FWDRV as "default".  Generate the CONFLICTS_INSTALL conflict and
  PKGNAMESUFFIX entries.  Adjust paths and logic for flavors.
  Depend on the flavors rather the combined ("default flavor") packages
  by default if someone installs wifi-firmware-kmod.
  The wifi-firmware-${name}-kmod packages are still built for older
  versions of fwget shipping in releases.
- add support for iwlwifi and ath12k firmware
- update firmware to linux-firmware.git tag: 20240513 for all drivers.

Sponsored by:	The FreeBSD Foundation
Reviewed by:	jrm
Differential Revision: https://reviews.freebsd.org/D44945
20230310
12 May 2023 11:57:09
commit hash: 6247964e51aa9d2dd972fb4c545c97164bda609ccommit hash: 6247964e51aa9d2dd972fb4c545c97164bda609ccommit hash: 6247964e51aa9d2dd972fb4c545c97164bda609ccommit hash: 6247964e51aa9d2dd972fb4c545c97164bda609c files touched by this commit
Bjoern A. Zeeb (bz) search for other commits by this committer
net/wifi-firmware-*: use metaport for "base" and switch to Makefile.inc

Rename the wifi-firmware-base to wifi-firmware-kmod (similar to
gpu-firmware-mod).  The former was never build so technically it
is no move.  Make the new subdir a metaport including all
wireless firmware.
Move the old Makefile to Makefile.inc and adjust the child ports
accordingly.

This solves two problems: (1) the base port is now buildable and (2)
there is a single port to depend on to add all the needed firmware
files to, e.g., put on a release media.

Suggested by:	amdmi3
PR:		270742
Reviewed by:	ehaupt, jrm
Approved by:	ehaupt, jrm
Differential Revision: https://reviews.freebsd.org/D40014
20230310
22 Apr 2023 15:21:22
commit hash: 3082cab3f868c1f7538d5221080703d891a2d0a6commit hash: 3082cab3f868c1f7538d5221080703d891a2d0a6commit hash: 3082cab3f868c1f7538d5221080703d891a2d0a6commit hash: 3082cab3f868c1f7538d5221080703d891a2d0a6 files touched by this commit Sanity Test Failure
Bjoern A. Zeeb (bz) search for other commits by this committer
net/wifi-firmware-*: add framework and firmware for various WiFi chipsets

Add a "base port framework" to fetch (WiFi) firmware and license files
from the linux-firmware.git repository and an accompanying FreeBSD
build kmod framework tarball (for now; we might do without that in
the future).
Add child ports for Realtek rtw88 and rtw89, Mediatek mt76, and
Atheros ath10k and ath11k firmware as a start.

This is a beginning in order to stop bloating src.git and the
installed kernels with lots of MB of firmware files whereas usually
only one vebdor/chipset/flavor is needed.  Before fully switching
more infrastructure needs to be in place but this is the first and
most important step.

PR:		270742
Reviewed by:	lwhsu
Approved by:	lwhsu (ports)
Differential Revision: https://reviews.freebsd.org/D39487

Number of commits found: 9