source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/wlantypes.h

Last change on this file was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 2.5 KB
Line 
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 _INC_WLANTYPES
7#define _INC_WLANTYPES
8
9#include <winapifamily.h>
10
11#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17#define DOT11_SSID_MAX_LENGTH 32
18
19#define DOT11_AUTH_ALGORITHM_OPEN_SYSTEM DOT11_AUTH_ALGO_80211_OPEN
20#define DOT11_AUTH_ALGORITHM_SHARED_KEY DOT11_AUTH_ALGO_80211_SHARED_KEY
21#define DOT11_AUTH_ALGORITHM_WPA DOT11_AUTH_ALGO_WPA
22#define DOT11_AUTH_ALGORITHM_WPA_PSK DOT11_AUTH_ALGO_WPA_PSK
23#define DOT11_AUTH_ALGORITHM_WPA_NONE DOT11_AUTH_ALGO_WPA_NONE
24#define DOT11_AUTH_ALGORITHM_RSNA DOT11_AUTH_ALGO_RSNA
25#define DOT11_AUTH_ALGORITHM_RSNA_PSK DOT11_AUTH_ALGO_RSNA_PSK
26
27#ifdef __WIDL__
28typedef [v1_enum] enum _DOT11_AUTH_ALGORITHM {
29#else
30typedef enum _DOT11_AUTH_ALGORITHM {
31#endif
32 DOT11_AUTH_ALGO_80211_OPEN = 1,
33 DOT11_AUTH_ALGO_80211_SHARED_KEY = 2,
34 DOT11_AUTH_ALGO_WPA = 3,
35 DOT11_AUTH_ALGO_WPA_PSK = 4,
36 DOT11_AUTH_ALGO_WPA_NONE = 5,
37 DOT11_AUTH_ALGO_RSNA = 6,
38 DOT11_AUTH_ALGO_RSNA_PSK = 7,
39 DOT11_AUTH_ALGO_IHV_START = 0x80000000,
40 DOT11_AUTH_ALGO_IHV_END = 0xffffffff
41} DOT11_AUTH_ALGORITHM;
42
43typedef DOT11_AUTH_ALGORITHM *PDOT11_AUTH_ALGORITHM;
44
45#ifdef __WIDL__
46 typedef [v1_enum] enum _DOT11_CIPHER_ALGORITHM {
47#else
48typedef enum _DOT11_CIPHER_ALGORITHM {
49#endif
50 DOT11_CIPHER_ALGO_NONE = 0x00,
51 DOT11_CIPHER_ALGO_WEP40 = 0x01,
52 DOT11_CIPHER_ALGO_TKIP = 0x02,
53 DOT11_CIPHER_ALGO_CCMP = 0x04,
54 DOT11_CIPHER_ALGO_WEP104 = 0x05,
55 DOT11_CIPHER_ALGO_WPA_USE_GROUP = 0x100,
56 DOT11_CIPHER_ALGO_RSN_USE_GROUP = 0x100,
57 DOT11_CIPHER_ALGO_WEP = 0x101,
58 DOT11_CIPHER_ALGO_IHV_START = 0x80000000,
59 DOT11_CIPHER_ALGO_IHV_END = 0xffffffff
60} DOT11_CIPHER_ALGORITHM;
61
62typedef DOT11_CIPHER_ALGORITHM *PDOT11_CIPHER_ALGORITHM;
63
64typedef enum _DOT11_BSS_TYPE {
65 dot11_BSS_type_infrastructure = 1,
66 dot11_BSS_type_independent = 2,
67 dot11_BSS_type_any = 3
68} DOT11_BSS_TYPE, *PDOT11_BSS_TYPE;
69
70typedef struct _DOT11_AUTH_CIPHER_PAIR {
71 DOT11_AUTH_ALGORITHM AuthAlgoId;
72 DOT11_CIPHER_ALGORITHM CipherAlgoId;
73} DOT11_AUTH_CIPHER_PAIR, *PDOT11_AUTH_CIPHER_PAIR;
74
75typedef struct _DOT11_SSID {
76 ULONG uSSIDLength;
77 UCHAR ucSSID[DOT11_SSID_MAX_LENGTH];
78} DOT11_SSID, *PDOT11_SSID;
79
80#ifdef __cplusplus
81}
82#endif
83
84#endif
85#endif /*_INC_WLANTYPES*/
Note: See TracBrowser for help on using the repository browser.