wi fi – Wifi keeps disconnecting

Lately I started having issues with the wifi that disconnect from time to time.

It disconnect at around 5 minutes to 10 minutes after I lock the phone.

I have found many issues similar to mine but all the fixes or workarounds (restarting router, using 2Ghz network, disable private dns, use static ip,…) that were given do not solve my issue.

I have the logcat logs. Do you see anything that explains why the phone disconnect from Wi-Fi?

https://sharetext.me/vulkp1gdgj

I am using Mi MIX 2 phone with LineageOS 17.1