⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 oid.h

📁 Linux下的RT系列无线网卡驱动,可以直接在x86平台上编译
💻 H
📖 第 1 页 / 共 3 页
字号:
   ULONG                           BeaconPeriod;       // units are Kusec   ULONG                           ATIMWindow;         // units are Kusec   ULONG                           DSConfig;           // Frequency, units are kHz   NDIS_802_11_CONFIGURATION_FH    FHConfig;} NDIS_802_11_CONFIGURATION, *PNDIS_802_11_CONFIGURATION;typedef struct _NDIS_802_11_STATISTICS{   ULONG           Length;             // Length of structure   LARGE_INTEGER   TransmittedFragmentCount;   LARGE_INTEGER   MulticastTransmittedFrameCount;   LARGE_INTEGER   FailedCount;   LARGE_INTEGER   RetryCount;   LARGE_INTEGER   MultipleRetryCount;   LARGE_INTEGER   RTSSuccessCount;   LARGE_INTEGER   RTSFailureCount;   LARGE_INTEGER   ACKFailureCount;   LARGE_INTEGER   FrameDuplicateCount;   LARGE_INTEGER   ReceivedFragmentCount;   LARGE_INTEGER   MulticastReceivedFrameCount;   LARGE_INTEGER   FCSErrorCount;   LARGE_INTEGER   TKIPLocalMICFailures;   LARGE_INTEGER   TKIPRemoteMICErrors;   LARGE_INTEGER   TKIPICVErrors;   LARGE_INTEGER   TKIPCounterMeasuresInvoked;   LARGE_INTEGER   TKIPReplays;   LARGE_INTEGER   CCMPFormatErrors;   LARGE_INTEGER   CCMPReplays;   LARGE_INTEGER   CCMPDecryptErrors;   LARGE_INTEGER   FourWayHandshakeFailures;   } NDIS_802_11_STATISTICS, *PNDIS_802_11_STATISTICS;typedef  ULONG  NDIS_802_11_KEY_INDEX;typedef ULONGLONG   NDIS_802_11_KEY_RSC;#ifdef CONFIG_STA_SUPPORT// Key mapping keys require a BSSIDtypedef struct _NDIS_802_11_KEY{    UINT           Length;             // Length of this structure    UINT           KeyIndex;               UINT           KeyLength;          // length of key in bytes    NDIS_802_11_MAC_ADDRESS BSSID;    NDIS_802_11_KEY_RSC KeyRSC;    UCHAR           KeyMaterial[1];     // variable length depending on above field} NDIS_802_11_KEY, *PNDIS_802_11_KEY;#endif // CONFIG_STA_SUPPORT //typedef struct _NDIS_802_11_REMOVE_KEY{    UINT           Length;             // Length of this structure    UINT           KeyIndex;               NDIS_802_11_MAC_ADDRESS BSSID;      } NDIS_802_11_REMOVE_KEY, *PNDIS_802_11_REMOVE_KEY;typedef struct _NDIS_802_11_WEP{   UINT     Length;        // Length of this structure   UINT     KeyIndex;           // 0 is the per-client key, 1-N are the                                        // global keys   UINT     KeyLength;     // length of key in bytes   UCHAR     KeyMaterial[1];// variable length depending on above field} NDIS_802_11_WEP, *PNDIS_802_11_WEP;typedef enum _NDIS_802_11_NETWORK_INFRASTRUCTURE{   Ndis802_11IBSS,   Ndis802_11Infrastructure,   Ndis802_11AutoUnknown,   Ndis802_11Monitor,   Ndis802_11InfrastructureMax     // Not a real value, defined as upper bound} NDIS_802_11_NETWORK_INFRASTRUCTURE, *PNDIS_802_11_NETWORK_INFRASTRUCTURE;// Add new authentication modestypedef enum _NDIS_802_11_AUTHENTICATION_MODE{   Ndis802_11AuthModeOpen,   Ndis802_11AuthModeShared,   Ndis802_11AuthModeAutoSwitch,    Ndis802_11AuthModeWPA,    Ndis802_11AuthModeWPAPSK,    Ndis802_11AuthModeWPANone,   Ndis802_11AuthModeWPA2,   Ndis802_11AuthModeWPA2PSK,       	Ndis802_11AuthModeWPA1WPA2,	Ndis802_11AuthModeWPA1PSKWPA2PSK,   Ndis802_11AuthModeMax           // Not a real mode, defined as upper bound} NDIS_802_11_AUTHENTICATION_MODE, *PNDIS_802_11_AUTHENTICATION_MODE;typedef UCHAR   NDIS_802_11_RATES[NDIS_802_11_LENGTH_RATES];        // Set of 8 data ratestypedef UCHAR   NDIS_802_11_RATES_EX[NDIS_802_11_LENGTH_RATES_EX];  // Set of 16 data ratestypedef struct PACKED _NDIS_802_11_SSID{    UINT   SsidLength;         // length of SSID field below, in bytes;                                // this can be zero.    UCHAR   Ssid[NDIS_802_11_LENGTH_SSID];           // SSID information field} NDIS_802_11_SSID, *PNDIS_802_11_SSID;typedef struct PACKED _NDIS_WLAN_BSSID{   ULONG                               Length;     // Length of this structure   NDIS_802_11_MAC_ADDRESS             MacAddress; // BSSID   UCHAR                               Reserved[2];   NDIS_802_11_SSID                    Ssid;       // SSID   ULONG                               Privacy;    // WEP encryption requirement   NDIS_802_11_RSSI                    Rssi;       // receive signal strength in dBm   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 PACKED _NDIS_802_11_BSSID_LIST{   UINT           NumberOfItems;      // in list below, at least 1   NDIS_WLAN_BSSID Bssid[1];} NDIS_802_11_BSSID_LIST, *PNDIS_802_11_BSSID_LIST;// Added Capabilities, IELength and IEs for each BSSIDtypedef struct PACKED _NDIS_WLAN_BSSID_EX{    ULONG                               Length;             // Length of this structure    NDIS_802_11_MAC_ADDRESS             MacAddress;         // BSSID    UCHAR                               Reserved[2];    NDIS_802_11_SSID                    Ssid;               // SSID    UINT                                Privacy;            // WEP encryption requirement    NDIS_802_11_RSSI                    Rssi;               // receive signal                                                            // strength in dBm    NDIS_802_11_NETWORK_TYPE            NetworkTypeInUse;    NDIS_802_11_CONFIGURATION           Configuration;    NDIS_802_11_NETWORK_INFRASTRUCTURE  InfrastructureMode;    NDIS_802_11_RATES_EX                SupportedRates;    ULONG                               IELength;    UCHAR                               IEs[1];} NDIS_WLAN_BSSID_EX, *PNDIS_WLAN_BSSID_EX;typedef struct PACKED _NDIS_802_11_BSSID_LIST_EX{    UINT                   NumberOfItems;      // in list below, at least 1    NDIS_WLAN_BSSID_EX      Bssid[1];} NDIS_802_11_BSSID_LIST_EX, *PNDIS_802_11_BSSID_LIST_EX;typedef struct PACKED _NDIS_802_11_FIXED_IEs {    UCHAR Timestamp[8];    USHORT BeaconInterval;    USHORT Capabilities;} NDIS_802_11_FIXED_IEs, *PNDIS_802_11_FIXED_IEs;typedef struct _NDIS_802_11_VARIABLE_IEs {    UCHAR ElementID;    UCHAR Length;    // Number of bytes in data field    UCHAR data[1];} NDIS_802_11_VARIABLE_IEs, *PNDIS_802_11_VARIABLE_IEs;typedef  ULONG   NDIS_802_11_FRAGMENTATION_THRESHOLD;typedef  ULONG   NDIS_802_11_RTS_THRESHOLD;typedef  ULONG   NDIS_802_11_ANTENNA;typedef enum _NDIS_802_11_PRIVACY_FILTER{   Ndis802_11PrivFilterAcceptAll,   Ndis802_11PrivFilter8021xWEP} NDIS_802_11_PRIVACY_FILTER, *PNDIS_802_11_PRIVACY_FILTER;// Added new encryption types// Also aliased typedef to new nametypedef enum _NDIS_802_11_WEP_STATUS{   Ndis802_11WEPEnabled,    Ndis802_11Encryption1Enabled = Ndis802_11WEPEnabled,   Ndis802_11WEPDisabled,    Ndis802_11EncryptionDisabled = Ndis802_11WEPDisabled,   Ndis802_11WEPKeyAbsent,    Ndis802_11Encryption1KeyAbsent = Ndis802_11WEPKeyAbsent,   Ndis802_11WEPNotSupported,    Ndis802_11EncryptionNotSupported = Ndis802_11WEPNotSupported,    Ndis802_11Encryption2Enabled,    Ndis802_11Encryption2KeyAbsent,    Ndis802_11Encryption3Enabled,    Ndis802_11Encryption3KeyAbsent,    Ndis802_11Encryption4Enabled,	// TKIP or AES mix    Ndis802_11Encryption4KeyAbsent,} 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_RELOAD_DEFAULTS{   Ndis802_11ReloadWEPKeys} NDIS_802_11_RELOAD_DEFAULTS, *PNDIS_802_11_RELOAD_DEFAULTS;#define NDIS_802_11_AI_REQFI_CAPABILITIES      1#define NDIS_802_11_AI_REQFI_LISTENINTERVAL    2#define NDIS_802_11_AI_REQFI_CURRENTAPADDRESS  4#define NDIS_802_11_AI_RESFI_CAPABILITIES      1#define NDIS_802_11_AI_RESFI_STATUSCODE        2#define NDIS_802_11_AI_RESFI_ASSOCIATIONID     4typedef struct _NDIS_802_11_AI_REQFI{    USHORT Capabilities;    USHORT ListenInterval;    NDIS_802_11_MAC_ADDRESS  CurrentAPAddress;} NDIS_802_11_AI_REQFI, *PNDIS_802_11_AI_REQFI;typedef struct _NDIS_802_11_AI_RESFI{    USHORT Capabilities;    USHORT StatusCode;    USHORT AssociationId;} NDIS_802_11_AI_RESFI, *PNDIS_802_11_AI_RESFI;typedef struct _NDIS_802_11_ASSOCIATION_INFORMATION{    ULONG                   Length;    USHORT                  AvailableRequestFixedIEs;    NDIS_802_11_AI_REQFI    RequestFixedIEs;    ULONG                   RequestIELength;    ULONG                   OffsetRequestIEs;    USHORT                  AvailableResponseFixedIEs;    NDIS_802_11_AI_RESFI    ResponseFixedIEs;    ULONG                   ResponseIELength;    ULONG                   OffsetResponseIEs;} NDIS_802_11_ASSOCIATION_INFORMATION, *PNDIS_802_11_ASSOCIATION_INFORMATION;typedef struct _NDIS_802_11_AUTHENTICATION_EVENT{    NDIS_802_11_STATUS_INDICATION       Status;    NDIS_802_11_AUTHENTICATION_REQUEST  Request[1];} NDIS_802_11_AUTHENTICATION_EVENT, *PNDIS_802_11_AUTHENTICATION_EVENT;        typedef struct _NDIS_802_11_TEST{    ULONG Length;    ULONG Type;    union    {        NDIS_802_11_AUTHENTICATION_EVENT AuthenticationEvent;        NDIS_802_11_RSSI RssiTrigger;    };} NDIS_802_11_TEST, *PNDIS_802_11_TEST;// 802.11 Media stream constraints, associated with OID_802_11_MEDIA_STREAM_MODEtypedef enum _NDIS_802_11_MEDIA_STREAM_MODE{    Ndis802_11MediaStreamOff,    Ndis802_11MediaStreamOn,} NDIS_802_11_MEDIA_STREAM_MODE, *PNDIS_802_11_MEDIA_STREAM_MODE;// PMKID Structurestypedef UCHAR   NDIS_802_11_PMKID_VALUE[16];#ifdef CONFIG_STA_SUPPORTtypedef struct _BSSID_INFO{    NDIS_802_11_MAC_ADDRESS BSSID;    NDIS_802_11_PMKID_VALUE PMKID;} BSSID_INFO, *PBSSID_INFO;typedef struct _NDIS_802_11_PMKID{    UINT    Length;    UINT    BSSIDInfoCount;    BSSID_INFO BSSIDInfo[1];} NDIS_802_11_PMKID, *PNDIS_802_11_PMKID;#endif // CONFIG_STA_SUPPORT //typedef struct _NDIS_802_11_AUTHENTICATION_ENCRYPTION{    NDIS_802_11_AUTHENTICATION_MODE AuthModeSupported;    NDIS_802_11_ENCRYPTION_STATUS EncryptStatusSupported;} NDIS_802_11_AUTHENTICATION_ENCRYPTION, *PNDIS_802_11_AUTHENTICATION_ENCRYPTION;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -