Go to the documentation of this file.
62 #ifndef __WAVELAN2_IF_H__
63 #define __WAVELAN2_IF_H__
71 #define MAX_LTV_BUF_SIZE (512 - (sizeof(hcf_16) * 2))
73 #define HCF_TALLIES_SIZE (sizeof(CFG_HERMES_TALLIES_STRCT) + \
76 #define HCF_MAX_MULTICAST 16
77 #define HCF_MAX_NAME_LEN 32
78 #define MAX_LINE_SIZE 256
79 #define HCF_NUM_IO_PORTS 0x80
80 #define TX_TIMEOUT ((800 * HZ) / 1000)
101 #define HCF_MIN_SIGNAL_LEVEL 54
102 #define HCF_MAX_SIGNAL_LEVEL 100
103 #define HCF_MIN_NOISE_LEVEL HCF_MIN_SIGNAL_LEVEL
104 #define HCF_MAX_NOISE_LEVEL HCF_MAX_SIGNAL_LEVEL
105 #define HCF_0DBM_OFFSET (HCF_MAX_SIGNAL_LEVEL + 1)
106 #define HCF_MIN_COMM_QUALITY 0
107 #define HCF_MAX_COMM_QUALITY (HCF_MAX_SIGNAL_LEVEL - HCF_MIN_NOISE_LEVEL + 1)
111 #define MIN_KEY_SIZE 5 // 40 bits RC4 - WEP
112 #define MAX_KEY_SIZE 13 // 104 bits
115 #define RADIO_CHANNELS 14
116 #define RADIO_SENSITIVITY_LEVELS 3
117 #define RADIO_TX_POWER_MWATT 32
118 #define RADIO_TX_POWER_DBM 15
120 #define MIN_RTS_BYTES 0
121 #define MAX_RTS_BYTES 2347
124 #define MEGABIT 1024*1024
126 #define HCF_FAILURE 0xFF
127 #define UIL_FAILURE 0xFF
128 #define CFG_UIL_CONNECT 0xA123 // Define differently?
129 #define CFG_UIL_CONNECT_ACK_CODE 0x5653435A // VSCZ
130 #define WVLAN2_UIL_CONNECTED (0x01L << 0)
131 #define WVLAN2_UIL_BUSY (0x01L << 1)
139 #define WVLAN2_IOCTL_UIL SIOCDEVPRIVATE
157 #define SIOCSIWNETNAME SIOCDEVPRIVATE+1
158 #define SIOCGIWNETNAME SIOCDEVPRIVATE+2
159 #define SIOCSIWSTANAME SIOCDEVPRIVATE+3
160 #define SIOCGIWSTANAME SIOCDEVPRIVATE+4
161 #define SIOCSIWPORTTYPE SIOCDEVPRIVATE+5
162 #define SIOCGIWPORTTYPE SIOCDEVPRIVATE+6
165 #define WL_IOCTL_RTS SIOCDEVPRIVATE+7
168 #define WL_IOCTL_RTS_READ 1
169 #define WL_IOCTL_RTS_WRITE 2
170 #define WL_IOCTL_RTS_BATCH_READ 3
171 #define WL_IOCTL_RTS_BATCH_WRITE 4
233 #endif // __WAVELAN2_IF_H__