1 /** 2 * This file is part of the mingw-w64 runtime package. 3 * No warranty is given; refer to the file DISCLAIMER within this package. 4 */ 5 6 #ifndef __WLANIHVTYPES_H__ 7 #define __WLANIHVTYPES_H__ 8 9 #include <winapifamily.h> 10 11 #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP) 12 13 #include <eaptypes.h> 14 #include <wlantypes.h> 15 16 #define MS_MAX_PROFILE_NAME_LENGTH 256 17 18 #define MS_PROFILE_GROUP_POLICY 0x1 19 #define MS_PROFILE_USER 0x2 20 21 typedef struct _DOT11_MSSECURITY_SETTINGS { 22 DOT11_AUTH_ALGORITHM dot11AuthAlgorithm; 23 DOT11_CIPHER_ALGORITHM dot11CipherAlgorithm; 24 WINBOOL fOneXEnabled; 25 EAP_METHOD_TYPE eapMethodType; 26 DWORD dwEapConnectionDataLen; 27 #ifdef __WIDL__ 28 [size_is (dwEapConnectionDataLen)] 29 #endif 30 BYTE *pEapConnectionData; 31 } DOT11_MSSECURITY_SETTINGS, *PDOT11_MSSECURITY_SETTINGS; 32 33 typedef struct _DOT11EXT_IHV_SSID_LIST { 34 ULONG ulCount; 35 #ifdef __WIDL__ 36 [unique, size_is (ulCount)] DOT11_SSID SSIDs[*]; 37 #else 38 DOT11_SSID SSIDs[1]; 39 #endif 40 } DOT11EXT_IHV_SSID_LIST, *PDOT11EXT_IHV_SSID_LIST; 41 42 typedef struct _DOT11EXT_IHV_PROFILE_PARAMS { 43 PDOT11EXT_IHV_SSID_LIST pSsidList; 44 DOT11_BSS_TYPE BssType; 45 PDOT11_MSSECURITY_SETTINGS pMSSecuritySettings; 46 } DOT11EXT_IHV_PROFILE_PARAMS, *PDOT11EXT_IHV_PROFILE_PARAMS; 47 48 typedef struct _DOT11EXT_IHV_PARAMS { 49 DOT11EXT_IHV_PROFILE_PARAMS dot11ExtIhvProfileParams; 50 WCHAR wstrProfileName[MS_MAX_PROFILE_NAME_LENGTH]; 51 DWORD dwProfileTypeFlags; 52 GUID interfaceGuid; 53 } DOT11EXT_IHV_PARAMS, *PDOT11EXT_IHV_PARAMS; 54 #endif 55 56 #endif 57