Bug 273621 - rtw88, rtw89 meta-bug
Summary: rtw88, rtw89 meta-bug
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: wireless (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: Bjoern A. Zeeb
URL:
Keywords: tracking
Depends on: 268565 272145 281979 281981 281982 248235 272772 274303 282037
Blocks: 273622
  Show dependency treegraph
 
Reported: 2023-09-07 19:17 UTC by Bjoern A. Zeeb
Modified: 2024-10-16 14:37 UTC (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bjoern A. Zeeb freebsd_committer freebsd_triage 2023-09-07 19:17:34 UTC

    
Comment 1 Bjoern A. Zeeb freebsd_committer freebsd_triage 2023-09-07 19:36:17 UTC
See also:

https://wiki.freebsd.org/WiFi/Rtw88
https://wiki.freebsd.org/WiFi/Rtw89
Comment 2 superium 2024-03-12 01:24:05 UTC
freeBSD 14 and 13 both crash on my laptop with rtw8822ce wifi card.
i have 16GB mem and applied compat.linuxkpi.skb.mem_limit=1 in loader.conf .
when transfer some data , it was slow, only 80kb/s, and the system auto reboot sometime while transfer.


i'm new to BSD. and not very clear how to find out more details. appoligize me.
Comment 3 FreeBSDLouisville 2024-05-26 01:44:07 UTC
I am running rtw88 on freebsd 14.1 with latest git pull.
I am getting the following errors:
wlan0: link state changed to DOWN
rtw880: lkpi_iv_newstate: error 95 during state transition 2 (AUTH) -> 2 (AUTH)
wlan0: link state changed to UP
wlan0: link state changed to DOWN
rtw880: lkpi_iv_newstate: error 95 during state transition 2 (AUTH) -> 2 (AUTH)
wlan0: link state changed to UP
wlan0: link state changed to DOWN
rtw880: lkpi_iv_newstate: error 95 during state transition 2 (AUTH) -> 2 (AUTH)
wlan0: link state changed to UP
wlan0: link state changed to DOWN
rtw880: lkpi_iv_newstate: error 95 during state transition 2 (AUTH) -> 2 (AUTH)
wlan0: link state changed to UP
wlan0: link state changed to DOWN
rtw880: lkpi_iv_newstate: error 95 during state transition 2 (AUTH) -> 2 (AUTH)
wlan0: link state changed to UP
wlan0: link state changed to DOWN
rtw880: lkpi_iv_newstate: error 95 during state transition 2 (AUTH) -> 2 (AUTH)
wlan0: link state changed to UP

Here are my tunables in loader.conf:
compat.linuxkpi.skb.mem_limit=1
# from freebsd forum
compat.linuxkpi.rtw88_pci_disable_aspm=1
compat.linuxkpi.rtw88_disable_lps_deep=1
i
Comment 4 Bjoern A. Zeeb freebsd_committer freebsd_triage 2024-05-26 16:09:01 UTC
(In reply to FreeBSDLouisville from comment #3)

Not really an issue here;  that's 13+ years old behavior in net80211 (which we will hopefully fix) but we are just logging and asserting it in LinuxKPI.
I cannot say about the frequencies of your link UP/DOWN but if they are frequent, please open a dedicated bug for it so we can track it.
Comment 5 Bjoern A. Zeeb freebsd_committer freebsd_triage 2024-05-26 16:11:54 UTC
For future reference:

this is a "meta-bug" which is a placeholder to collect all rtw88/rtw89 related bugs.

Please see if your problem is listed somewhere here:
https://bugs.freebsd.org/bugzilla/showdependencytree.cgi?id=273621&hide_resolved=0
or here:
https://bugs.freebsd.org/bugzilla/showdependencytree.cgi?id=277512&hide_resolved=0

If not and search doesn't yield anything else either, then please open a new problem report.

Thank you.