mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
add missing types
svn path=/trunk/; revision=40056
This commit is contained in:
parent
aaa5075d3d
commit
151e1c47c1
1 changed files with 67 additions and 2 deletions
|
@ -2,16 +2,81 @@
|
|||
#define _NTDDNDIS_
|
||||
#endif
|
||||
|
||||
/* Defines */
|
||||
#define NDIS_802_11_LENGTH_SSID 32
|
||||
#define NDIS_802_11_LENGTH_RATES 8
|
||||
|
||||
#define OID_802_11_BSSID_LIST 0x0D010217
|
||||
#define OID_802_11_BSSID_LIST_SCAN 0x0D01011A
|
||||
|
||||
/* Enumerations */
|
||||
typedef enum _NDIS_802_11_NETWORK_INFRASTRUCTURE
|
||||
{
|
||||
Ndis802_11IBSS,
|
||||
Ndis802_11Infrastructure,
|
||||
Ndis802_11AutoUnknown,
|
||||
Ndis802_11InfrastructureMax
|
||||
} NDIS_802_11_NETWORK_INFRASTRUCTURE, *PNDIS_802_11_NETWORK_INFRASTRUCTURE;
|
||||
|
||||
typedef enum _NDIS_802_11_NETWORK_TYPE
|
||||
{
|
||||
Ndis802_11FH,
|
||||
Ndis802_11DS,
|
||||
Ndis802_11OFDM5,
|
||||
Ndis802_11OFDM24,
|
||||
Ndis802_11Automode,
|
||||
Ndis802_11NetworkTypeMax
|
||||
} NDIS_802_11_NETWORK_TYPE, *PNDIS_802_11_NETWORK_TYPE;
|
||||
|
||||
/* Typedefs */
|
||||
typedef struct _NDIS_OBJECT_HEADER
|
||||
{
|
||||
UCHAR Type;
|
||||
UCHAR Revision;
|
||||
UCHAR Type;
|
||||
UCHAR Revision;
|
||||
USHORT Size;
|
||||
} NDIS_OBJECT_HEADER, *PNDIS_OBJECT_HEADER;
|
||||
|
||||
typedef UCHAR NDIS_802_11_MAC_ADDRESS[6];
|
||||
typedef LONG NDIS_802_11_RSSI;
|
||||
typedef UCHAR NDIS_802_11_RATES[NDIS_802_11_LENGTH_RATES];
|
||||
|
||||
typedef struct _NDIS_802_11_SSID
|
||||
{
|
||||
ULONG SsidLength;
|
||||
UCHAR Ssid[NDIS_802_11_LENGTH_SSID];
|
||||
} NDIS_802_11_SSID, *PNDIS_802_11_SSID;
|
||||
|
||||
typedef struct _NDIS_802_11_CONFIGURATION_FH
|
||||
{
|
||||
ULONG Length;
|
||||
ULONG HopPattern;
|
||||
ULONG HopSet;
|
||||
ULONG DwellTime;
|
||||
} NDIS_802_11_CONFIGURATION_FH, *PNDIS_802_11_CONFIGURATION_FH;
|
||||
|
||||
typedef struct _NDIS_802_11_CONFIGURATION
|
||||
{
|
||||
ULONG Length;
|
||||
ULONG BeaconPeriod;
|
||||
ULONG ATIMWindow;
|
||||
ULONG DSConfig;
|
||||
NDIS_802_11_CONFIGURATION_FH FHConfig;
|
||||
} NDIS_802_11_CONFIGURATION, *PNDIS_802_11_CONFIGURATION;
|
||||
|
||||
typedef struct _NDIS_WLAN_BSSID
|
||||
{
|
||||
ULONG Length;
|
||||
NDIS_802_11_MAC_ADDRESS MacAddress;
|
||||
UCHAR Reserved[2];
|
||||
NDIS_802_11_SSID Ssid;
|
||||
ULONG Privacy;
|
||||
NDIS_802_11_RSSI Rssi;
|
||||
NDIS_802_11_NETWORK_TYPE NetworkTypeInUse;
|
||||
NDIS_802_11_CONFIGURATION Configuration;
|
||||
NDIS_802_11_NETWORK_INFRASTRUCTURE InfrastructureMode;
|
||||
NDIS_802_11_RATES SupportedRates;
|
||||
} NDIS_WLAN_BSSID, *PNDIS_WLAN_BSSID;
|
||||
|
||||
typedef struct _NDIS_802_11_BSSID_LIST
|
||||
{
|
||||
ULONG NumberOfItems;
|
||||
|
|
Loading…
Reference in a new issue