1.2.5.8 WDRV_WINC_BSSFindSetEnabledChannels Function

C

WDRV_WINC_STATUS WDRV_WINC_BSSFindSetEnabledChannels
(
DRV_HANDLE handle,
WDRV_WINC_CHANNEL_MASK channelMask
)

Summary

Configures the channels which can be scanned.

Description

To comply with regulatory domains certain channels must not be scanned. This function configures which channels are enabled to be used.

Precondition

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

Parameters

ParamDescription
handleClient handle obtained by a call to WDRV_WINC_Open.
channelMaskA channel mask detailing all the enabled channels.

Returns

WDRV_WINC_STATUS_OK - The request was 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 WINC was unable to accept this request.

Remarks

None.