aboutsummaryrefslogtreecommitdiffstats
path: root/airpcap.h
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2006-12-05 19:24:25 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2006-12-05 19:24:25 +0000
commitfb8711da3e75fd764f74bf182abc7837978f4ea7 (patch)
tree523e028d65e71d3531c9e0fdb1da17350e90f91c /airpcap.h
parent7680e48eb4ef0603a07cb183208793c5803695f5 (diff)
From Davide Schiera and Giorgio Tino: Add initial WPA/WPA2 decryption
support. WEP key preferences have been overloaded to allow WPA keys. The decryption code currently uses Windows-specific data types, but can be converted to use glib equivalents. Add a few text and whitespace fixups. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20049 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'airpcap.h')
-rw-r--r--airpcap.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/airpcap.h b/airpcap.h
index d6df6ca1b0..1a7aeb28d4 100644
--- a/airpcap.h
+++ b/airpcap.h
@@ -88,6 +88,7 @@ typedef struct _AirpcapDeviceDescription
#define WEP_KEY_MAX_SIZE 32 /* Maximum size of a WEP key, in bytes. This is the size of an entry in the */
/* AirpcapWepKeysCollection structure */
+
#ifndef __MINGW32__
#pragma pack(push)
#pragma pack(1)
@@ -95,8 +96,8 @@ typedef struct _AirpcapDeviceDescription
#define AIRPCAP_KEYTYPE_WEP 0 /* Key type: WEP. The key can have an arbitrary length smaller than 32 bytes. */
-#define AIRPCAP_KEYTYPE_TKIP 1 /* Key type: TKIP (WPA). NOT SUPPORTED YET. */
-#define AIRPCAP_KEYTYPE_CCMP 2 /* Key type: CCMP (WPA2). NOT SUPPORTED YET. */
+#define AIRPCAP_KEYTYPE_TKIP 1 /* Key type: TKIP (WPA_PWD). NOT SUPPORTED YET. */
+#define AIRPCAP_KEYTYPE_CCMP 2 /* Key type: CCMP (WPA_BIN). NOT SUPPORTED YET. */
/*!
\brief WEP key container