1.1.30.13 WDRV_WINC_WifiRegDomainSet

C

WDRV_WINC_STATUS WDRV_WINC_WifiRegDomainSet
(
    DRV_HANDLE handle,
    const char* pRegDomainName,
    uint8_t regDomainNameLen,
    WDRV_WINC_WIFIC_EVENT_HANDLER pfWifiCEventCB
)

Description

Configures the regulatory domain to one available in NVM.

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.
pRegDomainNameA pointer to the regulatory domain to be selected.
regDomainNameLenThe length of the regulatory domain.
pfRegDomainEventCBCallback to indicate the result of the request.

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.