Usage
Notes
options 8192cu rtw_power_mgnt=0 rtw_enusbss=0
Further improvement in wifi performance may result from correctly setting the regulatory domain in which you're operating, by adding the following lines to the same file:
softdep 8192cu pre: cfg80211
options cfg80211 ieee80211_regdom=AU
Take care to use the correct country code ('AU' for Australia is used in this example). Now reboot the Raspberry Pi for the changes to take efffect.
iw dev wlan0 get power_save
To turn the power save off in a way that survives reboots, download this startup script to disable Pi3 wifi power save using the browser's "Save Link As..." facility to save the script in the Home directory. Alternatively, in a terminal, use the command:
cd && wget https://cwilling.github.io/brewable/nowifipowersave
Now copy it into the /etc/network/if-up.d directory with the command:
sudo cp ~/nowifipowersave /etc/network/if-up.d
Ensure that the new file is executable with the command:
sudo chmod a+x /etc/network/if-up.d/nowifipowersave
After a reboot, running
iw dev wlan0 get power_save
again
should confirm "Power save: off".