2 ***************************************************************************
4 * 4F, No. 2 Technology 5th Rd.
5 * Science-based Industrial Park
6 * Hsin-chu, Taiwan, R.O.C.
8 * (c) Copyright 2002, Ralink Technology, Inc.
10 * All rights reserved. Ralink's source code is an unpublished work and the
11 * use of a copyright notice does not imply otherwise. This source code
12 * contains confidential trade secret material of Ralink Tech. Any attemp
13 * or participation in deciphering, decoding, reverse engineering or in any
14 * way altering the source code is stricitly prohibited, unless the prior
15 * written consent of Ralink Technology, Inc. is obtained.
16 ***************************************************************************
22 Miniport related definition header
26 -------- ---------- ----------------------------------------------
27 Paul Lin 08-01-2002 created
30 #ifndef __RTMP_DEF_H__
31 #define __RTMP_DEF_H__
34 // Debug information verbosity: lower values indicate higher urgency
36 #define RT_DEBUG_OFF 0
37 #define RT_DEBUG_ERROR 1
38 #define RT_DEBUG_WARN 2
39 #define RT_DEBUG_TRACE 3
40 #define RT_DEBUG_INFO 4
41 #define RT_DEBUG_LOUD 5
43 #define NIC_TAG ((ULONG)'0652')
44 #define NIC_DBG_STRING ("*RT25*")
47 // update the driver version number every time you release a new driver
48 // The high word is the major version. The low word is the minor version.
50 #define NIC_VENDOR_DRIVER_VERSION 0x00010001
53 // NDIS media type, current is ethernet, change if native wireless supported
55 #define NIC_PCI_HDR_LENGTH 0xe2
56 #define NIC_MAX_PACKET_SIZE 2304
57 #define NIC_HEADER_SIZE 14
60 // interface type, we use PCI
64 // buffer size passed in NdisMQueryAdapterResources
65 // We should only need three adapter resources (IO, interrupt and memory),
66 // Some devices get extra resources, so have room for 10 resources
74 // Entry number for each DMA descriptor ring
76 #define TX_RING_SIZE 48
77 #define ATIM_RING_SIZE 4
78 #define PRIO_RING_SIZE 16 // 8
79 #define RX_RING_SIZE 32
80 #define BEACON_RING_SIZE 1
81 #define DESCRIPTOR_REQUIRED ((TX_RING_SIZE) + (ATIM_RING_SIZE) + (PRIO_RING_SIZE) + (RX_RING_SIZE) + (BEACON_RING_SIZE))
82 #define OTHER_DESC_REQUIRED ((ATIM_RING_SIZE) + (PRIO_RING_SIZE) + (RX_RING_SIZE) + (BEACON_RING_SIZE))
83 #define MGMT_RING_SIZE 32
84 #define RING_DESCRIPTOR_SIZE 48
85 #define TX_BUFFER_SIZE 2048
86 #define PRIO_BUFFER_SIZE 1024 // 2048
87 #define RX_BUFFER_SIZE 2048
88 #define ATIM_BUFFER_SIZE 512
89 #define BEACON_BUFFER_SIZE 2048
90 #define MAX_FRAME_SIZE 2346 // Maximum 802.11 frame size
91 #define ALLOC_RX_PACKET_POOL (RX_RING_SIZE)
92 #define ALLOC_RX_BUFFER_POOL (ALLOC_RX_PACKET_POOL)
97 #define MAX_TX_PROCESS 4
98 #define MAX_RX_PROCESS 4
100 #define MAX_MCAST_LIST_SIZE 32
102 // RTMP_ADAPTER flags
103 #define fRTMP_ADAPTER_MAP_REGISTER 0x00000001
104 #define fRTMP_ADAPTER_INTERRUPT_IN_USE 0x00000002
105 #define fRTMP_ADAPTER_HARDWARE_ERROR 0x00000004
106 #define fRTMP_ADAPTER_SEND_PACKET_ERROR 0x00000010
107 #define fRTMP_ADAPTER_RECEIVE_PACKET_ERROR 0x00000020
108 #define fRTMP_ADAPTER_HALT_IN_PROGRESS 0x00000040
109 #define fRTMP_ADAPTER_RESET_IN_PROGRESS 0x00000080
110 #define fRTMP_ADAPTER_REMOVE_IN_PROGRESS 0x00000100
111 #define fRTMP_ADAPTER_TX_RING_ALLOCATED 0x00000200
112 #define fRTMP_ADAPTER_ATIM_RING_ALLOCATED 0x00000400
113 #define fRTMP_ADAPTER_PRIO_RING_ALLOCATED 0x00000800
114 #define fRTMP_ADAPTER_RX_RING_ALLOCATED 0x00001000
115 #define fRTMP_ADAPTER_INTERRUPT_ACTIVE 0x00002000
116 #define fRTMP_ADAPTER_BSS_SCAN_IN_PROGRESS 0x00004000
117 #define fRTMP_ADAPTER_MEDIA_STATE_CHANGE 0x00008000
118 #define fRTMP_ADAPTER_MEDIA_STATE_PENDING 0x00010000
119 #define fRTMP_ADAPTER_RADIO_OFF 0x00020000
120 #define fRTMP_ADAPTER_NIC_NOT_EXIST 0x02000000
122 // Lock bit for accessing different ring buffers
123 #define fRTMP_ADAPTER_TX_RING_BUSY 0x80000000
124 #define fRTMP_ADAPTER_PRIO_RING_BUSY 0x40000000
125 #define fRTMP_ADAPTER_ATIM_RING_BUSY 0x20000000
126 #define fRTMP_ADAPTER_RX_RING_BUSY 0x10000000
128 // Lock bit for accessing different queue
129 #define fRTMP_ADAPTER_TX_QUEUE_BUSY 0x08000000
130 #define fRTMP_ADAPTER_PRIO_QUEUE_BUSY 0x04000000
133 // Error code section
135 // NDIS_ERROR_CODE_ADAPTER_NOT_FOUND
136 #define ERRLOG_READ_PCI_SLOT_FAILED 0x00000101L
137 #define ERRLOG_WRITE_PCI_SLOT_FAILED 0x00000102L
138 #define ERRLOG_VENDOR_DEVICE_NOMATCH 0x00000103L
140 // NDIS_ERROR_CODE_ADAPTER_DISABLED
141 #define ERRLOG_BUS_MASTER_DISABLED 0x00000201L
143 // NDIS_ERROR_CODE_UNSUPPORTED_CONFIGURATION
144 #define ERRLOG_INVALID_SPEED_DUPLEX 0x00000301L
145 #define ERRLOG_SET_SECONDARY_FAILED 0x00000302L
147 // NDIS_ERROR_CODE_OUT_OF_RESOURCES
148 #define ERRLOG_OUT_OF_MEMORY 0x00000401L
149 #define ERRLOG_OUT_OF_SHARED_MEMORY 0x00000402L
150 #define ERRLOG_OUT_OF_MAP_REGISTERS 0x00000403L
151 #define ERRLOG_OUT_OF_BUFFER_POOL 0x00000404L
152 #define ERRLOG_OUT_OF_NDIS_BUFFER 0x00000405L
153 #define ERRLOG_OUT_OF_PACKET_POOL 0x00000406L
154 #define ERRLOG_OUT_OF_NDIS_PACKET 0x00000407L
155 #define ERRLOG_OUT_OF_LOOKASIDE_MEMORY 0x00000408L
157 // NDIS_ERROR_CODE_HARDWARE_FAILURE
158 #define ERRLOG_SELFTEST_FAILED 0x00000501L
159 #define ERRLOG_INITIALIZE_ADAPTER 0x00000502L
160 #define ERRLOG_REMOVE_MINIPORT 0x00000503L
162 // NDIS_ERROR_CODE_RESOURCE_CONFLICT
163 #define ERRLOG_MAP_IO_SPACE 0x00000601L
164 #define ERRLOG_QUERY_ADAPTER_RESOURCES 0x00000602L
165 #define ERRLOG_NO_IO_RESOURCE 0x00000603L
166 #define ERRLOG_NO_INTERRUPT_RESOURCE 0x00000604L
167 #define ERRLOG_NO_MEMORY_RESOURCE 0x00000605L
171 //============================================================
172 // Length definitions
173 #define PEER_KEY_NO 2
175 #define MAC_ADDR_LEN 6
176 #define TIMESTAMP_LEN 8
177 #define MAX_LEN_OF_SUPPORTED_RATES 12 // 1, 2, 5.5, 11, 6, 9, 12, 18, 24, 36, 48, 54
178 #define MAX_NUM_OF_POWER_LEVEL 8
179 #define MAX_NUM_OF_DOMAIN 8
180 #define MAX_LEN_OF_KEY 32 // 32 octets == 256 bits, Redefine for WPA
181 #define MAX_LEN_OF_CHANNELS 42 // 14 channels @2.4G + 12@UNII + 4 @MMAC + 11 @HiperLAN2 + 1 as NULL termination
182 #define MAX_LEN_OF_PEER_KEY 16
183 #define MAC_HDR_LEN 24
184 #define MAX_LEN_OF_MANUFACTURE_ID 32
185 #define MAX_LEN_OF_PRODUCT_ID 32
186 #define MAX_LEN_OF_MAC_TABLE 32
187 #define MAX_LEN_OF_SSID 32
188 #define CIPHER_TEXT_LEN 128
189 #define HASH_TABLE_SIZE 256
190 #define MAX_LEN_OF_MLME_BUFFER 1024
191 #define MAX_FRAME_LEN 2338
192 #define MAX_VIE_LEN 128 // New for WPA cipher suite variable IE sizes.
193 #define MAX_MLME_HANDLER_MEMORY 20 //each them cantains MAX_LEN_OF_MLME_BUFFER size
194 #define MAX_INI_BUFFER_SIZE 2048
196 #define MAX_TX_POWER_LEVEL 100 /* mW */
197 #define MAX_RSSI_TRIGGER -10 /* dBm */
198 #define MIN_RSSI_TRIGGER -200 /* dBm */
199 #define MAX_FRAG_THRESHOLD 2346 /* byte count */
200 #define MIN_FRAG_THRESHOLD 256 /* byte count */
201 #define MAX_RTS_THRESHOLD 2347 /* byte count */
203 // key related definitions
204 #define SHARE_KEY_NO 4
205 #define MAX_LEN_OF_SHARE_KEY 16
206 #define PAIRWISE_KEY_NO 4
207 #define GROUP_KEY_NO 4
209 // power status related definitions
212 #define PWR_UNKNOWN 2
214 // Auth and Assoc mode related definitions
215 #define AUTH_MODE 0x10
216 #define ASSOC_MODE 0x20
218 #define AUTH_MODE_OPEN 0x00
219 #define AUTH_MODE_SHARED 0x01
220 #define AUTH_MODE_AUTO_SWITCH 0x03
221 #define AUTH_MODE_DEAUTH 0x04
222 #define AUTH_MODE_UPLAYER 0x05 // reserved for 802.11i use
224 #define ASSOC_MODE_DISASSOC 0x04
225 #define ASSOC_MODE_ASSOC 0x05
227 // BSS Type definitions
228 #define BSS_INDEP 0 // = Ndis802_11IBSS
229 #define BSS_INFRA 1 // = Ndis802_11Infrastructure
230 #define BSS_ANY 2 // = Ndis802_11AutoUnknown
231 // #define BSS_UNKNOWN 0xff
234 // WEP related definitions
235 // #define WEP_DISABLE 0
236 // #define WEP_ENABLE 1
237 // #define WEP_KEY_ABSENT 2
238 // #define WEP_NOT_SUPPORTED 3
240 // value of FrameDesc.priority
241 // #define PRIO_CONTENTION 0
242 // #define PRIO_CONTENTION_FREE 1
244 // value of auth_algorithm in Authentication frame body
246 // Reason code definitions
247 #define REASON_RESERVED 0
248 #define REASON_UNSPECIFY 1
249 #define REASON_NO_LONGER_VALID 2
250 #define REASON_DEAUTH_STA_LEAVING 3
251 #define REASON_DISASSOC_INACTIVE 4
252 #define REASON_DISASSPC_AP_UNABLE 5
253 #define REASON_CLS2ERR 6
254 #define REASON_CLS3ERR 7
255 #define REASON_DISASSOC_STA_LEAVING 8
256 #define REASON_STA_REQ_ASSOC_NOT_AUTH 9
257 #define REASON_INVALID_IE 13
258 #define REASON_MIC_FAILURE 14
259 #define REASON_4_WAY_HANDSHAKE_TIMEOUT 15
260 #define REASON_GROUP_KEY_UPDATE_TIMEOUT 16
262 // Status code definitions
263 #define MLME_SUCCESS 0
264 #define MLME_UNSPECIFY_FAIL 1
265 #define MLME_CANNOT_SUPPORT_CAP 10
266 #define MLME_REASSOC_DENY_ASSOC_EXIST 11
267 #define MLME_ASSOC_DENY_OUT_SCOPE 12
268 #define MLME_ALG_NOT_SUPPORT 13
269 #define MLME_SEQ_NR_OUT_OF_SEQUENCE 14
270 #define MLME_REJ_CHALLENGE_FAILURE 15
271 #define MLME_REJ_TIMEOUT 16
272 #define MLME_ASSOC_REJ_UNABLE_HANDLE_STA 17
273 #define MLME_ASSOC_REJ_DATA_RATE 18
275 #define MLME_ASSOC_REJ_NO_EXT_RATE 22
276 #define MLME_ASSOC_REJ_NO_EXT_RATE_PBCC 23
277 #define MLME_ASSOC_REJ_NO_CCK_OFDM 24
279 #define MLME_INVALID_FORMAT 0x51
280 #define MLME_FAIL_NO_RESOURCE 0x52
281 #define MLME_STATE_MACHINE_REJECT 0x53
282 #define MLME_MAC_TABLE_FAIL 0x54
286 #define IE_SUPP_RATES 1
291 #define IE_IBSS_PARM 6
292 #define IE_COUNTRY 7 // 802.11d
293 #define IE_802_11D_REQUEST 10 // 802.11d
294 #define IE_CHALLENGE_TEXT 16
295 #define IE_POWER_CONSTRAINT 32 // 802.11h d3.3
296 #define IE_POWER_CAPABILITY 33 // 802.11h d3.3
297 #define IE_TPC_REQUEST 34 // 802.11h d3.3
298 #define IE_TPC_REPORT 35 // 802.11h d3.3
299 #define IE_SUPP_CHANNELS 36 // 802.11h d3.3
300 #define IE_CHANNEL_SWITCH_ANNOUNCEMENT 37 // 802.11h d3.3
301 #define IE_MEASUREMENT_REQUEST 38 // 802.11h d3.3
302 #define IE_MEASUREMENT_REPORT 39 // 802.11h d3.3
303 #define IE_QUIET 40 // 802.11h d3.3
304 #define IE_IBSS_DFS 41 // 802.11h d3.3
305 #define IE_ERP 42 // 802.11g
306 #define IE_EXT_SUPP_RATES 50 // 802.11g
307 #define IE_WPA 221 // WPA
308 #define IE_RSN 48 // 802.11i d3.0
310 #define CNTL_FUNC_SIZE 1
312 // Message type for the MLME state machine
313 // Messages for Associate state machine
314 #define ASSOC_MACHINE_BASE 0
316 #define MT2_MLME_ASSOC_REQ 0
317 #define MT2_MLME_REASSOC_REQ 1
318 #define MT2_MLME_DISASSOC_REQ 2
319 #define MT2_PEER_DISASSOC_REQ 3
320 #define MT2_PEER_ASSOC_REQ 4
321 #define MT2_PEER_ASSOC_RSP 5
322 #define MT2_PEER_REASSOC_REQ 6
323 #define MT2_PEER_REASSOC_RSP 7
324 //#define MT2_CLS3ERR 8
325 #define MT2_DISASSOC_TIMEOUT 8
326 #define MT2_ASSOC_TIMEOUT 9
327 #define MT2_REASSOC_TIMEOUT 10
329 #define MAX_ASSOC_MSG 11
331 // Messages for Authentication state machine
332 #define AUTH_MACHINE_BASE 11
334 #define MT2_MLME_AUTH_REQ 11
335 //#define MT2_MLME_DEAUTH_REQ 12
336 //#define MT2_CLS2ERR 13
337 #define MT2_PEER_AUTH_EVEN 14
338 #define MT2_AUTH_TIMEOUT 15
340 #define MAX_AUTH_MSG 5
342 // Messages for authentication response state machine
343 #define AUTH_RSP_MACHINE_BASE 16
345 #define MT2_AUTH_CHALLENGE_TIMEOUT 16
346 #define MT2_PEER_AUTH_ODD 17
347 #define MT2_PEER_DEAUTH 18
349 #define MAX_AUTH_RSP_MSG 3
351 // Messages for the sync state machine
352 #define SYNC_MACHINE_BASE 19
354 #define MT2_MLME_SCAN_REQ 19
355 #define MT2_MLME_JOIN_REQ 20
356 #define MT2_MLME_START_REQ 21
357 #define MT2_PEER_BEACON 22
358 #define MT2_PEER_PROBE_RSP 23
359 #define MT2_PEER_ATIM 24
360 #define MT2_SCAN_TIMEOUT 25
361 #define MT2_BEACON_TIMEOUT 26
362 #define MT2_ATIM_TIMEOUT 27
363 #define MT2_PEER_PROBE_REQ 28
365 #define MAX_SYNC_MSG 10
368 #define MT2_GET_REQ 31
369 #define MT2_SET_REQ 32
370 #define MT2_RESET_REQ 33
373 #define MT2_ASSOC_CONF 34
374 #define MT2_AUTH_CONF 35
375 #define MT2_DEAUTH_CONF 36
376 #define MT2_DISASSOC_CONF 37
377 #define MT2_REASSOC_CONF 38
378 #define MT2_PWR_MGMT_CONF 39
379 #define MT2_JOIN_CONF 40
380 #define MT2_SCAN_CONF 41
381 #define MT2_START_CONF 42
382 #define MT2_GET_CONF 43
383 #define MT2_SET_CONF 44
384 #define MT2_RESET_CONF 45
386 // Indication message
387 #define MT2_DEAUTH_IND 46
388 #define MT2_ASSOC_IND 47
389 #define MT2_DISASSOC_IND 48
390 #define MT2_REASSOC_IND 49
391 #define MT2_AUTH_IND 50
393 #define MT2_SCAN_END_CONF 51 // For scan end
394 #define MT2_MLME_ROAMING_REQ 52
396 /* #define TXSTATUS_SUCCESS 0 */
397 /* #define TXSTATUS_FAIL_RETRY_LIMIT 1 */
398 /* #define TXSTATUS_EXCESSIVE_LENGTH 2 */
399 /* #define TXSTATUS_NON_NULL_SOURCE_ROUTE 3 */
400 /* #define TXSTATUS_UNSUPPORTED_PRIORITY 4 */
401 /* #define TXSTATUS_UNSUPPORTED_SERVICE 5 */
402 /* #define TXSTATUS_UNAVAILABLE_PRIORITY 6 // CF with no PC available; down-grade to contention */
403 /* #define TXSTATUS_UNAVAILABLE_SERVICE 7 // strictly-ordered but STA isn't active */
404 /* #define TXSTATUS_FAIL_LIFE_TIME 8 */
405 /* #define TXSTATUS_FAIL_NOBSS 9 */
406 /* #define TXSTATUS_FAIL_NULL_KEY 10 */
408 // value domain of MacHdr.tyte, which is b3..b2 of the 1st-byte of MAC header
409 #define BTYPE_MGMT 0 // 00
410 #define BTYPE_CNTL 1 // 01
411 #define BTYPE_DATA 2 // 10
413 // value domain of MacHdr.subtype, which is b7..4 of the 1st-byte of MAC header
415 #define SUBTYPE_ASSOC_REQ 0
416 #define SUBTYPE_ASSOC_RSP 1
417 #define SUBTYPE_REASSOC_REQ 2
418 #define SUBTYPE_REASSOC_RSP 3
419 #define SUBTYPE_PROBE_REQ 4
420 #define SUBTYPE_PROBE_RSP 5
421 #define SUBTYPE_BEACON 8
422 #define SUBTYPE_ATIM 9
423 #define SUBTYPE_DISASSOC 10
424 #define SUBTYPE_AUTH 11
425 #define SUBTYPE_DEAUTH 12
426 #define SUBTYPE_ACTION 13
429 #define SUBTYPE_BLOCK_ACK_REQ 8
430 #define SUBTYPE_BLOCK_ACK 9
431 #define SUBTYPE_PS_POLL 10
432 #define SUBTYPE_RTS 11 // 1011
433 #define SUBTYPE_CTS 12 // 1100
434 #define SUBTYPE_ACK 13 // 1101
435 #define SUBTYPE_CFEND 14
436 #define SUBTYPE_CFEND_CFACK 15
439 #define SUBTYPE_DATA 0
440 #define SUBTYPE_DATA_CFACK 1
441 #define SUBTYPE_DATA_CFPOLL 2
442 #define SUBTYPE_DATA_CFACK_CFPOLL 3
443 #define SUBTYPE_NULL_FUNC 4
444 #define SUBTYPE_CFACK 5 // 0101
445 #define SUBTYPE_CFPOLL 6
446 #define SUBTYPE_CFACK_CFPOLL 7
447 #define SUBTYPE_QDATA 8
448 #define SUBTYPE_QDATA_CFACK 9
449 #define SUBTYPE_QDATA_CFPOLL 10
450 #define SUBTYPE_QDATA_CFACK_CFPOLL 11
451 #define SUBTYPE_QOS_NULL 12
452 #define SUBTYPE_QOS_CFACK 13
453 #define SUBTYPE_QOS_CFPOLL 14
454 #define SUBTYPE_QOS_CFACK_CFPOLL 15
456 #define ASSOC_STATE_MACHINE 1
457 #define AUTH_STATE_MACHINE 2
458 #define AUTH_RSP_STATE_MACHINE 3
459 #define SYNC_STATE_MACHINE 4
460 #define MLME_CNTL_STATE_MACHINE 5
461 #define WPA_PSK_STATE_MACHINE 6
464 // rtmp_data.c use these definition
466 #define LENGTH_802_11 24
467 #define LENGTH_802_11_AND_H 30
468 #define LENGTH_802_11_CRC_H 34
469 #define LENGTH_802_11_CRC 28
470 #define LENGTH_802_3 14
471 #define LENGTH_802_3_TYPE 2
472 #define LENGTH_802_1_H 8
473 #define LENGTH_EAPOL_H 4
475 #define MAX_SEQ_NUMBER 0x0fff
477 #define SUCCESS_WITHOUT_RETRY 0
478 #define SUCCESS_WITH_RETRY 1
479 #define FAIL_RETRY_LIMIT 2
480 #define FAIL_INVALID 3
487 #define RATE_6 4 // OFDM
488 #define RATE_9 5 // OFDM
489 #define RATE_12 6 // OFDM
490 #define RATE_18 7 // OFDM
491 #define RATE_24 8 // OFDM
492 #define RATE_36 9 // OFDM
493 #define RATE_48 10 // OFDM
494 #define RATE_54 11 // OFDM
497 #define RATE_FIRST_OFDM_RATE RATE_6
498 #define RATE_AUTO_SWITCH 255 // for PortCfg.FixedTxRate only
500 #define IFS_BACKOFF 0
502 #define IFS_NEW_BACKOFF 2
506 #define SHORT_RETRY 0
508 // Country Region definition
510 #define REGION_FCC 0 // 1-11
511 #define REGION_IC 1 // 1-11
512 #define REGION_ETSI 2 // 1-13
513 #define REGION_SPAIN 3 // 10-11
514 #define REGION_FRANCE 4 // 10-13
515 #define REGION_MKK 5 // 14
516 #define REGION_MKK1 6 // 1-14
517 #define REGION_ISRAEL 7 // 3-9
518 #define REGION_MAX REGION_ISRAEL
520 #define CIPHER_NONE 0
521 #define CIPHER_WEP64 1
522 #define CIPHER_WEP128 2
523 #define CIPHER_TKIP 3
526 // Stall execution time for ndisdpracquires[inlock in miniportReset function
527 #define WAIT_TIME_FOR_SPINLOCK 10 // usec
529 // value domain for pAdapter->PortCfg.RfType
537 // value domain for pAdapter->PortCfg.LedMode and E2PROM
538 #define LED_MODE_DEFAULT 0
539 #define LED_MODE_TXRX_ACTIVITY 1
540 #define LED_MODE_SINGLE 2 // Single LED mode, driver lid the LED as soon as driver up & enable tx activity right away
541 #define LED_MODE_ASUS 3 // Two LED modes, bit 16 acts as LED_MODE_SINGLE, bit 17 acts as RADIO status.
543 // RC4 init value, used fro WEP & TKIP
544 #define PPPINITFCS32 0xffffffff /* Initial FCS value */
546 // 802.1X controlled port definition
547 #define WPA_802_1X_PORT_SECURED 1
548 #define WPA_802_1X_PORT_NOT_SECURED 2
550 #define PAIRWISE_KEY 1
553 #define MAX_PACKETS_IN_QUEUE 100
563 #define ATE_STASTOP 0 // Stop Station
564 #define ATE_STASTART 1 // Start Station
565 #define ATE_TXCONT 2 // Continuous Transmit
566 #define ATE_TXCARR 3 // Transmit Carrier
567 #define ATE_TXFRAME 4 // Transmit Frames
568 #define ATE_RXFRAME 5 // Receive Frames
569 #endif //#ifdef RALINK_ATE
571 #endif // __RTMP_DEF_H__