1.1.30.17 WDRV_WINC_WifiCoexConfGet

C

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

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 must have been called.

WDRV_WINC_Open must have been called to obtain a valid handle.

Parameters

ParametersDescription
handleClient handle obtained by a call to WDRV_WINC_Open.
pCoexCfgPointer to structure to receive the coexistence arbiter settings.
pIsEnabledPointer 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.