WiFi sporadically just dropping

I have a Aorus Elite X870e motherboard and the WiFi driver is rtw89_8892ae. The WiFi just randomly drops sometimes until I reconnect manually. It slowly ramps down and then I get a warning that I cannot get any internet eventhough I am connected to the network. I have tried o disable power saving, but no dice. dmesg output below.
Solution
Append the following to rpm-ostree kargs:
rtw89_core.disable_ps_mode=Y rtw89_pci.disable_clkreq=Y rtw89_pci.disable_aspm_l1=Y rtw89_pci.disable_aspm_l1ss=Y
Was this page helpful?