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
| Parameters | Description |
|---|---|
| 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.
