Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations | Functions
device.h File Reference
#include <linux/module.h>
#include <linux/types.h>
#include <linux/init.h>
#include <linux/mm.h>
#include <linux/errno.h>
#include <linux/ioport.h>
#include <linux/pci.h>
#include <linux/kernel.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/delay.h>
#include <linux/timer.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/string.h>
#include <linux/wait.h>
#include <linux/if_arp.h>
#include <linux/sched.h>
#include <linux/if.h>
#include <linux/rtnetlink.h>
#include <linux/proc_fs.h>
#include <linux/inetdevice.h>
#include <linux/reboot.h>
#include <linux/usb.h>
#include <linux/signal.h>
#include <linux/firmware.h>
#include <asm/io.h>
#include <asm/uaccess.h>
#include <linux/wireless.h>
#include <net/iw_handler.h>
#include "device_cfg.h"
#include "ttype.h"
#include "80211hdr.h"
#include "tether.h"
#include "wmgr.h"
#include "wcmd.h"
#include "mib.h"
#include "srom.h"
#include "rc4.h"
#include "desc.h"
#include "key.h"
#include "card.h"

Go to the source code of this file.

Data Structures

struct  _RCB
 
struct  _USB_SEND_CONTEXT
 
struct  _DEFAULT_CONFIG
 
struct  INT_BUFFER
 
struct  _PMKID_CANDIDATE
 
struct  _BSSID_INFO
 
struct  tagSPMKID
 
struct  tagSPMKIDCandidateEvent
 
struct  tagSQuietControl
 
struct  tagSCacheEntry
 
struct  tagSCache
 
struct  tagSDeFragControlBlock
 
struct  __device_opt
 
struct  __device_info
 

Macros

#define WPA_SUPPLICANT_DRIVER_WEXT_SUPPORT
 
#define RT_INSMOD_EVENT_FLAG   0x0101
 
#define RT_UPDEV_EVENT_FLAG   0x0102
 
#define RT_DISCONNECTED_EVENT_FLAG   0x0103
 
#define RT_WPACONNECTED_EVENT_FLAG   0x0104
 
#define RT_DOWNDEV_EVENT_FLAG   0x0105
 
#define RT_RMMOD_EVENT_FLAG   0x0106
 
#define VNT_USB_VENDOR_ID   0x160a
 
#define VNT_USB_PRODUCT_ID   0x3184
 
#define MAC_MAX_CONTEXT_REG   (256+128)
 
#define MAX_MULTICAST_ADDRESS_NUM   32
 
#define MULTICAST_ADDRESS_LIST_SIZE   (MAX_MULTICAST_ADDRESS_NUM * ETH_ALEN)
 
#define DUPLICATE_RX_CACHE_LENGTH   5
 
#define NUM_KEY_ENTRY   11
 
#define TX_WEP_NONE   0
 
#define TX_WEP_OTF   1
 
#define TX_WEP_SW   2
 
#define TX_WEP_SWOTP   3
 
#define TX_WEP_OTPSW   4
 
#define TX_WEP_SW232   5
 
#define KEYSEL_WEP40   0
 
#define KEYSEL_WEP104   1
 
#define KEYSEL_TKIP   2
 
#define KEYSEL_CCMP   3
 
#define AUTO_FB_NONE   0
 
#define AUTO_FB_0   1
 
#define AUTO_FB_1   2
 
#define FB_RATE0   0
 
#define FB_RATE1   1
 
#define ANT_A   0
 
#define ANT_B   1
 
#define ANT_DIVERSITY   2
 
#define ANT_RXD_TXA   3
 
#define ANT_RXD_TXB   4
 
#define ANT_UNKNOWN   0xFF
 
#define ANT_TXA   0
 
#define ANT_TXB   1
 
#define ANT_RXA   2
 
#define ANT_RXB   3
 
#define MAXCHECKHANGCNT   4
 
#define TX_PKT_UNI   0x00
 
#define TX_PKT_MULTI   0x01
 
#define TX_PKT_BROAD   0x02
 
#define BB_VGA_LEVEL   4
 
#define BB_VGA_CHANGE_THRESHOLD   3
 
#define RUN_AT(x)   (jiffies+(x))
 
#define RESERV_AC0DMA   4
 
#define PRIVATE_Message   0
 
#define DBG_PRT(l, p, args...)   { if (l <= msglevel) printk(p, ##args); }
 
#define PRINT_K(p, args...)   { if (PRIVATE_Message) printk(p, ##args); }
 
#define MAX_BSSIDINFO_4_PMKID   16
 
#define MAX_PMKIDLIST   5
 
#define NDIS_802_11_PMKID_CANDIDATE_PREAUTH_ENABLED   0x01
 
#define MAX_QUIET_COUNT   8
 
#define CB_MAX_RX_FRAG   64
 
#define DEVICE_FLAGS_UNPLUG   0x00000001UL
 
#define DEVICE_FLAGS_PREAMBLE_TYPE   0x00000002UL
 
#define DEVICE_FLAGS_OP_MODE   0x00000004UL
 
#define DEVICE_FLAGS_PS_MODE   0x00000008UL
 
#define DEVICE_FLAGS_80211h_MODE   0x00000010UL
 
#define DEVICE_FLAGS_OPENED   0x00010000UL
 
#define DEVICE_FLAGS_WOL_ENABLED   0x00080000UL
 
#define DEVICE_FLAGS_TX_ALIGN   0x01000000UL
 
#define DEVICE_FLAGS_HAVE_CAM   0x02000000UL
 
#define DEVICE_FLAGS_FLOW_CTRL   0x04000000UL
 
#define DEVICE_LINK_FAIL   0x00000001UL
 
#define DEVICE_SPEED_10   0x00000002UL
 
#define DEVICE_SPEED_100   0x00000004UL
 
#define DEVICE_SPEED_1000   0x00000008UL
 
#define DEVICE_DUPLEX_FULL   0x00000010UL
 
#define DEVICE_AUTONEG_ENABLE   0x00000020UL
 
#define DEVICE_FORCED_BY_EEPROM   0x00000040UL
 
#define DEVICE_LINK_CHANGE   0x00000001UL
 
#define EnqueueRCB(_Head, _Tail, _RCB)
 
#define DequeueRCB(Head, Tail)
 
#define ADD_ONE_WITH_WRAP_AROUND(uVar, uModulo)
 
#define fMP_RESET_IN_PROGRESS   0x00000001
 
#define fMP_DISCONNECTED   0x00000002
 
#define fMP_HALT_IN_PROGRESS   0x00000004
 
#define fMP_SURPRISE_REMOVED   0x00000008
 
#define fMP_RECV_LOOKASIDE   0x00000010
 
#define fMP_INIT_IN_PROGRESS   0x00000020
 
#define fMP_SEND_SIDE_RESOURCE_ALLOCATED   0x00000040
 
#define fMP_RECV_SIDE_RESOURCE_ALLOCATED   0x00000080
 
#define fMP_POST_READS   0x00000100
 
#define fMP_POST_WRITES   0x00000200
 
#define fMP_CONTROL_READS   0x00000400
 
#define fMP_CONTROL_WRITES   0x00000800
 
#define MP_SET_FLAG(_M, _F)   ((_M)->Flags |= (_F))
 
#define MP_CLEAR_FLAG(_M, _F)   ((_M)->Flags &= ~(_F))
 
#define MP_TEST_FLAGS(_M, _F)   (((_M)->Flags & (_F)) == (_F))
 
#define MP_IS_READY(_M)
 

Typedefs

typedef enum __device_msg_level DEVICE_MSG_LEVEL
 
typedef enum __device_msg_levelPDEVICE_MSG_LEVEL
 
typedef enum __device_init_type DEVICE_INIT_TYPE
 
typedef enum __device_init_typePDEVICE_INIT_TYPE
 
typedef enum _CONTEXT_TYPE CONTEXT_TYPE
 
typedef struct _RCB RCB
 
typedef struct _RCBPRCB
 
typedef struct _USB_SEND_CONTEXT USB_SEND_CONTEXT
 
typedef struct _USB_SEND_CONTEXTPUSB_SEND_CONTEXT
 
typedef struct _DEFAULT_CONFIG DEFAULT_CONFIG
 
typedef struct _DEFAULT_CONFIGPDEFAULT_CONFIG
 
typedef struct INT_BUFFERPINT_BUFFER
 
typedef enum _VIA_BB_TYPE VIA_BB_TYPE
 
typedef enum _VIA_BB_TYPEPVIA_BB_TYPE
 
typedef enum _VIA_PKT_TYPE VIA_PKT_TYPE
 
typedef enum _VIA_PKT_TYPEPVIA_PKT_TYPE
 
typedef enum __DEVICE_NDIS_STATUS DEVICE_NDIS_STATUS
 
typedef enum __DEVICE_NDIS_STATUSPDEVICE_NDIS_STATUS
 
typedef unsigned char NDIS_802_11_PMKID_VALUE [16]
 
typedef enum
_NDIS_802_11_WEP_STATUS 
NDIS_802_11_WEP_STATUS
 
typedef enum
_NDIS_802_11_WEP_STATUS
PNDIS_802_11_WEP_STATUS
 
typedef enum
_NDIS_802_11_WEP_STATUS 
NDIS_802_11_ENCRYPTION_STATUS
 
typedef enum
_NDIS_802_11_WEP_STATUS
PNDIS_802_11_ENCRYPTION_STATUS
 
typedef enum
_NDIS_802_11_STATUS_TYPE 
NDIS_802_11_STATUS_TYPE
 
typedef enum
_NDIS_802_11_STATUS_TYPE
PNDIS_802_11_STATUS_TYPE
 
typedef struct _PMKID_CANDIDATE PMKID_CANDIDATE
 
typedef struct _PMKID_CANDIDATEPPMKID_CANDIDATE
 
typedef struct _BSSID_INFO BSSID_INFO
 
typedef struct _BSSID_INFOPBSSID_INFO
 
typedef struct tagSPMKID SPMKID
 
typedef struct tagSPMKIDPSPMKID
 
typedef struct
tagSPMKIDCandidateEvent 
SPMKIDCandidateEvent
 
typedef struct
tagSPMKIDCandidateEvent
PSPMKIDCandidateEvent
 
typedef struct tagSQuietControl SQuietControl
 
typedef struct tagSQuietControlPSQuietControl
 
typedef struct tagSCacheEntry SCacheEntry
 
typedef struct tagSCacheEntryPSCacheEntry
 
typedef struct tagSCache SCache
 
typedef struct tagSCachePSCache
 
typedef struct
tagSDeFragControlBlock 
SDeFragControlBlock
 
typedef struct
tagSDeFragControlBlock
PSDeFragControlBlock
 
typedef struct __device_opt OPTIONS
 
typedef struct __device_optPOPTIONS
 
typedef struct __device_info DEVICE_INFO
 
typedef struct __device_infoPSDevice
 

Enumerations

enum  __device_msg_level {
  MSG_LEVEL_ERR =0, MSG_LEVEL_NOTICE =1, MSG_LEVEL_INFO =2, MSG_LEVEL_VERBOSE =3,
  MSG_LEVEL_DEBUG =4, MSG_LEVEL_ERR = 0, MSG_LEVEL_NOTICE = 1, MSG_LEVEL_INFO = 2,
  MSG_LEVEL_VERBOSE = 3, MSG_LEVEL_DEBUG = 4
}
 
enum  __device_init_type {
  DEVICE_INIT_COLD =0, DEVICE_INIT_RESET, DEVICE_INIT_DXPL, DEVICE_INIT_COLD = 0,
  DEVICE_INIT_RESET, DEVICE_INIT_DXPL
}
 
enum  _CONTEXT_TYPE { CONTEXT_DATA_PACKET = 1, CONTEXT_MGMT_PACKET }
 
enum  _VIA_BB_TYPE {
  BB_TYPE_11A =0, BB_TYPE_11B, BB_TYPE_11G, BB_TYPE_11A = 0,
  BB_TYPE_11B, BB_TYPE_11G
}
 
enum  _VIA_PKT_TYPE {
  PK_TYPE_11A =0, PK_TYPE_11B, PK_TYPE_11GB, PK_TYPE_11GA,
  PK_TYPE_11A = 0, PK_TYPE_11B, PK_TYPE_11GB, PK_TYPE_11GA
}
 
enum  __DEVICE_NDIS_STATUS { STATUS_SUCCESS = 0, STATUS_FAILURE, STATUS_RESOURCES, STATUS_PENDING }
 
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_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
}
 
enum  _NDIS_802_11_STATUS_TYPE {
  Ndis802_11StatusType_Authentication, Ndis802_11StatusType_MediaStreamMode, Ndis802_11StatusType_PMKID_CandidateList, Ndis802_11StatusTypeMax,
  Ndis802_11StatusType_Authentication, Ndis802_11StatusType_MediaStreamMode, Ndis802_11StatusType_PMKID_CandidateList, Ndis802_11StatusTypeMax
}
 

Functions

BOOL device_alloc_frag_buf (PSDevice pDevice, PSDeFragControlBlock pDeF)
 

Macro Definition Documentation

#define ADD_ONE_WITH_WRAP_AROUND (   uVar,
  uModulo 
)
Value:
{ \
if ((uVar) >= ((uModulo) - 1)) \
(uVar) = 0; \
else \
(uVar)++; \
}

Definition at line 868 of file device.h.

#define ANT_A   0

Definition at line 133 of file device.h.

#define ANT_B   1

Definition at line 134 of file device.h.

#define ANT_DIVERSITY   2

Definition at line 135 of file device.h.

#define ANT_RXA   2

Definition at line 141 of file device.h.

#define ANT_RXB   3

Definition at line 142 of file device.h.

#define ANT_RXD_TXA   3

Definition at line 136 of file device.h.

#define ANT_RXD_TXB   4

Definition at line 137 of file device.h.

#define ANT_TXA   0

Definition at line 139 of file device.h.

#define ANT_TXB   1

Definition at line 140 of file device.h.

#define ANT_UNKNOWN   0xFF

Definition at line 138 of file device.h.

#define AUTO_FB_0   1

Definition at line 126 of file device.h.

#define AUTO_FB_1   2

Definition at line 127 of file device.h.

#define AUTO_FB_NONE   0

Definition at line 125 of file device.h.

#define BB_VGA_CHANGE_THRESHOLD   3

Definition at line 153 of file device.h.

#define BB_VGA_LEVEL   4

Definition at line 152 of file device.h.

#define CB_MAX_RX_FRAG   64

Definition at line 356 of file device.h.

#define DBG_PRT (   l,
  p,
  args... 
)    { if (l <= msglevel) printk(p, ##args); }

Definition at line 166 of file device.h.

#define DequeueRCB (   Head,
  Tail 
)
Value:
{ \
PRCB RCB = Head; \
if (!RCB->Next) { \
Tail = NULL; \
} \
Head = RCB->Next; \
}

Definition at line 858 of file device.h.

#define DEVICE_AUTONEG_ENABLE   0x00000020UL

Definition at line 393 of file device.h.

#define DEVICE_DUPLEX_FULL   0x00000010UL

Definition at line 392 of file device.h.

#define DEVICE_FLAGS_80211h_MODE   0x00000010UL

Definition at line 377 of file device.h.

#define DEVICE_FLAGS_FLOW_CTRL   0x04000000UL

Definition at line 385 of file device.h.

#define DEVICE_FLAGS_HAVE_CAM   0x02000000UL

Definition at line 384 of file device.h.

#define DEVICE_FLAGS_OP_MODE   0x00000004UL

Definition at line 375 of file device.h.

#define DEVICE_FLAGS_OPENED   0x00010000UL

Definition at line 380 of file device.h.

#define DEVICE_FLAGS_PREAMBLE_TYPE   0x00000002UL

Definition at line 374 of file device.h.

#define DEVICE_FLAGS_PS_MODE   0x00000008UL

Definition at line 376 of file device.h.

#define DEVICE_FLAGS_TX_ALIGN   0x01000000UL

Definition at line 383 of file device.h.

#define DEVICE_FLAGS_UNPLUG   0x00000001UL

Definition at line 373 of file device.h.

#define DEVICE_FLAGS_WOL_ENABLED   0x00080000UL

Definition at line 381 of file device.h.

#define DEVICE_FORCED_BY_EEPROM   0x00000040UL

Definition at line 394 of file device.h.

#define DEVICE_LINK_CHANGE   0x00000001UL

Definition at line 396 of file device.h.

#define DEVICE_LINK_FAIL   0x00000001UL

Definition at line 388 of file device.h.

#define DEVICE_SPEED_10   0x00000002UL

Definition at line 389 of file device.h.

#define DEVICE_SPEED_100   0x00000004UL

Definition at line 390 of file device.h.

#define DEVICE_SPEED_1000   0x00000008UL

Definition at line 391 of file device.h.

#define DUPLICATE_RX_CACHE_LENGTH   5

Definition at line 109 of file device.h.

#define EnqueueRCB (   _Head,
  _Tail,
  _RCB 
)
Value:
{ \
if (!_Head) { \
_Head = _RCB; \
} \
else { \
_Tail->Next = _RCB; \
} \
_Tail = _RCB; \
}

Definition at line 846 of file device.h.

#define FB_RATE0   0

Definition at line 129 of file device.h.

#define FB_RATE1   1

Definition at line 130 of file device.h.

#define fMP_CONTROL_READS   0x00000400

Definition at line 886 of file device.h.

#define fMP_CONTROL_WRITES   0x00000800

Definition at line 887 of file device.h.

#define fMP_DISCONNECTED   0x00000002

Definition at line 877 of file device.h.

#define fMP_HALT_IN_PROGRESS   0x00000004

Definition at line 878 of file device.h.

#define fMP_INIT_IN_PROGRESS   0x00000020

Definition at line 881 of file device.h.

#define fMP_POST_READS   0x00000100

Definition at line 884 of file device.h.

#define fMP_POST_WRITES   0x00000200

Definition at line 885 of file device.h.

#define fMP_RECV_LOOKASIDE   0x00000010

Definition at line 880 of file device.h.

#define fMP_RECV_SIDE_RESOURCE_ALLOCATED   0x00000080

Definition at line 883 of file device.h.

#define fMP_RESET_IN_PROGRESS   0x00000001

Definition at line 876 of file device.h.

#define fMP_SEND_SIDE_RESOURCE_ALLOCATED   0x00000040

Definition at line 882 of file device.h.

#define fMP_SURPRISE_REMOVED   0x00000008

Definition at line 879 of file device.h.

#define KEYSEL_CCMP   3

Definition at line 123 of file device.h.

#define KEYSEL_TKIP   2

Definition at line 122 of file device.h.

#define KEYSEL_WEP104   1

Definition at line 121 of file device.h.

#define KEYSEL_WEP40   0

Definition at line 120 of file device.h.

#define MAC_MAX_CONTEXT_REG   (256+128)

Definition at line 104 of file device.h.

#define MAX_BSSIDINFO_4_PMKID   16

Definition at line 265 of file device.h.

#define MAX_MULTICAST_ADDRESS_NUM   32

Definition at line 106 of file device.h.

#define MAX_PMKIDLIST   5

Definition at line 266 of file device.h.

#define MAX_QUIET_COUNT   8

Definition at line 329 of file device.h.

#define MAXCHECKHANGCNT   4

Definition at line 145 of file device.h.

#define MP_CLEAR_FLAG (   _M,
  _F 
)    ((_M)->Flags &= ~(_F))

Definition at line 890 of file device.h.

#define MP_IS_READY (   _M)
#define MP_SET_FLAG (   _M,
  _F 
)    ((_M)->Flags |= (_F))

Definition at line 889 of file device.h.

#define MP_TEST_FLAGS (   _M,
  _F 
)    (((_M)->Flags & (_F)) == (_F))

Definition at line 891 of file device.h.

#define MULTICAST_ADDRESS_LIST_SIZE   (MAX_MULTICAST_ADDRESS_NUM * ETH_ALEN)

Definition at line 107 of file device.h.

#define NDIS_802_11_PMKID_CANDIDATE_PREAUTH_ENABLED   0x01

Definition at line 268 of file device.h.

#define NUM_KEY_ENTRY   11

Definition at line 111 of file device.h.

#define PRINT_K (   p,
  args... 
)    { if (PRIVATE_Message) printk(p, ##args); }

Definition at line 167 of file device.h.

#define PRIVATE_Message   0

Definition at line 162 of file device.h.

#define RESERV_AC0DMA   4

Definition at line 160 of file device.h.

#define RT_DISCONNECTED_EVENT_FLAG   0x0103

Definition at line 78 of file device.h.

#define RT_DOWNDEV_EVENT_FLAG   0x0105

Definition at line 80 of file device.h.

#define RT_INSMOD_EVENT_FLAG   0x0101

Definition at line 76 of file device.h.

#define RT_RMMOD_EVENT_FLAG   0x0106

Definition at line 81 of file device.h.

#define RT_UPDEV_EVENT_FLAG   0x0102

Definition at line 77 of file device.h.

#define RT_WPACONNECTED_EVENT_FLAG   0x0104

Definition at line 79 of file device.h.

#define RUN_AT (   x)    (jiffies+(x))

Definition at line 156 of file device.h.

#define TX_PKT_BROAD   0x02

Definition at line 150 of file device.h.

#define TX_PKT_MULTI   0x01

Definition at line 149 of file device.h.

#define TX_PKT_UNI   0x00

Definition at line 148 of file device.h.

#define TX_WEP_NONE   0

Definition at line 113 of file device.h.

#define TX_WEP_OTF   1

Definition at line 114 of file device.h.

#define TX_WEP_OTPSW   4

Definition at line 117 of file device.h.

#define TX_WEP_SW   2

Definition at line 115 of file device.h.

#define TX_WEP_SW232   5

Definition at line 118 of file device.h.

#define TX_WEP_SWOTP   3

Definition at line 116 of file device.h.

#define VNT_USB_PRODUCT_ID   0x3184

Definition at line 102 of file device.h.

#define VNT_USB_VENDOR_ID   0x160a

Definition at line 101 of file device.h.

#define WPA_SUPPLICANT_DRIVER_WEXT_SUPPORT

Definition at line 72 of file device.h.

Typedef Documentation

typedef unsigned char NDIS_802_11_PMKID_VALUE[16]

Definition at line 271 of file device.h.

typedef struct _RCB * PRCB
typedef enum _VIA_BB_TYPE * PVIA_BB_TYPE
typedef enum _VIA_PKT_TYPE * PVIA_PKT_TYPE
typedef struct _RCB RCB
typedef enum _VIA_BB_TYPE VIA_BB_TYPE

Enumeration Type Documentation

Enumerator:
DEVICE_INIT_COLD 
DEVICE_INIT_RESET 
DEVICE_INIT_DXPL 
DEVICE_INIT_COLD 
DEVICE_INIT_RESET 
DEVICE_INIT_DXPL 

Definition at line 177 of file device.h.

Enumerator:
MSG_LEVEL_ERR 
MSG_LEVEL_NOTICE 
MSG_LEVEL_INFO 
MSG_LEVEL_VERBOSE 
MSG_LEVEL_DEBUG 
MSG_LEVEL_ERR 
MSG_LEVEL_NOTICE 
MSG_LEVEL_INFO 
MSG_LEVEL_VERBOSE 
MSG_LEVEL_DEBUG 

Definition at line 169 of file device.h.

Enumerator:
STATUS_SUCCESS 
STATUS_FAILURE 
STATUS_RESOURCES 
STATUS_PENDING 

Definition at line 258 of file device.h.

Enumerator:
CONTEXT_DATA_PACKET 
CONTEXT_MGMT_PACKET 

Definition at line 188 of file device.h.

Enumerator:
Ndis802_11StatusType_Authentication 
Ndis802_11StatusType_MediaStreamMode 
Ndis802_11StatusType_PMKID_CandidateList 
Ndis802_11StatusTypeMax 
Ndis802_11StatusType_Authentication 
Ndis802_11StatusType_MediaStreamMode 
Ndis802_11StatusType_PMKID_CandidateList 
Ndis802_11StatusTypeMax 

Definition at line 292 of file device.h.

Enumerator:
Ndis802_11WEPEnabled 
Ndis802_11Encryption1Enabled 
Ndis802_11WEPDisabled 
Ndis802_11EncryptionDisabled 
Ndis802_11WEPKeyAbsent 
Ndis802_11Encryption1KeyAbsent 
Ndis802_11WEPNotSupported 
Ndis802_11EncryptionNotSupported 
Ndis802_11Encryption2Enabled 
Ndis802_11Encryption2KeyAbsent 
Ndis802_11Encryption3Enabled 
Ndis802_11Encryption3KeyAbsent 
Ndis802_11WEPEnabled 
Ndis802_11Encryption1Enabled 
Ndis802_11WEPDisabled 
Ndis802_11EncryptionDisabled 
Ndis802_11WEPKeyAbsent 
Ndis802_11Encryption1KeyAbsent 
Ndis802_11WEPNotSupported 
Ndis802_11EncryptionNotSupported 
Ndis802_11Encryption2Enabled 
Ndis802_11Encryption2KeyAbsent 
Ndis802_11Encryption3Enabled 
Ndis802_11Encryption3KeyAbsent 

Definition at line 274 of file device.h.

Enumerator:
BB_TYPE_11A 
BB_TYPE_11B 
BB_TYPE_11G 
BB_TYPE_11A 
BB_TYPE_11B 
BB_TYPE_11G 

Definition at line 240 of file device.h.

Enumerator:
PK_TYPE_11A 
PK_TYPE_11B 
PK_TYPE_11GB 
PK_TYPE_11GA 
PK_TYPE_11A 
PK_TYPE_11B 
PK_TYPE_11GB 
PK_TYPE_11GA 

Definition at line 248 of file device.h.

Function Documentation

BOOL device_alloc_frag_buf ( PSDevice  pDevice,
PSDeFragControlBlock  pDeF 
)

Definition at line 1628 of file device_main.c.