1.1.7.6 WDRV_WINC_AUTH_CONTEXT Struct

C

typedef struct
{
    WDRV_WINC_AUTH_TYPE authType;
    uint8_t authMod;

    /* Union of data structures for each authentication type. */
    union
    {
        /* WPA-Personal authentication state. */
        struct
        {
            uint8_t size;
            uint8_t password[WDRV_WINC_PSK_LEN];
        } personal;
    } authInfo;
} WDRV_WINC_AUTH_CONTEXT;

Description

The context contains the type of authentication as well as any state information.

Members

MembersDescription
authTypeAuthentication type of context.
authModAuthentication modifiers.
authInfo.personal.sizeThe size of the password or PSK, in characters/bytes.size must be in the range 8 to 63 for a WPA(2) password.size must be 64 for a WPA(2) PSK.
authInfo.personal.passwordThe password or PSK.

Remarks

None.