Is network manager power save turned on? If it is turn it off that usually will cure the problem of turnoffs.
To find out issue this command in a terminal.
you get an output like this
Code:
lo no wireless extensions.
enp0s25 no wireless extensions.
wlp3s0 IEEE 802.11 ESSID:"1970x2"
Mode:Managed Frequency:5.765 GHz Access Point: 3C:84:6A:43:3A:8B
Bit Rate=780 Mb/s Tx-Power=22 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
Link Quality=67/70 Signal level=-43 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:43 Missed beacon:0
If it says Power Management is on turn it off by doing this
open your favorite text editor with root priviledes (maybe gedit) and
open this file
Code:
/etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
By Default you should see a line like this:
Code:
[connection]
wifi.powersave = 3
change the = 3 to = 2 save and reboot.
Then issue the command
again
and the line Power Management should say off.
See if that solves the problem.
If it does not you need to look elsewhere and you can change the setting back to 3 to turn it back on.