Driver rtw88 wifi RTL8821CE

Help with setting up network cards, including WiFi cards.
Post Reply
User avatar
judd
Posts: 10
Joined: Wed Jun 03, 2020 4:55 pm
Location: Republica Argentina
Contact:

Driver rtw88 wifi RTL8821CE

Post by judd »

As a first step, install the firmware package, as the firmware comes by default in the kernel, but is not enabled due to licensing issues:

Code: Select all

$ ls -al /boot/kernel/if_rtw88.ko
-r--r--r-- 1 root wheel 1185856 26 Dec. 04:37 /boot/kernel/if_rtw88.ko
Then install the driver:

Code: Select all

pkg install wifi-firmware-rtw88-kmod

From Realtek RTW88 FreeBSD wiki "Currently known issue":

Does not work on machines with more than 4GB of physical memory. Likely busdma+LinuxKPI problem to be investigated. D34715 has a change to gather data (which is in freebsd/main by now).

You need to boot with compat.linuxkpi.skb.mem_limit=1 in loader.conf to limit DMA to 32bit (announcement on freebsd-wireless for more info).


/boot/loader.conf:

Code: Select all

compat.linuxkpi.skb.mem_limit=1
reboot system, see if the driver has attached to the device, if not, try:

Code: Select all

kldload if_rtw88

Souce: https://forums.freebsd.org/threads/driv ... 1ce.93184/
User avatar
neville
Developer
Posts: 90
Joined: Fri Aug 13, 2021 10:27 am
Location: Japan

Re: Driver rtw88 wifi RTL8821CE

Post by neville »

Thanks!
Post Reply