120eeed68SBjoern A. Zeeb.\"- 220eeed68SBjoern A. Zeeb.\" Copyright (c) 2022 Bjoern A. Zeeb 320eeed68SBjoern A. Zeeb.\" 420eeed68SBjoern A. Zeeb.\" Redistribution and use in source and binary forms, with or without 520eeed68SBjoern A. Zeeb.\" modification, are permitted provided that the following conditions 620eeed68SBjoern A. Zeeb.\" are met: 720eeed68SBjoern A. Zeeb.\" 1. Redistributions of source code must retain the above copyright 820eeed68SBjoern A. Zeeb.\" notice, this list of conditions and the following disclaimer. 920eeed68SBjoern A. Zeeb.\" 2. Redistributions in binary form must reproduce the above copyright 1020eeed68SBjoern A. Zeeb.\" notice, this list of conditions and the following disclaimer in the 1120eeed68SBjoern A. Zeeb.\" documentation and/or other materials provided with the distribution. 1220eeed68SBjoern A. Zeeb.\" 1320eeed68SBjoern A. Zeeb.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1420eeed68SBjoern A. Zeeb.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1520eeed68SBjoern A. Zeeb.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1620eeed68SBjoern A. Zeeb.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1720eeed68SBjoern A. Zeeb.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1820eeed68SBjoern A. Zeeb.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1920eeed68SBjoern A. Zeeb.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2020eeed68SBjoern A. Zeeb.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2120eeed68SBjoern A. Zeeb.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2220eeed68SBjoern A. Zeeb.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2320eeed68SBjoern A. Zeeb.\" SUCH DAMAGE. 2420eeed68SBjoern A. Zeeb.\" 2520eeed68SBjoern A. Zeeb.\" $FreeBSD$ 2620eeed68SBjoern A. Zeeb.\" 27*13e9d624SAndres Ramirez.Dd August 7, 2022 2820eeed68SBjoern A. Zeeb.Dt rtw88 4 2920eeed68SBjoern A. Zeeb.Os 3020eeed68SBjoern A. Zeeb.Sh NAME 3120eeed68SBjoern A. Zeeb.Nm rtw88 3220eeed68SBjoern A. Zeeb.Nd Realtek IEEE 802.11n/ac wireless network driver 3320eeed68SBjoern A. Zeeb.Sh SYNOPSIS 3420eeed68SBjoern A. ZeebThe driver will auto-load without any user interaction using 3520eeed68SBjoern A. Zeeb.Xr devmatch 8 3620eeed68SBjoern A. Zeebif enabled in 3720eeed68SBjoern A. Zeeb.Xr rc.conf 5 . 3820eeed68SBjoern A. Zeeb.Pp 3920eeed68SBjoern A. ZeebOnly if auto-loading is explicitly disabled, place the following 4020eeed68SBjoern A. Zeeblines in 4120eeed68SBjoern A. Zeeb.Xr rc.conf 5 4220eeed68SBjoern A. Zeebto manually load the driver as a module at boot time: 4320eeed68SBjoern A. Zeeb.Bd -literal -offset indent 4417732dd8SBjoern A. Zeebkld_list="${kld_list} if_rtw88" 4520eeed68SBjoern A. Zeeb.Ed 4620eeed68SBjoern A. Zeeb.Pp 4720eeed68SBjoern A. ZeebThe driver should automatically load any 4820eeed68SBjoern A. Zeeb.Xr rtw88fw 4 4920eeed68SBjoern A. Zeebfirmware needed for the particular chipset. 5020eeed68SBjoern A. Zeeb.Pp 5120eeed68SBjoern A. ZeebIt is discouraged to load the driver from 5220eeed68SBjoern A. Zeeb.Xr loader 8 . 5320eeed68SBjoern A. Zeeb.Sh DESCRIPTION 5420eeed68SBjoern A. ZeebThe 5520eeed68SBjoern A. Zeeb.Nm 5620eeed68SBjoern A. Zeebdriver is derived from Realtek's Linux rtw88 driver and provides support for 5720eeed68SBjoern A. Zeebthe following chipsets: 5820eeed68SBjoern A. Zeeb.Pp 5920eeed68SBjoern A. Zeeb.Bl -tag -width Ds -offset indent -compact 6020eeed68SBjoern A. Zeeb.It Realtek 802.11n wireless 8723de (RTL8723DE) 6120eeed68SBjoern A. Zeeb.It Realtek 802.11ac wireless 8821ce (RTL8821CE) 6220eeed68SBjoern A. Zeeb.It Realtek 802.11ac wireless 8822be (RTL8822BE) 6320eeed68SBjoern A. Zeeb.It Realtek 802.11ac wireless 8822ce (RTL8822CE) 6420eeed68SBjoern A. Zeeb.El 6520eeed68SBjoern A. Zeeb.Pp 6620eeed68SBjoern A. ZeebThe driver uses the 6720eeed68SBjoern A. Zeeb.\" No LinuxKPI man pages so no .Xr here. 6820eeed68SBjoern A. Zeeb.Em linuxkpi_wlan 6920eeed68SBjoern A. Zeeband 7020eeed68SBjoern A. Zeeb.Em linuxkpi 7120eeed68SBjoern A. Zeebcompat framework to bridge between the Linux and 7220eeed68SBjoern A. Zeebnative FreeBSD driver code as well as to the native 7320eeed68SBjoern A. Zeeb.Xr net80211 4 7420eeed68SBjoern A. Zeebwireless stack. 7520eeed68SBjoern A. Zeeb.Pp 7620eeed68SBjoern A. ZeebWhile 7720eeed68SBjoern A. Zeeb.Nm 7820eeed68SBjoern A. Zeebsupports all 802.11 a/b/g/n and ac 7920eeed68SBjoern A. Zeebthe compatibility code currently only supports 802.11 a/b/g modes. 8020eeed68SBjoern A. ZeebSupport for 802.11 n/ac is to come. 810881eb96SBjoern A. Zeeb.Sh LOADER TUNABLES 820881eb96SBjoern A. Zeeb.Bl -tag -width indent 830881eb96SBjoern A. Zeeb.It Va compat.linuxkpi.skb.mem_limit 84*13e9d624SAndres RamirezIf you are running a 64bit system with more than 4GB of main memory 850881eb96SBjoern A. Zeebyou need to set this tunable to 860881eb96SBjoern A. Zeeb.Sy 1 870881eb96SBjoern A. Zeebin 880881eb96SBjoern A. Zeeb.Xr loader.conf 5 890881eb96SBjoern A. Zeeband reboot once to make it effective. 900881eb96SBjoern A. ZeebThis tunable will work around a problem with DMA and limit allocations 910881eb96SBjoern A. Zeebfor network buffer memory to the lower 32bit of physical memory and 920881eb96SBjoern A. Zeebmake the driver work. 930881eb96SBjoern A. Zeeb.El 9420eeed68SBjoern A. Zeeb.Sh BUGS 9520eeed68SBjoern A. ZeebCertainly. 9620eeed68SBjoern A. Zeeb.Pp 9720eeed68SBjoern A. ZeebDoes not seem to work (reliably) on machines with more than 4GB of 9820eeed68SBjoern A. Zeebmain memory. 990881eb96SBjoern A. ZeebSee in the 1000881eb96SBjoern A. Zeeb.Sx LOADER TUNABLES 1010881eb96SBjoern A. Zeebsection above. 10220eeed68SBjoern A. Zeeb.Sh SEE ALSO 10320eeed68SBjoern A. Zeeb.Xr rtw88fw 4 , 10420eeed68SBjoern A. Zeeb.Xr wlan 4 , 10520eeed68SBjoern A. Zeeb.Xr ifconfig 8 , 10620eeed68SBjoern A. Zeeb.Xr wpa_supplicant 8 10720eeed68SBjoern A. Zeeb.Sh HISTORY 10820eeed68SBjoern A. ZeebThe 10920eeed68SBjoern A. Zeeb.Nm 11020eeed68SBjoern A. Zeebdriver first appeared in 11120eeed68SBjoern A. Zeeb.Fx 14.0 . 112