1.1.9.13 WDRV_WINC_BSSFindGetScanChannels24

C

WDRV_WINC_STATUS WDRV_WINC_BSSFindGetScanChannels24
(
    DRV_HANDLE handle,
    WDRV_WINC_CHANNEL24_MASK *const pChannelMask
)

Description

In some scenarios an application may want to scan on a subset of channels. This function retrieves the bitmask which indicates which channels are set to be scanned when issuing a multi-channel scan (when WDRV_WINC_CID_ANY is passed as channel).

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.
pChannelMaskPointer to variable to receive the enabled channels.

Returns

  • WDRV_WINC_STATUS_OK - The information has been returned.

  • WDRV_WINC_STATUS_NOT_OPEN - The driver instance is not open.

  • WDRV_WINC_STATUS_INVALID_ARG - The parameters were incorrect.

Remarks

None.