1.1.20.3 WDRV_WINC_WifiPowerSaveModeSet

Function

WDRV_WINC_STATUS WDRV_WINC_WifiPowerSaveModeSet
(
DRV_HANDLE handle,
WDRV_WINC_POWERSAVE_MODE psMode
)

Summary

Set the mode of the powersave.

Description

Configures the powersave mode to one of the available powersave modes.

Precondition

WDRV_WINC_Initialize should have been called. WDRV_WINC_Open should have been called to obtain a valid handle.

Parameters

handle - Client handle obtained by a call to WDRV_WINC_Open.

psMode - The mode to change to. See WDRV_WINC_POWERSAVE_MODE.

Returns

WDRV_WINC_STATUS_OK - The request has been accepted.

WDRV_WINC_STATUS_NOT_OPEN - The driver instance is not open.

WDRV_WINC_STATUS_INVALID_ARG - The parameters were incorrect.

WDRV_WINC_STATUS_REQUEST_ERROR - The request to the WINC was rejected.

Remarks

None.