1.2.10.4 WDRV_WINC_PowerSaveSetMode Function

C

WDRV_WINC_STATUS WDRV_WINC_PowerSaveSetMode
(
DRV_HANDLE handle,
WDRV_WINC_PS_MODE mode
)

Summary

Sets the power save mode.

Description

Selects the current power save mode the WINC should be using.

Precondition

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

Parameters

ParamDescription
handleClient handle obtained by a call to WDRV_WINC_Open.
modeDesired new power save mode.

Returns

WDRV_WINC_STATUS_OK - The power save mode 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.