WiFi randomly disconnects and shows 'No Networks Available'

If you are experiencing wifi disconnections, I recommend first these two workarounds:

1º Disable wifi power saving
2º Disable MAC randomization