Sometimes there are issues with speed, performance, lost of connection to access points.

This can be helpful in some configurations.

Before:

iwconfig wlan0

wlan0 IEEE 802.11 ESSID: 
Mode:Managed Frequency:5.26 GHz
Bit Rate=6 Mb/s Tx-Power=20 dBm 
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
Link Quality=56/70 Signal level=-54 dBm 
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:3 Missed beacon:0

Create this file, if you do not have it before.

sudo vi /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf

The content of the file:

[connection]
wifi.powersave = 2
# NM_SETTING_WIRELESS_POWERSAVE_DEFAULT (0): use the default value
# NM_SETTING_WIRELESS_POWERSAVE_IGNORE (1): don't touch existing setting
# NM_SETTING_WIRELESS_POWERSAVE_DISABLE (2): disable powersave
# NM_SETTING_WIRELESS_POWERSAVE_ENABLE (3): enable powersave

Then we need to restart the NetworkManager

/etc/init.d/network-manager restart

And efter this change the power management is disabled.

iwconfig wlan0

wlan0 IEEE 802.11 ESSID: 
Mode:Managed Frequency:5.26 GHz
Bit Rate=6 Mb/s Tx-Power=20 dBm 
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=56/70 Signal level=-54 dBm 
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0