> -----Original Message----- > From: Bitterblue Smith <rtl8821cerfe2@xxxxxxxxx> > Sent: Wednesday, June 28, 2023 9:28 PM > To: Giulio Paci <giuliopaci@xxxxxxxxx>; Ping-Ke Shih <pkshih@xxxxxxxxxxx> > Cc: James <bjlockie@xxxxxxxxx>; linux-wireless@xxxxxxxxxxxxxxx > Subject: Re: Realtek 8822ce connection is very unstable > > On 28/06/2023 13:35, Giulio Paci wrote: > > > > I confirm this is the approach I used in all my attempts, including > > disable_lps_deep=1. > > I also checked /sys/module/$module/parameters/$option content, to > > confirm that the options were correctly set. > > > > I have also carried out some additional attempts: > > > > - boot with iommu.passthrough=1 instead of pcie_aspm=off, but it does > > not seem to improve anything (and AER errors came back in the dmesg); > > - After my comments on https://github.com/lwfinger/rtw88/issues/150, > > https://github.com/lwfinger/rtw88/ was updated and I was able to load > > these modules. The connection is still very unstable, but with these > > modules, when the connection hangs, dmesg reports: > > > > rtw_8822ce 0000:03:00.0: firmware failed to leave lps state > > > > sometimes followed by: > > > > rtw_8822ce 0000:03:00.0: failed to send h2c command I suggest to try "iw wlan0 set power_save off" for these two cases, or you can configure network_manager along with [1]. And, as your experiment, set pcie_aspm=off to the Linux command line to avoid AER error. [1] https://gist.github.com/jcberthon/ea8cfe278998968ba7c5a95344bc8b55 > > One of my colleagues has the same hardware (same AP model and same > > laptop model) and also tried to install Debian bookworm on it. I asked > > to check if he experiences the same issue, but in his case he was able > > to stay connected for a few hours without any issue. > > I wonder if the issue I am experiencing could be due to defective > > hardware (initially I excluded it since the same configuration is very > > stable under Windows). Is there any specific test that I can try to > > exclude hardware issues? > > > > Bests, > > Giulio > > You can swap the wifi cards in the two laptops. Make sure to unplug > the charger and the battery before working inside. > I have the same thinking.