1.1.1.1 WDRV_WINC_AuthCtxSetPersonal

Function

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

Summary

Configure an authentication context for WPA personal authentication.

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

pAuthCtx - Pointer to an authentication context.

pPassword - Pointer to password (or 64-character PSK).

size - Size of password (or 64 for PSK).

authType - Authentication 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.