blob: eff77071a82c90068bbcb356b1e1ac03457f7a3f [file] [log] [blame]
Jonathan Yongcf6afc52010-08-10 08:24:16 +00001/**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the w64 mingw-runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
6#ifndef _INC_WLANTYPES
7#define _INC_WLANTYPES
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13#define DOT11_SSID_MAX_LENGTH 32
14
15typedef enum _DOT11_CIPHER_ALGORITHM {
16 DOT11_CIPHER_ALGO_NONE = 0x00,
17 DOT11_CIPHER_ALGO_WEP40 = 0x01,
18 DOT11_CIPHER_ALGO_TKIP = 0x02,
19 DOT11_CIPHER_ALGO_CCMP = 0x04,
20 DOT11_CIPHER_ALGO_WEP104 = 0x05,
21 DOT11_CIPHER_ALGO_WPA_USE_GROUP = 0x100,
22 DOT11_CIPHER_ALGO_RSN_USE_GROUP = 0x100,
23 DOT11_CIPHER_ALGO_WEP = 0x101,
24 DOT11_CIPHER_ALGO_IHV_START = 0x80000000,
25 DOT11_CIPHER_ALGO_IHV_END = 0xffffffff
26} DOT11_CIPHER_ALGORITHM, *PDOT11_CIPHER_ALGORITHM;
27
28typedef enum _DOT11_AUTH_ALGORITHM {
29 DOT11_AUTH_ALGO_80211_OPEN = 1,
30 DOT11_AUTH_ALGO_80211_SHARED_KEY = 2,
31 DOT11_AUTH_ALGO_WPA = 3,
32 DOT11_AUTH_ALGO_WPA_PSK = 4,
33 DOT11_AUTH_ALGO_WPA_NONE = 5,
34 DOT11_AUTH_ALGO_RSNA = 6,
35 DOT11_AUTH_ALGO_RSNA_PSK = 7,
36 DOT11_AUTH_ALGO_IHV_START = 0x80000000,
37 DOT11_AUTH_ALGO_IHV_END = 0xffffffff
38} DOT11_AUTH_ALGORITHM, *PDOT11_AUTH_ALGORITHM;
39
40typedef enum _DOT11_CIPHER_ALGORITHM {
41 DOT11_CIPHER_ALGO_NONE = 0x00,
42 DOT11_CIPHER_ALGO_WEP40 = 0x01,
43 DOT11_CIPHER_ALGO_TKIP = 0x02,
44 DOT11_CIPHER_ALGO_CCMP = 0x04,
45 DOT11_CIPHER_ALGO_WEP104 = 0x05,
46 DOT11_CIPHER_ALGO_WPA_USE_GROUP = 0x100,
47 DOT11_CIPHER_ALGO_RSN_USE_GROUP = 0x100,
48 DOT11_CIPHER_ALGO_WEP = 0x101,
49 DOT11_CIPHER_ALGO_IHV_START = 0x80000000,
50 DOT11_CIPHER_ALGO_IHV_END = 0xffffffff
51} DOT11_CIPHER_ALGORITHM, *PDOT11_CIPHER_ALGORITHM;
52
53typedef enum _DOT11_BSS_TYPE {
54 dot11_BSS_type_infrastructure = 1,
55 dot11_BSS_type_independent = 2,
56 dot11_BSS_type_any = 3
57} DOT11_BSS_TYPE, *PDOT11_BSS_TYPE;
58
59typedef struct _DOT11_AUTH_CIPHER_PAIR {
60 DOT11_AUTH_ALGORITHM AuthAlgoId;
61 DOT11_CIPHER_ALGORITHM CipherAlgoId;
62} DOT11_AUTH_CIPHER_PAIR, *PDOT11_AUTH_CIPHER_PAIR;
63
64typedef struct _DOT11_SSID {
65 ULONG uSSIDLength;
66 UCHAR ucSSID[DOT11_SSID_MAX_LENGTH];
67} DOT11_SSID, *PDOT11_SSID;
68
69#ifdef __cplusplus
70}
71#endif
72
73#endif /*_INC_WLANTYPES*/