1.1.1.5 WDRV_WINC_AUTH_TYPE

Enum Type

Summary

List of possible authentication types.

Description

This type defines the possible authentication types that can be requested in AP mode or STA mode.

Remarks

None.

typedef enum
{
    /* This type may be used in helper function
     * WDRV_WINC_AuthCtxSetPersonal, in which case it is translated into
     * the best practice auth type. Other uses of this type are invalid. */
    WDRV_WINC_AUTH_TYPE_DEFAULT = -1,

    /* No encryption. */
    WDRV_WINC_AUTH_TYPE_OPEN = 0,

    /* WEP encryption. */
    WDRV_WINC_AUTH_TYPE_WEP = 1,

    /* WPA2 mixed mode (AP) / compatibility mode (STA) with PSK.
     * (As an AP GTK is TKIP, as a STA GTK is chosen by AP;
     * PTK can be CCMP or TKIP) */
    WDRV_WINC_AUTH_TYPE_WPAWPA2_PERSONAL = 2,

    /* WPA2-only authentication with PSK. (PTK and GTK are both CCMP).       */
    /* Note that a WPA2-only STA will not connect to a WPA2 mixed mode AP.   */
    WDRV_WINC_AUTH_TYPE_WPA2_PERSONAL = 3,

#define WDRV_WINC_WPA3_PERSONAL_SUPPORT
#ifdef WDRV_WINC_WPA3_PERSONAL_SUPPORT
    /* WPA3 SAE transition mode. (CCMP, IGTK can be BIP or none) */
    WDRV_WINC_AUTH_TYPE_WPA2WPA3_PERSONAL = 4,

    /* WPA3 SAE authentication. (CCMP, IGTK is BIP) */
    WDRV_WINC_AUTH_TYPE_WPA3_PERSONAL = 5,
#endif

#ifdef WDRV_WINC_ENTERPRISE_SUPPORT
    /* WPA2/WPA enterprise mixed mode authentication type */
    WDRV_WINC_AUTH_TYPE_WPAWPA2_ENTERPRISE = 6,

    /* WPA2 enterprise authentication type */
    WDRV_WINC_AUTH_TYPE_WPA2_ENTERPRISE = 7,

    /* WPA3 enterprise transition mode authentication type */
    WDRV_WINC_AUTH_TYPE_WPA2WPA3_ENTERPRISE = 8,

    /* WPA3 enterprise authentication type */
    WDRV_WINC_AUTH_TYPE_WPA3_ENTERPRISE = 9,
#endif

    /* Authentication types with this value or above are not recognised. */
    WDRV_WINC_AUTH_TYPE_MAX
} WDRV_WINC_AUTH_TYPE;