Turn the Wi-Fi radio power on while the device is in client STA operational mode.
#include <wifi/wifi_service.h>
WIFI_API int wifi_set_sta_power(bool on_off)
BlackBerry 10.0.0
If true, the power will be turned on.
This function attempts to set the Wi-Fi radio power. When the device is in an operational mode other than client STA, this function fails, errno is set to EBUSY, and the Wi-Fi power remains unchanged.
When the function returns successfully in response to a power-on request the device will operate in the client STA mode.
This function does not provide a method to turn Wi-Fi power off.
WIFI_SUCCESS upon success, WIFI_FAILURE with errno set otherwise.