Lenovo Legion loses Wifi connection after sleep

Hi @AntonD,
I saw that you have now swap file or partition, do not now whether it could affect the wifi after sleep.

I found an unresponsed post with the same problem in the forum:
‘Wifi and brightness control problems after waking up from sleep’

I have two suggestions to your problem: read the following posts, one from the forum and the other from github, in order to solve your problem.
‘RTL8822CE Instability even with newest kernel’

‘Fix Wifi after sleep for Legion 5 Pro · Issue #7 · cszach/linux-on-lenovo-legion · GitHub’

Hope it help, regards.