Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
zd1201.h File Reference

Go to the source code of this file.

Data Structures

struct  zd1201
 
struct  zd1201_frag
 

Macros

#define ZD1201_NUMKEYS   4
 
#define ZD1201_MAXKEYLEN   13
 
#define ZD1201_MAXMULTI   16
 
#define ZD1201_FRAGMAX   2500
 
#define ZD1201_FRAGMIN   256
 
#define ZD1201_RTSMAX   2500
 
#define ZD1201_RXSIZE   3000
 
#define ZD1201SIWHOSTAUTH   SIOCIWFIRSTPRIV
 
#define ZD1201GIWHOSTAUTH   ZD1201SIWHOSTAUTH+1
 
#define ZD1201SIWAUTHSTA   SIOCIWFIRSTPRIV+2
 
#define ZD1201SIWMAXASSOC   SIOCIWFIRSTPRIV+4
 
#define ZD1201GIWMAXASSOC   ZD1201SIWMAXASSOC+1
 
#define ZD1201_FW_TIMEOUT   (1000)
 
#define ZD1201_TX_TIMEOUT   (2000)
 
#define ZD1201_USB_CMDREQ   0
 
#define ZD1201_USB_RESREQ   1
 
#define ZD1201_CMDCODE_INIT   0x00
 
#define ZD1201_CMDCODE_ENABLE   0x01
 
#define ZD1201_CMDCODE_DISABLE   0x02
 
#define ZD1201_CMDCODE_ALLOC   0x0a
 
#define ZD1201_CMDCODE_INQUIRE   0x11
 
#define ZD1201_CMDCODE_SETRXRID   0x17
 
#define ZD1201_CMDCODE_ACCESS   0x21
 
#define ZD1201_PACKET_EVENTSTAT   0x0
 
#define ZD1201_PACKET_RXDATA   0x1
 
#define ZD1201_PACKET_INQUIRE   0x2
 
#define ZD1201_PACKET_RESOURCE   0x3
 
#define ZD1201_ACCESSBIT   0x0100
 
#define ZD1201_RID_CNFPORTTYPE   0xfc00
 
#define ZD1201_RID_CNFOWNMACADDR   0xfc01
 
#define ZD1201_RID_CNFDESIREDSSID   0xfc02
 
#define ZD1201_RID_CNFOWNCHANNEL   0xfc03
 
#define ZD1201_RID_CNFOWNSSID   0xfc04
 
#define ZD1201_RID_CNFMAXDATALEN   0xfc07
 
#define ZD1201_RID_CNFPMENABLED   0xfc09
 
#define ZD1201_RID_CNFPMEPS   0xfc0a
 
#define ZD1201_RID_CNFMAXSLEEPDURATION   0xfc0c
 
#define ZD1201_RID_CNFDEFAULTKEYID   0xfc23
 
#define ZD1201_RID_CNFDEFAULTKEY0   0xfc24
 
#define ZD1201_RID_CNFDEFAULTKEY1   0xfc25
 
#define ZD1201_RID_CNFDEFAULTKEY2   0xfc26
 
#define ZD1201_RID_CNFDEFAULTKEY3   0xfc27
 
#define ZD1201_RID_CNFWEBFLAGS   0xfc28
 
#define ZD1201_RID_CNFAUTHENTICATION   0xfc2a
 
#define ZD1201_RID_CNFMAXASSOCSTATIONS   0xfc2b
 
#define ZD1201_RID_CNFHOSTAUTH   0xfc2e
 
#define ZD1201_RID_CNFGROUPADDRESS   0xfc80
 
#define ZD1201_RID_CNFFRAGTHRESHOLD   0xfc82
 
#define ZD1201_RID_CNFRTSTHRESHOLD   0xfc83
 
#define ZD1201_RID_TXRATECNTL   0xfc84
 
#define ZD1201_RID_PROMISCUOUSMODE   0xfc85
 
#define ZD1201_RID_CNFBASICRATES   0xfcb3
 
#define ZD1201_RID_AUTHENTICATESTA   0xfce3
 
#define ZD1201_RID_CURRENTBSSID   0xfd42
 
#define ZD1201_RID_COMMSQUALITY   0xfd43
 
#define ZD1201_RID_CURRENTTXRATE   0xfd44
 
#define ZD1201_RID_CNFMAXTXBUFFERNUMBER   0xfda0
 
#define ZD1201_RID_CURRENTCHANNEL   0xfdc1
 
#define ZD1201_INQ_SCANRESULTS   0xf101
 
#define ZD1201_INF_LINKSTATUS   0xf200
 
#define ZD1201_INF_ASSOCSTATUS   0xf201
 
#define ZD1201_INF_AUTHREQ   0xf202
 
#define ZD1201_ASSOCSTATUS_STAASSOC   0x1
 
#define ZD1201_ASSOCSTATUS_REASSOC   0x2
 
#define ZD1201_ASSOCSTATUS_DISASSOC   0x3
 
#define ZD1201_ASSOCSTATUS_ASSOCFAIL   0x4
 
#define ZD1201_ASSOCSTATUS_AUTHFAIL   0x5
 
#define ZD1201_PORTTYPE_IBSS   0
 
#define ZD1201_PORTTYPE_BSS   1
 
#define ZD1201_PORTTYPE_WDS   2
 
#define ZD1201_PORTTYPE_PSEUDOIBSS   3
 
#define ZD1201_PORTTYPE_AP   6
 
#define ZD1201_RATEB1   1
 
#define ZD1201_RATEB2   2
 
#define ZD1201_RATEB5   4 /* 5.5 really, but 5 is shorter :) */
 
#define ZD1201_RATEB11   8
 
#define ZD1201_CNFAUTHENTICATION_OPENSYSTEM   0x0001
 
#define ZD1201_CNFAUTHENTICATION_SHAREDKEY   0x0002
 

Macro Definition Documentation

#define ZD1201_ACCESSBIT   0x0100

Definition at line 88 of file zd1201.h.

#define ZD1201_ASSOCSTATUS_ASSOCFAIL   0x4

Definition at line 130 of file zd1201.h.

#define ZD1201_ASSOCSTATUS_AUTHFAIL   0x5

Definition at line 131 of file zd1201.h.

#define ZD1201_ASSOCSTATUS_DISASSOC   0x3

Definition at line 129 of file zd1201.h.

#define ZD1201_ASSOCSTATUS_REASSOC   0x2

Definition at line 128 of file zd1201.h.

#define ZD1201_ASSOCSTATUS_STAASSOC   0x1

Definition at line 127 of file zd1201.h.

#define ZD1201_CMDCODE_ACCESS   0x21

Definition at line 81 of file zd1201.h.

#define ZD1201_CMDCODE_ALLOC   0x0a

Definition at line 78 of file zd1201.h.

#define ZD1201_CMDCODE_DISABLE   0x02

Definition at line 77 of file zd1201.h.

#define ZD1201_CMDCODE_ENABLE   0x01

Definition at line 76 of file zd1201.h.

#define ZD1201_CMDCODE_INIT   0x00

Definition at line 75 of file zd1201.h.

#define ZD1201_CMDCODE_INQUIRE   0x11

Definition at line 79 of file zd1201.h.

#define ZD1201_CMDCODE_SETRXRID   0x17

Definition at line 80 of file zd1201.h.

#define ZD1201_CNFAUTHENTICATION_OPENSYSTEM   0x0001

Definition at line 144 of file zd1201.h.

#define ZD1201_CNFAUTHENTICATION_SHAREDKEY   0x0002

Definition at line 145 of file zd1201.h.

#define ZD1201_FRAGMAX   2500

Definition at line 19 of file zd1201.h.

#define ZD1201_FRAGMIN   256

Definition at line 20 of file zd1201.h.

#define ZD1201_FW_TIMEOUT   (1000)

Definition at line 68 of file zd1201.h.

#define ZD1201_INF_ASSOCSTATUS   0xf201

Definition at line 124 of file zd1201.h.

#define ZD1201_INF_AUTHREQ   0xf202

Definition at line 125 of file zd1201.h.

#define ZD1201_INF_LINKSTATUS   0xf200

Definition at line 123 of file zd1201.h.

#define ZD1201_INQ_SCANRESULTS   0xf101

Definition at line 121 of file zd1201.h.

#define ZD1201_MAXKEYLEN   13

Definition at line 17 of file zd1201.h.

#define ZD1201_MAXMULTI   16

Definition at line 18 of file zd1201.h.

#define ZD1201_NUMKEYS   4

Definition at line 16 of file zd1201.h.

#define ZD1201_PACKET_EVENTSTAT   0x0

Definition at line 83 of file zd1201.h.

#define ZD1201_PACKET_INQUIRE   0x2

Definition at line 85 of file zd1201.h.

#define ZD1201_PACKET_RESOURCE   0x3

Definition at line 86 of file zd1201.h.

#define ZD1201_PACKET_RXDATA   0x1

Definition at line 84 of file zd1201.h.

#define ZD1201_PORTTYPE_AP   6

Definition at line 137 of file zd1201.h.

#define ZD1201_PORTTYPE_BSS   1

Definition at line 134 of file zd1201.h.

#define ZD1201_PORTTYPE_IBSS   0

Definition at line 133 of file zd1201.h.

#define ZD1201_PORTTYPE_PSEUDOIBSS   3

Definition at line 136 of file zd1201.h.

#define ZD1201_PORTTYPE_WDS   2

Definition at line 135 of file zd1201.h.

#define ZD1201_RATEB1   1

Definition at line 139 of file zd1201.h.

#define ZD1201_RATEB11   8

Definition at line 142 of file zd1201.h.

#define ZD1201_RATEB2   2

Definition at line 140 of file zd1201.h.

#define ZD1201_RATEB5   4 /* 5.5 really, but 5 is shorter :) */

Definition at line 141 of file zd1201.h.

#define ZD1201_RID_AUTHENTICATESTA   0xfce3

Definition at line 114 of file zd1201.h.

#define ZD1201_RID_CNFAUTHENTICATION   0xfc2a

Definition at line 105 of file zd1201.h.

#define ZD1201_RID_CNFBASICRATES   0xfcb3

Definition at line 113 of file zd1201.h.

#define ZD1201_RID_CNFDEFAULTKEY0   0xfc24

Definition at line 100 of file zd1201.h.

#define ZD1201_RID_CNFDEFAULTKEY1   0xfc25

Definition at line 101 of file zd1201.h.

#define ZD1201_RID_CNFDEFAULTKEY2   0xfc26

Definition at line 102 of file zd1201.h.

#define ZD1201_RID_CNFDEFAULTKEY3   0xfc27

Definition at line 103 of file zd1201.h.

#define ZD1201_RID_CNFDEFAULTKEYID   0xfc23

Definition at line 99 of file zd1201.h.

#define ZD1201_RID_CNFDESIREDSSID   0xfc02

Definition at line 92 of file zd1201.h.

#define ZD1201_RID_CNFFRAGTHRESHOLD   0xfc82

Definition at line 109 of file zd1201.h.

#define ZD1201_RID_CNFGROUPADDRESS   0xfc80

Definition at line 108 of file zd1201.h.

#define ZD1201_RID_CNFHOSTAUTH   0xfc2e

Definition at line 107 of file zd1201.h.

#define ZD1201_RID_CNFMAXASSOCSTATIONS   0xfc2b

Definition at line 106 of file zd1201.h.

#define ZD1201_RID_CNFMAXDATALEN   0xfc07

Definition at line 95 of file zd1201.h.

#define ZD1201_RID_CNFMAXSLEEPDURATION   0xfc0c

Definition at line 98 of file zd1201.h.

#define ZD1201_RID_CNFMAXTXBUFFERNUMBER   0xfda0

Definition at line 118 of file zd1201.h.

#define ZD1201_RID_CNFOWNCHANNEL   0xfc03

Definition at line 93 of file zd1201.h.

#define ZD1201_RID_CNFOWNMACADDR   0xfc01

Definition at line 91 of file zd1201.h.

#define ZD1201_RID_CNFOWNSSID   0xfc04

Definition at line 94 of file zd1201.h.

#define ZD1201_RID_CNFPMENABLED   0xfc09

Definition at line 96 of file zd1201.h.

#define ZD1201_RID_CNFPMEPS   0xfc0a

Definition at line 97 of file zd1201.h.

#define ZD1201_RID_CNFPORTTYPE   0xfc00

Definition at line 90 of file zd1201.h.

#define ZD1201_RID_CNFRTSTHRESHOLD   0xfc83

Definition at line 110 of file zd1201.h.

#define ZD1201_RID_CNFWEBFLAGS   0xfc28

Definition at line 104 of file zd1201.h.

#define ZD1201_RID_COMMSQUALITY   0xfd43

Definition at line 116 of file zd1201.h.

#define ZD1201_RID_CURRENTBSSID   0xfd42

Definition at line 115 of file zd1201.h.

#define ZD1201_RID_CURRENTCHANNEL   0xfdc1

Definition at line 119 of file zd1201.h.

#define ZD1201_RID_CURRENTTXRATE   0xfd44

Definition at line 117 of file zd1201.h.

#define ZD1201_RID_PROMISCUOUSMODE   0xfc85

Definition at line 112 of file zd1201.h.

#define ZD1201_RID_TXRATECNTL   0xfc84

Definition at line 111 of file zd1201.h.

#define ZD1201_RTSMAX   2500

Definition at line 21 of file zd1201.h.

#define ZD1201_RXSIZE   3000

Definition at line 23 of file zd1201.h.

#define ZD1201_TX_TIMEOUT   (2000)

Definition at line 70 of file zd1201.h.

#define ZD1201_USB_CMDREQ   0

Definition at line 72 of file zd1201.h.

#define ZD1201_USB_RESREQ   1

Definition at line 73 of file zd1201.h.

#define ZD1201GIWHOSTAUTH   ZD1201SIWHOSTAUTH+1

Definition at line 63 of file zd1201.h.

#define ZD1201GIWMAXASSOC   ZD1201SIWMAXASSOC+1

Definition at line 66 of file zd1201.h.

#define ZD1201SIWAUTHSTA   SIOCIWFIRSTPRIV+2

Definition at line 64 of file zd1201.h.

#define ZD1201SIWHOSTAUTH   SIOCIWFIRSTPRIV

Definition at line 62 of file zd1201.h.

#define ZD1201SIWMAXASSOC   SIOCIWFIRSTPRIV+4

Definition at line 65 of file zd1201.h.