driver rtw88 wifi RTL8821CE

Well, I started reading and besides adding to /boot/loader.conf → compat.linuxkpi.skb.mem_limit=1

and install by ports:

# cd /usr/ports/net/wifi-firmware-rtw88-kmod/ && make install clean

Also add to /etc/rc.conf:

kld_list="${kld_list} if_rtw88"


So far it's been almost 15 minutes with stable wifi connection.
 
I haven't touched that, as T-Daemon says:

devmatch(8) is enabled by default:
/etc/defaults/rc.conf:

devmatch_enable="YES" # Demand load kernel modules based on device ids.

bileslav
Just add the above to /etc/rc.conf:
kld_list="${kld_list} if_rtw88"
Well, the point is that kld_list="${kld_list} if_rtw88" is needed only when one have devmatch_enable="NO". You don't need this with the default devmatch_enable="YES".
 
Well, the point is that kld_list="${kld_list} if_rtw88" is needed only when one have devmatch_enable="NO". You don't need this with the default devmatch_enable="YES".

It's true from what I've read and as you say, but it happens to work like that!

Even if it is not technically correct.
 
bileslav

Well, the point is that kld_list="${kld_list} if_rtw88" is needed only when one have devmatch_enable="NO". You don't need this with the default devmatch_enable="YES".

I have just removed it from /etc/rc.conf and proved that it is not necessary to have it there, it makes no difference to downloads and system navigation.

Thanks for pointing out the error!

speed3.png
→ the signal works in that download range even though I am contracted for 100 MB download is not bad and stop using a wifi dongle on this Dell. I also tried installing Freebsd 14.1 on an Asus with the same wifi card but couldn't get it to work.

Code:
rtw880@pci0:2:0:0:    class=0x028000 rev=0x00 hdr=0x00 vendor=0x10ec device=0xc821 subvendor=0x10ec subdevice=0xc828
    vendor     = 'Realtek Semiconductor Co., Ltd.'
    device     = 'RTL8821CE 802.11ac PCIe Wireless Network Adapter'
    class      = network
 
Well, I started reading and besides adding to /boot/loader.conf → compat.linuxkpi.skb.mem_limit=1

and install by ports:

# cd /usr/ports/net/wifi-firmware-rtw88-kmod/ && make install clean

Also add to /etc/rc.conf:

kld_list="${kld_list} if_rtw88"


So far it's been almost 15 minutes with stable wifi connection.
thanks for this.
so far so good on my end
but like you, my 100mbps is limited to 20mbps.
but at least it works:cool:
 
I also tried installing Freebsd 14.1 on an Asus with the same wifi card but couldn't get it to work.

Code:
rtw880@pci0:2:0:0:    class=0x028000 rev=0x00 hdr=0x00 vendor=0x10ec device=0xc821 subvendor=0x11ad subdevice=0x0809
    vendor     = 'Realtek Semiconductor Co., Ltd.'
    device     = 'RTL8821CE 802.11ac PCIe Wireless Network Adapter'
    class      = network

Now it works on Asus, it was my typo.
 
After a long time I am using that Laptop again (FreeBSD 14.1) and I have just noticed that the internet speed with this rtw880 chip is awfully slow, just about 318 kB/Sec! This does not seem normal. Any ideas about this? Does the needed entry of
compat.linuxkpi.skb.mem_limit=1
have anything to do with this low speed?
 
FOXNbsd, please note that the rtw88 is functional, but still in development.

As SirDice said


Though, the driver (/boot/kernel/if_rtw88.ko) should auto-load.

rtw88(4)
Code:
SYNOPSIS
     The driver will auto-load without any user interaction using devmatch(8)
     if enabled in rc.conf(5).

devmatch(8) is enabled by default:
/etc/defaults/rc.conf
Code:
devmatch_enable="YES"   # Demand load kernel modules based on device ids.

and the device ids match


Support Matrix
Rich (BB code):
Which chipset was tested?
Card        PCI IDs
RTL8821CE   0x10ec/0xc821/0x1a3b/0x3040

FOXNbsd, set in

/boot/loader.conf
Code:
compat.linuxkpi.skb.mem_limit=1
reboot system, see if the driver has attached to the device (check pciconf(8)), if not, try kldload if_rtw88.

Also, the firmware is included in the base system, no need to install a firmware package.
Rich (BB code):
/boot/kernel/rtw8822c_fw.bin.ko
/boot/kernel/rtw8822b_fw.bin.ko
/boot/kernel/if_rtw88.ko
/boot/kernel/rtw8821c_fw.bin.ko
/boot/kernel/rtw8822c_wow_fw.bin.ko

If the driver still doesn't attach to the device, contact the developer of the driver Björ A. Zeeb at bz@freebsd.org, or on freebsd-wireless@freebsd.org mailing list.
fellow your step .the rtw8822ce still not work.thanks. give up. waiting for new driver. thanks.
 
I followed the instructions in this thread. I did kldunload and kldload if_rtw88 and get
Code:
rtw880: <rtw_8821ce> port 0xd000-0xd0ff mem 0xfcc00000-0xfcc0ffff at device 0.0 on pci4
rtw880: successfully loaded firmware image 'rtw88/rtw8821c_fw.bin'
rtw880: Firmware version 24.11.0, H2C version 12
in the pciconf -lv I have
Code:
rtw880@pci0:4:0:0:      class=0x028000 rev=0x00 hdr=0x00 vendor=0x10ec device=0xc821 subvendor=0x1a3b subdevice=0x304c
    vendor     = 'Realtek Semiconductor Co., Ltd.'
    device     = 'RTL8821CE 802.11ac PCIe Wireless Network Adapter'
    class      = network
But unfortunately it does not appear in ifconfig. I can only see my ethernet re0 and the loop lo0. No other network card.

Any ideas?
 
But unfortunately it does not appear in ifconfig.
Wireless interfaces never do. Only the wlandev device (wlan0 for example) you derive from it would show up.

 
Back
Top