1.1.8.4 WDRV_WINC_BSSCtxSetChannel

C

WDRV_WINC_STATUS WDRV_WINC_BSSCtxSetChannel
(
    WDRV_WINC_BSS_CONTEXT *const pBSSCtx,
    WDRV_WINC_CHANNEL_ID channel
)

Description

The supplied channel value is copied into the BSS context.

Precondition

None.

Parameters

ParametersDescription
pBSSCtxPointer to a BSS context.
channelChannel number.

Returns

  • WDRV_WINC_STATUS_OK - The context has been configured.

  • WDRV_WINC_STATUS_INVALID_ARG - The parameters were incorrect.

  • WDRV_WINC_STATUS_INVALID_CONTEXT - The BSS context is not valid.

Remarks

channel may be WDRV_WINC_ALL_CHANNELS or WDRV_WINC_CID_ANY to represent no fixed channel.