1.1.6.6 WDRV_WINC_AuthCtxSetWPAEnterpriseMSCHAPv2 Function

WDRV_WINC_STATUS WDRV_WINC_AuthCtxSetWPAEnterpriseMSCHAPv2 (

WDRV_WINC_AUTH_CONTEXT *const pAuthCtx, const char *const pUserDomain,

const uint8_t *const pPassword, const uint16_t passwordLength, const bool visibleUserName

)

C

Summary

Configure an authentication context for WPA(2)-Enterprise authentication using MS-CHAPv2.

Description

The type and state information are configured appropriately for WPA-Enterprise authentication.

Precondition

None.

Parameters

Param

Description

pAuthCtx

Pointer to an authentication context.

pUserDomain

Pointer to user and domain name.

pPassword

Pointer to password.

passwordLength

Length of password.

visibleUserName

Flag indicating if usernames should be visible in initial EAP exchanges.

Returns

WDRV_WINC_STATUS_OK - The context has been configured.

WDRV_WINC_STATUS_INVALID_ARG - The parameters were incorrect.

Remarks

None.