I have observed that by default the wifi adaptor goes into (power saving mode) PSM mode. When Certain applications such as youtube appear to buffer video, the adaptor leaves PSM mode into CAM state or full power mode. Once the buffering is done, the wifi adaptor goes back into PSM mode. I have observed this behavior with other applications as well. Is there an API call that supports this kind of behavior? It's not clear from the documentation how to switch the WIFI adapator in and out of PSM mode.