It seems after my laptop (Lenovo ThinkPad P14s Gen 6 AMD) sleeps for a while, Wi-Fi performance will be limited to about 20Mbps down and similar but slightly more up.
And just to head it off: No it’s not the network.
The only solution I’ve found is rebooting.
Restarting NetworkManager doesn’t fix it.
Anyone know what this might be or what service is getting hung up?
Seems to have started recently, but I have no idea how to debug it.
I would have thought restarting NetworkManager would fix it, but the fact that it doesn’t leaves me baffled.
Right now, I’ve worked around it by doing the following:
$ sudo -i
# echo "1" > /sys/bus/pci/devices/0000\:c2\:00.0/remove
# sleep 1
# echo "1" | sudo tee -a /sys/bus/pci/rescan
Where 0000\:c2\:00.0 is my network interface card.
Seemed to fix it today, but I’m not too sure.
One thing to add, it doesn’t happen after every sleep cycle, and seems to happen more often when I unplug from my dock that has a thunderbolt ethernet NIC in it. But the latter part is more my perception than a fact. The thunderbolt dock might be totally unrelated in this.