1.1.20.7 WDRV_WINC_WifiCoexConfGet

Function

WDRV_WINC_STATUS WDRV_WINC_WifiCoexConfGet
(
DRV_HANDLE handle,
WDRV_WINC_COEX_CFG *pCoexCfg,
bool *pIsEnabled
)

Summary

Returns the coexistence arbiter configuration.

Description

Returns the current coexistence arbiter configuration related to interface mode, priority and antenna mode as well as if the arbiter is enabled or not.

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.

pCoexCfg - Pointer to structure to receive the coexistence arbiter settings.

pIsEnabled - Pointer to a flag to receive the enabled state or the arbiter.

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.

WDRV_WINC_STATUS_RETRY_REQUEST - The request should be retried.

Remarks

pCoexCfg can be NULL if the arbiter settings are not required. pIsEnabled can be NULL if the arbiter enabled state is not required.