On Sun, 3 Apr 2022, Oleg V. Nauman wrote:

Hi,

thanks a lot for testing and feedbac.

I have notebook with RTL8821CE pci adapter. My notebook running CURRENT
updated today ( FreeBSD 14.0-CURRENT #15 main-n254247-dadb9c70938c-dirty )

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

RTL8821CE works if my notebook limited to hw.physmem="4G" but fails if limit
removed.

That is good news (even though obviously not yet the news we need).


Some additional details that I collected during my tests:

a ) It loads firmware ane even able to attach/pass network traffic for some
time when my notebook is not limited and use all of 20 GB of RAM but fails
during the next few mins with "failed to get tx report from firmware"
diagnostic

Apr  3 08:49:57 sigill kernel: rtw880: successfully loaded firmware image
'rtw88/rtw8821c_fw.bin'
Apr  3 08:49:57 sigill kernel: rtw880: Firmware version 24.8.0, H2C version 12
Apr  3 08:49:57 sigill kernel: rtw880: start vif 80:91:33:4b:4a:d1 on port 0
Apr  3 08:49:57 sigill kernel: rtw880: failed to get tx report from firmware
Apr  3 08:49:57 sigill kernel: rtw880: sta 80:91:33:4b:4a:d1 joined with macid
0
Apr  3 08:49:57 sigill kernel: rtw880: failed to get tx report from firmware

b ) It was stable and running without warnings/errors during at least half of
hour while my notebook was limited to 4G

ifconfig wlan2 output while not associated:

wlan2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
       ether 80:91:33:4b:4a:d1
       groups: wlan
       ssid "" channel 1 (2412 MHz 11b)
       regdomain FCC country US authmode OPEN privacy OFF txpower 30 bmiss 7
       scanvalid 60 wme bintval 0
       parent interface: rtw880
       media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
       status: no carrier

and negotiate 11g when associated

Can you try:

sysctl compat.linuxkpi.rtw88_pci_disable_aspm=1
sysctl compat.linuxkpi.rtw88_disable_lps_deep=1

and see if that gives you more stability (no "failed to get tx report from 
firmware")?



I can not report compat.linuxkpi.lkpi_pci_nseg1_fail though
# sysctl compat.linuxkpi.lkpi_pci_nseg1_fail
sysctl: unknown oid 'compat.linuxkpi.lkpi_pci_nseg1_fail'

That one I jst comitted to CURRENT.



Please let me know if ou need some additional data.

Thank you




--
Bjoern A. Zeeb                                                     r15:7

Reply via email to