1.2.6.6 WDRV_WINC_AuthCtxSetWPAEnterpriseMSCHAPv2 Function

C

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
)

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

ParamDescription
pAuthCtxPointer to an authentication context.
pUserDomainPointer to user and domain name.
pPasswordPointer to password.
passwordLengthLength of password.
visibleUserNameFlag 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.