rtw894
Realtek ieee 802.11ax wireless network driver
Usage
The driver will auto-load without any user interaction using devmatch(8) if enabled in rc.conf(5).
Only if auto-loading is explicitly disabled, place the following lines in rc.conf(5) to manually load the driver as a module at boot time:
kld_list="${kld_list} if_rtw89"
It is not possible to load the driver from loader(8).
Overview
The rtw89 driver is derived from Realtek's Linux rtw89 driver based on Linux version 7.0.
This driver requires firmware to be loaded before it will work. The package wifi-firmware-rtw89-kmod from the ports/net/wifi-firmware-rtw89-kmod port needs to be installed before the driver is loaded. Otherwise no wlan(4) interface can be created using ifconfig(8). One should use fwget(8) to install the correct firmware package.
The driver uses the linuxkpi_wlan(4) and linuxkpi(4) compat framework to bridge between the Linux and native FreeBSD driver code as well as to the native net80211(4) wireless stack.
Hardware
The rtw89 driver supports PCIe devices with the following chipsets:
-
Realtek 8851BE Wi-Fi 6 (RTL8851BE)
-
Realtek 8852AE Wi-Fi 6 (RTL8852AE)
-
Realtek 8852BE Wi-Fi 6 (RTL8852BE)
-
Realtek 8852BTE Wi-Fi 6 (RTL8852BE-VT)
-
Realtek 8852CE Wi-Fi 6E (RTL8852CE)
-
Realtek 8922AE Wi-Fi 7 (RTL8922AE)
Loader tunables
- compat.linuxkpi.skb.mem_limit
-
If you are running a 64bit system with more than 4GB of main memory you need to set this tunable to
1in loader.conf(5) and reboot once to make it effective. This tunable will work around a problem with DMA and limit allocations for network buffer memory to the lower 32bit of physical memory and make the driver work.
Releases
7 releases since FreeBSD 14.2-RELEASE; the text changed 3 times.