On Tue, Feb 08, 2011 at 11:11:26AM -0800, Aleksandar Milivojevic wrote: > On Tue, Feb 8, 2011 at 12:48 AM, Kalle Valo <kvalo@xxxxxxxxxx> wrote: > > > > There is CONFIG_CFG80211_DEFAULT_PS kconfig option, but I'm not aware > > of any other way to globally do this. I can only think of using iw or > > iwconfig to disable power save per device. > > I'm using iwconfig currently to disable power saving for wireless card > on my desktop after it boots up. However, from user perspective of > things, it would be awesome if default was not hard coded in the > kernel. E.g. on Debian you can add iwconfig settings to /etc/network/interfaces, see http://linux.die.net/man/7/wireless but I've no idea if that works with NetworkManager or wicd etc. I am not sure a global config setting for PS would not be an improvement because you usually want to enable it for the hw which supports it (unless you have specific low latency requirements). But I think on some distributions acpid scripts run iwconfig to change PS depending on if you're on AC or battery power. FWIW, I had sent a patch to change the rt2800 USB driver to default to PS off but Ivo seemed determined to fix power saving instead of disabling it. http://rt2x00.serialmonkey.com/pipermail/users_rt2x00.serialmonkey.com/2011-January/003017.html (This RFC patch only changes the default, if it turns out PS really cannot be fixed we should remove IEEE80211_HW_SUPPORTS_PS instead.) Johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html