1.1.3.4 WDRV_WINC_BSSCtxSetChannel

Function

WDRV_WINC_STATUS WDRV_WINC_BSSCtxSetChannel
(
WDRV_WINC_BSS_CONTEXT *const pBSSCtx,
WDRV_WINC_CHANNEL_ID channel
)

Summary

Configures the channel of the BSS context.

Description

The supplied channel value is copied into the BSS context.

Precondition

None.

Parameters

pBSSCtx - Pointer to a BSS context.

channel - Channel 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.