https://git.reactos.org/?p=reactos.git;a=commitdiff;h=5f6faec2fffb153365d49…
commit 5f6faec2fffb153365d49181e0fd0c840b801fda
Author: Stanislav Motylkov <x86corez(a)gmail.com>
AuthorDate: Sun Aug 18 20:16:12 2019 +0300
Commit: Colin Finck <colin(a)reactos.org>
CommitDate: Mon Aug 19 13:12:13 2019 +0200
[DDK][PSDK] Add missing definitions for WPA/WPA2 authentication
Part of it was already added in 3da616a. CORE-11924
---
sdk/include/psdk/ntddndis.h | 30 ++++++++++++++++++++++++++++--
1 file changed, 28 insertions(+), 2 deletions(-)
diff --git a/sdk/include/psdk/ntddndis.h b/sdk/include/psdk/ntddndis.h
index 0ccdfa53096..3da29dffe57 100644
--- a/sdk/include/psdk/ntddndis.h
+++ b/sdk/include/psdk/ntddndis.h
@@ -45,16 +45,30 @@ typedef enum _NDIS_DEVICE_POWER_STATE {
typedef enum _NDIS_802_11_WEP_STATUS
{
Ndis802_11WEPEnabled,
+ Ndis802_11Encryption1Enabled = Ndis802_11WEPEnabled,
Ndis802_11WEPDisabled,
+ Ndis802_11EncryptionDisabled = Ndis802_11WEPDisabled,
Ndis802_11WEPKeyAbsent,
- Ndis802_11WEPNotSupported
-} NDIS_802_11_WEP_STATUS, *PNDIS_802_11_WEP_STATUS;
+ Ndis802_11Encryption1KeyAbsent = Ndis802_11WEPKeyAbsent,
+ Ndis802_11WEPNotSupported,
+ Ndis802_11EncryptionNotSupported = Ndis802_11WEPNotSupported,
+ Ndis802_11Encryption2Enabled,
+ Ndis802_11Encryption2KeyAbsent,
+ Ndis802_11Encryption3Enabled,
+ Ndis802_11Encryption3KeyAbsent
+} NDIS_802_11_WEP_STATUS, *PNDIS_802_11_WEP_STATUS,
+ NDIS_802_11_ENCRYPTION_STATUS, *PNDIS_802_11_ENCRYPTION_STATUS;
typedef enum _NDIS_802_11_AUTHENTICATION_MODE
{
Ndis802_11AuthModeOpen,
Ndis802_11AuthModeShared,
Ndis802_11AuthModeAutoSwitch,
+ Ndis802_11AuthModeWPA,
+ Ndis802_11AuthModeWPAPSK,
+ Ndis802_11AuthModeWPANone,
+ Ndis802_11AuthModeWPA2,
+ Ndis802_11AuthModeWPA2PSK,
Ndis802_11AuthModeMax
} NDIS_802_11_AUTHENTICATION_MODE, *PNDIS_802_11_AUTHENTICATION_MODE;
@@ -141,6 +155,18 @@ typedef struct _NDIS_802_11_WEP
UCHAR KeyMaterial[1];
} NDIS_802_11_WEP, *PNDIS_802_11_WEP;
+typedef ULONGLONG NDIS_802_11_KEY_RSC;
+
+typedef struct _NDIS_802_11_KEY
+{
+ ULONG Length;
+ ULONG KeyIndex;
+ ULONG KeyLength;
+ NDIS_802_11_MAC_ADDRESS BSSID;
+ NDIS_802_11_KEY_RSC KeyRSC;
+ UCHAR KeyMaterial[1];
+} NDIS_802_11_KEY, *PNDIS_802_11_KEY;
+
typedef struct _NDIS_PM_WAKE_UP_CAPABILITIES {
NDIS_DEVICE_POWER_STATE MinMagicPacketWakeUp;
NDIS_DEVICE_POWER_STATE MinPatternWakeUp;