2009-03-15 18:55:51 +00:00
|
|
|
#ifndef __WINDOT11_H__
|
|
|
|
#define __WINDOT11_H__
|
2009-03-15 17:19:02 +00:00
|
|
|
|
2009-06-14 15:33:12 +00:00
|
|
|
#ifndef _NTDDNDIS_
|
2009-03-15 17:19:02 +00:00
|
|
|
#include <ntddndis.h>
|
2009-06-14 15:33:12 +00:00
|
|
|
#endif
|
2009-03-15 18:55:51 +00:00
|
|
|
#include <wlantypes.h>
|
|
|
|
|
2009-03-15 17:19:02 +00:00
|
|
|
/* Enumerations */
|
|
|
|
|
|
|
|
#if defined(__midl) || defined(__WIDL__)
|
2009-03-15 18:55:51 +00:00
|
|
|
typedef [v1_enum] enum _DOT11_PHY_TYPE {
|
2009-03-15 17:19:02 +00:00
|
|
|
#else
|
|
|
|
typedef enum _DOT11_PHY_TYPE {
|
2009-03-15 18:55:51 +00:00
|
|
|
#endif
|
2009-03-15 17:19:02 +00:00
|
|
|
dot11_phy_type_unknown,
|
|
|
|
dot11_phy_type_any,
|
|
|
|
dot11_phy_type_fhss,
|
|
|
|
dot11_phy_type_dsss,
|
|
|
|
dot11_phy_type_irbaseband,
|
|
|
|
dot11_phy_type_ofdm,
|
|
|
|
dot11_phy_type_hrdsss,
|
|
|
|
dot11_phy_type_erp,
|
|
|
|
dot11_phy_type_ht,
|
|
|
|
dot11_phy_type_IHV_start,
|
2021-06-11 12:29:21 +00:00
|
|
|
dot11_phy_type_IHV_end
|
2009-03-15 17:19:02 +00:00
|
|
|
} DOT11_PHY_TYPE;
|
|
|
|
|
|
|
|
typedef enum _DOT11_AUTH_ALGORITHM {
|
|
|
|
DOT11_AUTH_ALGO_80211_OPEN = 1,
|
|
|
|
DOT11_AUTH_ALGO_80211_SHARED_KEY,
|
|
|
|
DOT11_AUTH_ALGO_WPA,
|
|
|
|
DOT11_AUTH_ALGO_WPA_PSK,
|
|
|
|
DOT11_AUTH_ALGO_WPA_NONE,
|
|
|
|
DOT11_AUTH_ALGO_RSNA,
|
|
|
|
DOT11_AUTH_ALGO_RSNA_PSK,
|
|
|
|
DOT11_AUTH_ALGO_IHV_START = 0x80000000,
|
2021-06-11 12:29:21 +00:00
|
|
|
DOT11_AUTH_ALGO_IHV_END = 0xffffffff
|
2009-03-15 17:19:02 +00:00
|
|
|
} DOT11_AUTH_ALGORITHM;
|
|
|
|
|
|
|
|
typedef enum _DOT11_CIPHER_ALGORITHM {
|
|
|
|
DOT11_CIPHER_ALGO_NONE = 0x00,
|
|
|
|
DOT11_CIPHER_ALGO_WEP40 = 0x01,
|
|
|
|
DOT11_CIPHER_ALGO_TKIP = 0x02,
|
|
|
|
DOT11_CIPHER_ALGO_CCMP = 0x04,
|
|
|
|
DOT11_CIPHER_ALGO_WEP104 = 0x05,
|
|
|
|
DOT11_CIPHER_ALGO_WPA_USE_GROUP = 0x100,
|
|
|
|
DOT11_CIPHER_ALGO_RSN_USE_GROUP = 0x100,
|
|
|
|
DOT11_CIPHER_ALGO_WEP = 0x101,
|
|
|
|
DOT11_CIPHER_ALGO_IHV_START = 0x80000000,
|
|
|
|
DOT11_CIPHER_ALGO_IHV_END = 0xffffffff
|
|
|
|
} DOT11_CIPHER_ALGORITHM;
|
|
|
|
|
|
|
|
/* Types */
|
|
|
|
|
2009-03-15 18:55:51 +00:00
|
|
|
#if defined(__midl) || defined(__WIDL__)
|
|
|
|
typedef struct _DOT11_MAC_ADDRESS {
|
|
|
|
UCHAR ucDot11MacAddress[6];
|
|
|
|
} DOT11_MAC_ADDRESS, *PDOT11_MAC_ADDRESS;
|
|
|
|
#else
|
2009-03-15 17:19:02 +00:00
|
|
|
typedef UCHAR DOT11_MAC_ADDRESS[6];
|
|
|
|
typedef DOT11_MAC_ADDRESS* PDOT11_MAC_ADDRESS;
|
2009-03-15 18:55:51 +00:00
|
|
|
#endif
|
2009-03-15 17:19:02 +00:00
|
|
|
|
|
|
|
typedef struct _DOT11_SSID {
|
|
|
|
ULONG uSSIDLength;
|
|
|
|
UCHAR ucSSID[32];
|
|
|
|
} DOT11_SSID, *PDOT11_SSID;
|
|
|
|
|
|
|
|
typedef struct _DOT11_BSSID_LIST {
|
|
|
|
NDIS_OBJECT_HEADER Header;
|
|
|
|
ULONG uNumOfEntries;
|
|
|
|
ULONG uTotalNumOfEntries;
|
|
|
|
#if defined(__midl) || defined(__WIDL__)
|
2009-03-15 18:55:51 +00:00
|
|
|
[size_is(uTotalNumOfEntries)] DOT11_MAC_ADDRESS BSSIDs[*];
|
2009-03-15 17:19:02 +00:00
|
|
|
#else
|
|
|
|
DOT11_MAC_ADDRESS BSSIDs[1];
|
|
|
|
#endif
|
|
|
|
} DOT11_BSSID_LIST, *PDOT11_BSSID_LIST;
|
|
|
|
|
2009-03-15 18:55:51 +00:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|