-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnduWlanTypes.pas
73 lines (61 loc) · 2.15 KB
/
nduWlanTypes.pas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
Übersetzt aus WlanTypes.h vom Windows SDK
}
unit nduWlanTypes;
interface
uses
nduCType;
const
NDU_DOT11_SSID_MAX_LENGTH = 32; //32 Bytes
type
Pndu_DOT11_BSS_TYPE = ^Tndu_DOT11_BSS_TYPE;
Tndu_DOT11_BSS_TYPE = (
dot11_BSS_type_infrastructure = 1,
dot11_BSS_type_independent = 2,
dot11_BSS_type_any = 3);
Pndu_DOT11_SSID = ^Tndu_DOT11_SSID;
Tndu_DOT11_SSID = record
uSSIDLength: ulong;
ucSSID: array[0..NDU_DOT11_SSID_MAX_LENGTH - 1] of uchar;
end;
{$MINENUMSIZE 4}
Pndu_DOT11_AUTH_ALGORITHM = ^Tndu_DOT11_AUTH_ALGORITHM;
Tndu_DOT11_AUTH_ALGORITHM = (
DOT11_AUTH_ALGO_80211_OPEN = 1,
DOT11_AUTH_ALGO_80211_SHARED_KEY = 2,
DOT11_AUTH_ALGO_WPA = 3,
DOT11_AUTH_ALGO_WPA_PSK = 4,
DOT11_AUTH_ALGO_WPA_NONE = 5,
DOT11_AUTH_ALGO_RSNA = 6,
DOT11_AUTH_ALGO_RSNA_PSK = 7,
DOT11_AUTH_ALGO_IHV_START = $80000000,
DOT11_AUTH_ALGO_IHV_END = $ffffffff);
const
NDU_DOT11_AUTH_ALGORITHM_OPEN_SYSTEM = DOT11_AUTH_ALGO_80211_OPEN;
NDU_DOT11_AUTH_ALGORITHM_SHARED_KEY = DOT11_AUTH_ALGO_80211_SHARED_KEY;
NDU_DOT11_AUTH_ALGORITHM_WPA = DOT11_AUTH_ALGO_WPA;
NDU_DOT11_AUTH_ALGORITHM_WPA_PSK = DOT11_AUTH_ALGO_WPA_PSK;
NDU_DOT11_AUTH_ALGORITHM_WPA_NONE = DOT11_AUTH_ALGO_WPA_NONE;
NDU_DOT11_AUTH_ALGORITHM_RSNA = DOT11_AUTH_ALGO_RSNA;
NDU_DOT11_AUTH_ALGORITHM_RSNA_PSK = DOT11_AUTH_ALGO_RSNA_PSK;
type
{$MINENUMSIZE 4}
Pndu_DOT11_CIPHER_ALGORITHM = ^Tndu_DOT11_CIPHER_ALGORITHM;
Tndu_DOT11_CIPHER_ALGORITHM = (
DOT11_CIPHER_ALGO_NONE = $00,
DOT11_CIPHER_ALGO_WEP40 = $01,
DOT11_CIPHER_ALGO_TKIP = $02,
DOT11_CIPHER_ALGO_CCMP = $04,
DOT11_CIPHER_ALGO_WEP104 = $05,
DOT11_CIPHER_ALGO_WPA_USE_GROUP = $100,
DOT11_CIPHER_ALGO_RSN_USE_GROUP = $100,
DOT11_CIPHER_ALGO_WEP = $101,
DOT11_CIPHER_ALGO_IHV_START = $80000000,
DOT11_CIPHER_ALGO_IHV_END = $ffffffff);
Pndu_DOT11_AUTH_CIPHER_PAIR = ^Tndu_DOT11_AUTH_CIPHER_PAIR;
Tndu_DOT11_AUTH_CIPHER_PAIR = record
AuthAlgoId: Tndu_DOT11_AUTH_ALGORITHM;
CipherAlgoId: Tndu_DOT11_CIPHER_ALGORITHM;
end;
implementation
end.