On Fri, Nov 28, 2008 at 11:49 AM, Kalle Valo <kalle.valo@xxxxxxxxx> wrote: > This patch implements dynamic power save for mac80211. Basically it > means enabling power save mode after an idle period. Implementing it > dynamically gives a good compromise of low power consumption and low > latency. Some hardware have support for this in firmware, but some > require the host to do it. > > The dynamic power save is implemented by adding an timeout to > ieee80211_subif_start_xmit(). The timeout can be enabled from user space > with Wireless Extensions. For example, the command below enables the > dynamic power save and sets the time timeout to 500 ms: > > iwconfig wlan0 power timeout 500m > > Thanks to Johannes Berg for the help with the design. Might be worth noting that when dynamic power save is enabled for mac80211 that this will only work right now for devices which handle power save in firmware as power save is not yet implemented in mac80211. Also that by default this is left disabled and the heuristics of how and exactly how to enable this will be left to userspace. Luis -- 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