Hi, I have tried to improve wifi power management again, If the device is up and there is not much traffic, current consumption should be low now. Before my last changes that was only the case when a connection is established.
I have patched the 3.7-nplus-plus branch. The result is at my github page: https://github.com/akemnade/linux.git branch with the same name. Just an overview about what kind of power management there in in the driver as I understand now: 1. ifconfig up/down There is a pair of pm_runtime_get/put and if_sdio_power_off/on 2. when connected: ieee80211 powersave mode listening for incoming traffic only in intervals and communicating that with the access point. keyword in the code: PS_MODE 3. when not connected: stop the radio when there is no activity for some time, firmware does not wake up in intervals for receiving packets itself. keyword in the code: deep_sleep, with my last updates, I tried to make that work. 4. waking up the host on incoming packets: according to command packet definitions in the header file there seem to be pattern matching available and general things like waiting for unicast, multicast, broadcast data or mac events. I have not seen a driver which fully implements that. Seems to be configurable to a part now via ethtool -s wlan0 wol ... keyword in the code: host_sleep Regards, Andreas
pgpobiZbVTOec.pgp
Description: OpenPGP digital signature
_______________________________________________ Gta04-owner mailing list [email protected] http://lists.goldelico.com/mailman/listinfo.cgi/gta04-owner
