I've observed that the default power mode for the WiFI adaptor on my
Android phone  is PSM ( Power save mode) as opposed CAM ( where the
radio never turns off). I've observed that certain network activity
within applications such as youtube and sipdroid triggers the wifi
adaptor on the phone  to leave PSM and be fully awake. My questions
are :

1.) Is this behavior completely handled within the wifi kernel driver?
In tiwlan.ini, defaultPowerLevel = 0 Which seems to indicate that the
driver can switch between the different modes with an internal
algorithm.

2.) Is there some API call that can tell the wifi driver to change
from PSM to full power mode? There is nothing apparent in the pubic
API that leads me to believe this. However in:
wifi.java.android.net.wifi.WifiNative.java, There is an API call :
setPowerModeCommand(int mode);
That seems to indicate option #2 is possible.



Regards,
Andy

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to