Go to the documentation of this file.
26 #ifndef __RTL871X_MP_H_
27 #define __RTL871X_MP_H_
31 #define STATUS_SUCCESS (0x00000000L)
32 #define STATUS_PENDING (0x00000103L)
33 #define STATUS_UNSUCCESSFUL (0xC0000001L)
34 #define STATUS_INSUFFICIENT_RESOURCES (0xC000009AL)
35 #define STATUS_NOT_SUPPORTED (0xC00000BBL)
36 #define NDIS_STATUS_SUCCESS ((uint)STATUS_SUCCESS)
37 #define NDIS_STATUS_PENDING ((uint) STATUS_PENDING)
38 #define NDIS_STATUS_NOT_RECOGNIZED ((uint)0x00010001L)
39 #define NDIS_STATUS_NOT_COPIED ((uint)0x00010002L)
40 #define NDIS_STATUS_NOT_ACCEPTED ((uint)0x00010003L)
41 #define NDIS_STATUS_CALL_ACTIVE ((uint)0x00010007L)
42 #define NDIS_STATUS_FAILURE ((uint) STATUS_UNSUCCESSFUL)
43 #define NDIS_STATUS_RESOURCES ((uint)\
44 STATUS_INSUFFICIENT_RESOURCES)
45 #define NDIS_STATUS_CLOSING ((uint)0xC0010002L)
46 #define NDIS_STATUS_BAD_VERSION ((uint)0xC0010004L)
47 #define NDIS_STATUS_BAD_CHARACTERISTICS ((uint)0xC0010005L)
48 #define NDIS_STATUS_ADAPTER_NOT_FOUND ((uint)0xC0010006L)
49 #define NDIS_STATUS_OPEN_FAILED ((uint)0xC0010007L)
50 #define NDIS_STATUS_DEVICE_FAILED ((uint)0xC0010008L)
51 #define NDIS_STATUS_MULTICAST_FULL ((uint)0xC0010009L)
52 #define NDIS_STATUS_MULTICAST_EXISTS ((uint)0xC001000AL)
53 #define NDIS_STATUS_MULTICAST_NOT_FOUND ((uint)0xC001000BL)
54 #define NDIS_STATUS_REQUEST_ABORTED ((uint)0xC001000CL)
55 #define NDIS_STATUS_RESET_IN_PROGRESS ((uint)0xC001000DL)
56 #define NDIS_STATUS_CLOSING_INDICATING ((uint)0xC001000EL)
57 #define NDIS_STATUS_NOT_SUPPORTED ((uint)STATUS_NOT_SUPPORTED)
58 #define NDIS_STATUS_INVALID_PACKET ((uint)0xC001000FL)
59 #define NDIS_STATUS_OPEN_LIST_FULL ((uint)0xC0010010L)
60 #define NDIS_STATUS_ADAPTER_NOT_READY ((uint)0xC0010011L)
61 #define NDIS_STATUS_ADAPTER_NOT_OPEN ((uint)0xC0010012L)
62 #define NDIS_STATUS_NOT_INDICATING ((uint)0xC0010013L)
63 #define NDIS_STATUS_INVALID_LENGTH ((uint)0xC0010014L)
64 #define NDIS_STATUS_INVALID_DATA ((uint)0xC0010015L)
65 #define NDIS_STATUS_BUFFER_TOO_SHORT ((uint)0xC0010016L)
66 #define NDIS_STATUS_INVALID_OID ((uint)0xC0010017L)
67 #define NDIS_STATUS_ADAPTER_REMOVED ((uint)0xC0010018L)
68 #define NDIS_STATUS_UNSUPPORTED_MEDIA ((uint)0xC0010019L)
69 #define NDIS_STATUS_GROUP_ADDRESS_IN_USE ((uint)0xC001001AL)
70 #define NDIS_STATUS_FILE_NOT_FOUND ((uint)0xC001001BL)
71 #define NDIS_STATUS_ERROR_READING_FILE ((uint)0xC001001CL)
72 #define NDIS_STATUS_ALREADY_MAPPED ((uint)0xC001001DL)
73 #define NDIS_STATUS_RESOURCE_CONFLICT ((uint)0xC001001EL)
74 #define NDIS_STATUS_NO_CABLE ((uint)0xC001001FL)
75 #define NDIS_STATUS_INVALID_SAP ((uint)0xC0010020L)
76 #define NDIS_STATUS_SAP_IN_USE ((uint)0xC0010021L)
77 #define NDIS_STATUS_INVALID_ADDRESS ((uint)0xC0010022L)
78 #define NDIS_STATUS_VC_NOT_ACTIVATED ((uint)0xC0010023L)
79 #define NDIS_STATUS_DEST_OUT_OF_ORDER ((uint)0xC0010024L)
80 #define NDIS_STATUS_VC_NOT_AVAILABLE ((uint)0xC0010025L)
81 #define NDIS_STATUS_CELLRATE_NOT_AVAILABLE ((uint)0xC0010026L)
82 #define NDIS_STATUS_INCOMPATABLE_QOS ((uint)0xC0010027L)
83 #define NDIS_STATUS_AAL_PARAMS_UNSUPPORTED ((uint)0xC0010028L)
84 #define NDIS_STATUS_NO_ROUTE_TO_DESTINATION ((uint)0xC0010029L)
86 #define MPT_READ_MAC_1BYTE 1
87 #define MPT_READ_MAC_2BYTE 2
88 #define MPT_READ_MAC_4BYTE 3
89 #define MPT_WRITE_MAC_1BYTE 4
90 #define MPT_WRITE_MAC_2BYTE 5
91 #define MPT_WRITE_MAC_4BYTE 6
92 #define MPT_READ_BB_CCK 7
93 #define MPT_WRITE_BB_CCK 8
94 #define MPT_READ_BB_OFDM 9
95 #define MPT_WRITE_BB_OFDM 10
96 #define MPT_READ_RF 11
97 #define MPT_WRITE_RF 12
98 #define MPT_READ_EEPROM_1BYTE 13
99 #define MPT_WRITE_EEPROM_1BYTE 14
100 #define MPT_READ_EEPROM_2BYTE 15
101 #define MPT_WRITE_EEPROM_2BYTE 16
102 #define MPT_SET_CSTHRESHOLD 21
103 #define MPT_SET_INITGAIN 22
104 #define MPT_SWITCH_BAND 23
105 #define MPT_SWITCH_CHANNEL 24
106 #define MPT_SET_DATARATE 25
107 #define MPT_SWITCH_ANTENNA 26
108 #define MPT_SET_TX_POWER 27
109 #define MPT_SET_CONT_TX 28
110 #define MPT_SET_SINGLE_CARRIER 29
111 #define MPT_SET_CARRIER_SUPPRESSION 30
112 #define MPT_GET_RATE_TABLE 31
113 #define MPT_READ_TSSI 32
114 #define MPT_GET_THERMAL_METER 33
115 #define MAX_MP_XMITBUF_SZ 2048
116 #define NR_MP_XMITFRAME 8
195 #define IOCMD_CTRL_REG 0x10250370
196 #define IOCMD_DATA_REG 0x10250374
197 #define IOCMD_GET_THERMAL_METER 0xFD000028
198 #define IOCMD_CLASS_BB_RF 0xF0
199 #define IOCMD_BB_READ_IDX 0x00
200 #define IOCMD_BB_WRITE_IDX 0x01
201 #define IOCMD_RF_READ_IDX 0x02
202 #define IOCMD_RF_WRIT_IDX 0x03
203 #define BB_REG_BASE_ADDR 0x800
208 #define MAX_RF_PATH_NUMS 2
209 #define _2MAC_MODE_ 0
210 #define _LOOPBOOK_MODE_ 1
256 #define MAX_TX_PWR_INDEX_N_MODE 64
263 #define RX_PKT_BROADCAST 1
264 #define RX_PKT_DEST_ADDR 2
265 #define RX_PKT_PHY_MATCH 3
267 #define RPTMaxCount 0x000FFFFF;
306 #define HAL_PRIME_CHNL_OFFSET_DONT_CARE 0
307 #define HAL_PRIME_CHNL_OFFSET_LOWER 1
308 #define HAL_PRIME_CHNL_OFFSET_UPPER 2