1.1.7.11 WDRV_WINC_AuthCtxSetPersonal

C

WDRV_WINC_STATUS WDRV_WINC_AuthCtxSetPersonal
(
    WDRV_WINC_AUTH_CONTEXT *const pAuthCtx,
    uint8_t *pPassword,
    uint8_t size,
    WDRV_WINC_AUTH_TYPE authType
)

Description

The auth type and information are configured appropriately for personal authentication with the password or PSK provided. The Management Frame Protection configuration is initialised to WDRV_WINC_AUTH_MFP_ENABLED.

Precondition

None.

Parameters

ParametersDescription
pAuthCtxPointer to an authentication context.
pPasswordPointer to password (or 64-character PSK).
sizeSize of password (or 64 for PSK).
authTypeAuthentication type (or WDRV_WINC_AUTH_TYPE_DEFAULT).

Returns

  • WDRV_WINC_STATUS_OK - The context has been configured.

  • WDRV_WINC_STATUS_INVALID_ARG - The parameters were incorrect.

Remarks

None.