Improve wifi stability
#1
I found out that the wifi stability improves greatly when you disable power management.

Just add
Code:
options 8723cs rtw_power_mgnt=0
to the file /etc/modprobe.d/8723cs.conf and reload the module or reboot.
#2
Thank you, I'll give this a try tonight and see if it helps keep my wifi up when I'm connecting via SSH.
#3
(05-06-2020, 10:57 AM)nas Wrote: I guess it does the same as the below command:

Code:
sudo iw dev wlan0 set power_save off

Nope, I had tried the iw command earlier and it did not help.
#4
Interesting...

By default, it seems to be set to 2, so I wonder what values it supports, and what the other options are.

Code:
cat /sys/module/8723cs/parameters/rtw_power_mgnt


If it's the same as the same as the Realtek RTL8192 chipset driver... it'll be:


Quote:rtw_power_mgnt
  • 0 = disable power saving
  • 1 = power saving on, minPS
  • 2 = power saving on, maxPS

And doing a
Code:
echo 0 | sudo tee /sys/module/8723cs/parameters/rtw_power_mgnt

looks like it *should* allow real-time control of that parameter (can't check atm as I don't have ssh access to my pinephone and typing terminal commands on a phone touchscreen is... painful). If it does work, it might be handy to shove in a script so you have have power saving when you want to prolong the battery or switch it off to get a more reliable wifi link.

It seems like
Code:
rtw_enusbss
rtw_ips_mode
may be worth playing with/zeroing also.
#5
Update: No, it didn't seem to help my phone at all. I still get frequent multi-second pauses over wifi. I'm looking into doing network over USB and I guess I'll bug the pinephone support guys to see if they can get me a new wifi board or something


Possibly Related Threads…
Thread Author Replies Views Last Post
  Kill switches for Wifi/Bluetooth does not work luxgiammi 0 119 10-14-2024, 03:34 PM
Last Post: luxgiammi
  power circuit can't charge battery and can't supply enough power for modem or wifi vortex 2 1,163 02-17-2024, 04:15 PM
Last Post: vortex
  bluetooth wifi bugs aular 6 2,563 08-27-2023, 07:53 AM
Last Post: aular
  No wifi/bluetooth on multiple OS's Xxancap15 1 1,502 10-28-2022, 12:10 PM
Last Post: fxc
  Wifi no scan results - Bluetooth adapter not available emsyr 1 1,795 08-29-2022, 02:46 PM
Last Post: emsyr
  Why not Atheros ath9k_htc for wifi? altulke 13 8,688 08-11-2022, 01:01 PM
Last Post: auanta
  Any experiences with hardware mod to improve eMMC speeds? kqlnut 9 7,453 04-19-2022, 02:36 PM
Last Post: kk22
  Did i break my wifi with the keyboard? captchasolver 5 3,963 02-10-2022, 03:39 PM
Last Post: pothos
  Wifi doesn't respond jmlich 6 5,352 02-04-2022, 06:50 PM
Last Post: bcnaz
  Suddenly WiFi signal strength is poor cinix 4 4,174 09-26-2021, 04:19 PM
Last Post: cinix

Forum Jump:


Users browsing this thread: 3 Guest(s)