1 #ifndef __CUSTOM_OID_H 2 #define __CUSTOM_OID_H 3 4 /* 0xFF818000 - 0xFF81802F RTL8180 Mass Production Kit 5 * 0xFF818500 - 0xFF81850F RTL8185 Setup Utility 6 * 0xFF818580 - 0xFF81858F RTL8185 Phy Status Utility 7 * 8 * by Owen for Production Kit 9 * For Production Kit with Agilent Equipments 10 * in order to make our custom oids hopefully somewhat unique 11 * we will use 0xFF (indicating implementation specific OID) 12 * 81(first byte of non zero Realtek unique identifier) 13 * 80 (second byte of non zero Realtek unique identifier) 14 * XX (the custom OID number - providing 255 possible custom oids) 15 */ 16 #define OID_RT_PRO_RESET_DUT 0xFF818000 17 #define OID_RT_PRO_SET_DATA_RATE 0xFF818001 18 #define OID_RT_PRO_START_TEST 0xFF818002 19 #define OID_RT_PRO_STOP_TEST 0xFF818003 20 #define OID_RT_PRO_SET_PREAMBLE 0xFF818004 21 #define OID_RT_PRO_SET_SCRAMBLER 0xFF818005 22 #define OID_RT_PRO_SET_FILTER_BB 0xFF818006 23 #define OID_RT_PRO_SET_MANUAL_DIVERSITY_BB 0xFF818007 24 #define OID_RT_PRO_SET_CHANNEL_DIRECT_CALL 0xFF818008 25 #define OID_RT_PRO_SET_SLEEP_MODE_DIRECT_CALL 0xFF818009 26 #define OID_RT_PRO_SET_WAKE_MODE_DIRECT_CALL 0xFF81800A 27 28 #define OID_RT_PRO_SET_TX_ANTENNA_BB 0xFF81800D 29 #define OID_RT_PRO_SET_ANTENNA_BB 0xFF81800E 30 #define OID_RT_PRO_SET_CR_SCRAMBLER 0xFF81800F 31 #define OID_RT_PRO_SET_CR_NEW_FILTER 0xFF818010 32 #define OID_RT_PRO_SET_TX_POWER_CONTROL 0xFF818011 33 #define OID_RT_PRO_SET_CR_TX_CONFIG 0xFF818012 34 #define OID_RT_PRO_GET_TX_POWER_CONTROL 0xFF818013 35 #define OID_RT_PRO_GET_CR_SIGNAL_QUALITY 0xFF818014 36 #define OID_RT_PRO_SET_CR_SETPOINT 0xFF818015 37 #define OID_RT_PRO_SET_INTEGRATOR 0xFF818016 38 #define OID_RT_PRO_SET_SIGNAL_QUALITY 0xFF818017 39 #define OID_RT_PRO_GET_INTEGRATOR 0xFF818018 40 #define OID_RT_PRO_GET_SIGNAL_QUALITY 0xFF818019 41 #define OID_RT_PRO_QUERY_EEPROM_TYPE 0xFF81801A 42 #define OID_RT_PRO_WRITE_MAC_ADDRESS 0xFF81801B 43 #define OID_RT_PRO_READ_MAC_ADDRESS 0xFF81801C 44 #define OID_RT_PRO_WRITE_CIS_DATA 0xFF81801D 45 #define OID_RT_PRO_READ_CIS_DATA 0xFF81801E 46 #define OID_RT_PRO_WRITE_POWER_CONTROL 0xFF81801F 47 #define OID_RT_PRO_READ_POWER_CONTROL 0xFF818020 48 #define OID_RT_PRO_WRITE_EEPROM 0xFF818021 49 #define OID_RT_PRO_READ_EEPROM 0xFF818022 50 #define OID_RT_PRO_RESET_TX_PACKET_SENT 0xFF818023 51 #define OID_RT_PRO_QUERY_TX_PACKET_SENT 0xFF818024 52 #define OID_RT_PRO_RESET_RX_PACKET_RECEIVED 0xFF818025 53 #define OID_RT_PRO_QUERY_RX_PACKET_RECEIVED 0xFF818026 54 #define OID_RT_PRO_QUERY_RX_PACKET_CRC32_ERROR 0xFF818027 55 #define OID_RT_PRO_QUERY_CURRENT_ADDRESS 0xFF818028 56 #define OID_RT_PRO_QUERY_PERMANENT_ADDRESS 0xFF818029 57 #define OID_RT_PRO_SET_PHILIPS_RF_PARAMETERS 0xFF81802A 58 #define OID_RT_PRO_RECEIVE_PACKET 0xFF81802C 59 #define OID_RT_PRO_WRITE_EEPROM_BYTE 0xFF81802D 60 #define OID_RT_PRO_READ_EEPROM_BYTE 0xFF81802E 61 #define OID_RT_PRO_SET_MODULATION 0xFF81802F 62 #define OID_RT_DRIVER_OPTION 0xFF818080 63 #define OID_RT_RF_OFF 0xFF818081 64 #define OID_RT_AUTH_STATUS 0xFF818082 65 #define OID_RT_PRO_SET_CONTINUOUS_TX 0xFF81800B 66 #define OID_RT_PRO_SET_SINGLE_CARRIER_TX 0xFF81800C 67 #define OID_RT_PRO_SET_CARRIER_SUPPRESSION_TX 0xFF81802B 68 #define OID_RT_PRO_SET_SINGLE_TONE_TX 0xFF818043 69 #define OID_RT_UTILITY_FALSE_ALARM_COUNTERS 0xFF818580 70 #define OID_RT_UTILITY_SELECT_DEBUG_MODE 0xFF818581 71 #define OID_RT_UTILITY_SELECT_SUBCARRIER_NUMBER 0xFF818582 72 #define OID_RT_UTILITY_GET_RSSI_STATUS 0xFF818583 73 #define OID_RT_UTILITY_GET_FRAME_DETECTION_STATUS 0xFF818584 74 #define OID_RT_UTILITY_GET_AGC_AND_FREQUENCY_OFFSET_ESTIMATION_STATUS \ 75 0xFF818585 76 #define OID_RT_UTILITY_GET_CHANNEL_ESTIMATION_STATUS 0xFF818586 77 #define OID_RT_WIRELESS_MODE 0xFF818500 78 #define OID_RT_SUPPORTED_RATES 0xFF818501 79 #define OID_RT_DESIRED_RATES 0xFF818502 80 #define OID_RT_WIRELESS_MODE_STARTING_ADHOC 0xFF818503 81 #define OID_RT_GET_CONNECT_STATE 0xFF030001 82 #define OID_RT_RESCAN 0xFF030002 83 #define OID_RT_SET_KEY_LENGTH 0xFF030003 84 #define OID_RT_SET_DEFAULT_KEY_ID 0xFF030004 85 #define OID_RT_SET_CHANNEL 0xFF010182 86 #define OID_RT_SET_SNIFFER_MODE 0xFF010183 87 #define OID_RT_GET_SIGNAL_QUALITY 0xFF010184 88 #define OID_RT_GET_SMALL_PACKET_CRC 0xFF010185 89 #define OID_RT_GET_MIDDLE_PACKET_CRC 0xFF010186 90 #define OID_RT_GET_LARGE_PACKET_CRC 0xFF010187 91 #define OID_RT_GET_TX_RETRY 0xFF010188 92 #define OID_RT_GET_RX_RETRY 0xFF010189 93 #define OID_RT_PRO_SET_FW_DIG_STATE 0xFF01018A 94 #define OID_RT_PRO_SET_FW_RA_STATE 0xFF01018B 95 #define OID_RT_GET_RX_TOTAL_PACKET 0xFF010190 96 #define OID_RT_GET_TX_BEACON_OK 0xFF010191 97 #define OID_RT_GET_TX_BEACON_ERR 0xFF010192 98 #define OID_RT_GET_RX_ICV_ERR 0xFF010193 99 #define OID_RT_SET_ENCRYPTION_ALGORITHM 0xFF010194 100 #define OID_RT_SET_NO_AUTO_RESCAN 0xFF010195 101 #define OID_RT_GET_PREAMBLE_MODE 0xFF010196 102 #define OID_RT_GET_DRIVER_UP_DELTA_TIME 0xFF010197 103 #define OID_RT_GET_AP_IP 0xFF010198 104 #define OID_RT_GET_CHANNELPLAN 0xFF010199 105 #define OID_RT_SET_PREAMBLE_MODE 0xFF01019A 106 #define OID_RT_SET_BCN_INTVL 0xFF01019B 107 #define OID_RT_GET_RF_VENDER 0xFF01019C 108 #define OID_RT_DEDICATE_PROBE 0xFF01019D 109 #define OID_RT_PRO_RX_FILTER_PATTERN 0xFF01019E 110 #define OID_RT_GET_DCST_CURRENT_THRESHOLD 0xFF01019F 111 #define OID_RT_GET_CCA_ERR 0xFF0101A0 112 #define OID_RT_GET_CCA_UPGRADE_THRESHOLD 0xFF0101A1 113 #define OID_RT_GET_CCA_FALLBACK_THRESHOLD 0xFF0101A2 114 #define OID_RT_GET_CCA_UPGRADE_EVALUATE_TIMES 0xFF0101A3 115 #define OID_RT_GET_CCA_FALLBACK_EVALUATE_TIMES 0xFF0101A4 116 #define OID_RT_SET_RATE_ADAPTIVE 0xFF0101A5 117 #define OID_RT_GET_DCST_EVALUATE_PERIOD 0xFF0101A5 118 #define OID_RT_GET_DCST_TIME_UNIT_INDEX 0xFF0101A6 119 #define OID_RT_GET_TOTAL_TX_BYTES 0xFF0101A7 120 #define OID_RT_GET_TOTAL_RX_BYTES 0xFF0101A8 121 #define OID_RT_CURRENT_TX_POWER_LEVEL 0xFF0101A9 122 #define OID_RT_GET_ENC_KEY_MISMATCH_COUNT 0xFF0101AA 123 #define OID_RT_GET_ENC_KEY_MATCH_COUNT 0xFF0101AB 124 #define OID_RT_GET_CHANNEL 0xFF0101AC 125 #define OID_RT_SET_CHANNELPLAN 0xFF0101AD 126 #define OID_RT_GET_HARDWARE_RADIO_OFF 0xFF0101AE 127 #define OID_RT_CHANNELPLAN_BY_COUNTRY 0xFF0101AF 128 #define OID_RT_SCAN_AVAILABLE_BSSID 0xFF0101B0 129 #define OID_RT_GET_HARDWARE_VERSION 0xFF0101B1 130 #define OID_RT_GET_IS_ROAMING 0xFF0101B2 131 #define OID_RT_GET_IS_PRIVACY 0xFF0101B3 132 #define OID_RT_GET_KEY_MISMATCH 0xFF0101B4 133 #define OID_RT_SET_RSSI_ROAM_TRAFFIC_TH 0xFF0101B5 134 #define OID_RT_SET_RSSI_ROAM_SIGNAL_TH 0xFF0101B6 135 #define OID_RT_RESET_LOG 0xFF0101B7 136 #define OID_RT_GET_LOG 0xFF0101B8 137 #define OID_RT_SET_INDICATE_HIDDEN_AP 0xFF0101B9 138 #define OID_RT_GET_HEADER_FAIL 0xFF0101BA 139 #define OID_RT_SUPPORTED_WIRELESS_MODE 0xFF0101BB 140 #define OID_RT_GET_CHANNEL_LIST 0xFF0101BC 141 #define OID_RT_GET_SCAN_IN_PROGRESS 0xFF0101BD 142 #define OID_RT_GET_TX_INFO 0xFF0101BE 143 #define OID_RT_RF_READ_WRITE_OFFSET 0xFF0101BF 144 #define OID_RT_RF_READ_WRITE 0xFF0101C0 145 #define OID_RT_FORCED_DATA_RATE 0xFF0101C1 146 #define OID_RT_WIRELESS_MODE_FOR_SCAN_LIST 0xFF0101C2 147 #define OID_RT_GET_BSS_WIRELESS_MODE 0xFF0101C3 148 #define OID_RT_SCAN_WITH_MAGIC_PACKET 0xFF0101C4 149 #define OID_RT_PRO_RX_FILTER 0xFF0111C0 150 #define OID_CE_USB_WRITE_REGISTRY 0xFF0111C1 151 #define OID_CE_USB_READ_REGISTRY 0xFF0111C2 152 #define OID_RT_PRO_SET_INITIAL_GAIN 0xFF0111C3 153 #define OID_RT_PRO_SET_BB_RF_STANDBY_MODE 0xFF0111C4 154 #define OID_RT_PRO_SET_BB_RF_SHUTDOWN_MODE 0xFF0111C5 155 #define OID_RT_PRO_SET_TX_CHARGE_PUMP 0xFF0111C6 156 #define OID_RT_PRO_SET_RX_CHARGE_PUMP 0xFF0111C7 157 #define OID_RT_PRO_RF_WRITE_REGISTRY 0xFF0111C8 158 #define OID_RT_PRO_RF_READ_REGISTRY 0xFF0111C9 159 #define OID_RT_PRO_QUERY_RF_TYPE 0xFF0111CA 160 #define OID_RT_AP_GET_ASSOCIATED_STATION_LIST 0xFF010300 161 #define OID_RT_AP_GET_CURRENT_TIME_STAMP 0xFF010301 162 #define OID_RT_AP_SWITCH_INTO_AP_MODE 0xFF010302 163 #define OID_RT_AP_SET_DTIM_PERIOD 0xFF010303 164 #define OID_RT_AP_SUPPORTED 0xFF010304 165 #define OID_RT_AP_SET_PASSPHRASE 0xFF010305 166 #define OID_RT_PRO8187_WI_POLL 0xFF818780 167 #define OID_RT_PRO_WRITE_BB_REG 0xFF818781 168 #define OID_RT_PRO_READ_BB_REG 0xFF818782 169 #define OID_RT_PRO_WRITE_RF_REG 0xFF818783 170 #define OID_RT_PRO_READ_RF_REG 0xFF818784 171 #define OID_RT_MH_VENDER_ID 0xFFEDC100 172 #define OID_RT_PRO8711_JOIN_BSS 0xFF871100 173 #define OID_RT_PRO_READ_REGISTER 0xFF871101 174 #define OID_RT_PRO_WRITE_REGISTER 0xFF871102 175 #define OID_RT_PRO_BURST_READ_REGISTER 0xFF871103 176 #define OID_RT_PRO_BURST_WRITE_REGISTER 0xFF871104 177 #define OID_RT_PRO_WRITE_TXCMD 0xFF871105 178 #define OID_RT_PRO_READ16_EEPROM 0xFF871106 179 #define OID_RT_PRO_WRITE16_EEPROM 0xFF871107 180 #define OID_RT_PRO_H2C_SET_COMMAND 0xFF871108 181 #define OID_RT_PRO_H2C_QUERY_RESULT 0xFF871109 182 #define OID_RT_PRO8711_WI_POLL 0xFF87110A 183 #define OID_RT_PRO8711_PKT_LOSS 0xFF87110B 184 #define OID_RT_RD_ATTRIB_MEM 0xFF87110C 185 #define OID_RT_WR_ATTRIB_MEM 0xFF87110D 186 /*Method 2 for H2C/C2H*/ 187 #define OID_RT_PRO_H2C_CMD_MODE 0xFF871110 188 #define OID_RT_PRO_H2C_CMD_RSP_MODE 0xFF871111 189 #define OID_RT_PRO_H2C_CMD_EVENT_MODE 0xFF871112 190 #define OID_RT_PRO_WAIT_C2H_EVENT 0xFF871113 191 #define OID_RT_PRO_RW_ACCESS_PROTOCOL_TEST 0xFF871114 192 #define OID_RT_PRO_SCSI_ACCESS_TEST 0xFF871115 193 #define OID_RT_PRO_SCSI_TCPIPOFFLOAD_OUT 0xFF871116 194 #define OID_RT_PRO_SCSI_TCPIPOFFLOAD_IN 0xFF871117 195 #define OID_RT_RRO_RX_PKT_VIA_IOCTRL 0xFF871118 196 #define OID_RT_RRO_RX_PKTARRAY_VIA_IOCTRL 0xFF871119 197 #define OID_RT_RPO_SET_PWRMGT_TEST 0xFF87111A 198 #define OID_RT_PRO_QRY_PWRMGT_TEST 0XFF87111B 199 #define OID_RT_RPO_ASYNC_RWIO_TEST 0xFF87111C 200 #define OID_RT_RPO_ASYNC_RWIO_POLL 0xFF87111D 201 #define OID_RT_PRO_SET_RF_INTFS 0xFF87111E 202 #define OID_RT_POLL_RX_STATUS 0xFF87111F 203 #define OID_RT_PRO_CFG_DEBUG_MESSAGE 0xFF871120 204 #define OID_RT_PRO_SET_DATA_RATE_EX 0xFF871121 205 #define OID_RT_PRO_SET_BASIC_RATE 0xFF871122 206 #define OID_RT_PRO_READ_TSSI 0xFF871123 207 #define OID_RT_PRO_SET_POWER_TRACKING 0xFF871124 208 #define OID_RT_PRO_QRY_PWRSTATE 0xFF871150 209 #define OID_RT_PRO_SET_PWRSTATE 0xFF871151 210 /*Method 2 , using workitem */ 211 #define OID_RT_SET_READ_REG 0xFF871181 212 #define OID_RT_SET_WRITE_REG 0xFF871182 213 #define OID_RT_SET_BURST_READ_REG 0xFF871183 214 #define OID_RT_SET_BURST_WRITE_REG 0xFF871184 215 #define OID_RT_SET_WRITE_TXCMD 0xFF871185 216 #define OID_RT_SET_READ16_EEPROM 0xFF871186 217 #define OID_RT_SET_WRITE16_EEPROM 0xFF871187 218 #define OID_RT_QRY_POLL_WKITEM 0xFF871188 219 220 /*For SDIO INTERFACE only*/ 221 #define OID_RT_PRO_SYNCPAGERW_SRAM 0xFF8711A0 222 #define OID_RT_PRO_871X_DRV_EXT 0xFF8711A1 223 224 /*For USB INTERFACE only*/ 225 #define OID_RT_PRO_USB_VENDOR_REQ 0xFF8711B0 226 #define OID_RT_PRO_SCSI_AUTO_TEST 0xFF8711B1 227 #define OID_RT_PRO_USB_MAC_AC_FIFO_WRITE 0xFF8711B2 228 #define OID_RT_PRO_USB_MAC_RX_FIFO_READ 0xFF8711B3 229 #define OID_RT_PRO_USB_MAC_RX_FIFO_POLLING 0xFF8711B4 230 231 #define OID_RT_PRO_H2C_SET_RATE_TABLE 0xFF8711FB 232 #define OID_RT_PRO_H2C_GET_RATE_TABLE 0xFF8711FC 233 #define OID_RT_PRO_H2C_C2H_LBK_TEST 0xFF8711FE 234 235 #define OID_RT_PRO_ENCRYPTION_CTRL 0xFF871200 236 #define OID_RT_PRO_ADD_STA_INFO 0xFF871201 237 #define OID_RT_PRO_DELE_STA_INFO 0xFF871202 238 #define OID_RT_PRO_QUERY_DR_VARIABLE 0xFF871203 239 240 #define OID_RT_PRO_RX_PACKET_TYPE 0xFF871204 241 242 #define OID_RT_PRO_READ_EFUSE 0xFF871205 243 #define OID_RT_PRO_WRITE_EFUSE 0xFF871206 244 #define OID_RT_PRO_RW_EFUSE_PGPKT 0xFF871207 245 #define OID_RT_GET_EFUSE_CURRENT_SIZE 0xFF871208 246 247 #define OID_RT_SET_BANDWIDTH 0xFF871209 248 #define OID_RT_SET_CRYSTAL_CAP 0xFF87120A 249 250 #define OID_RT_SET_RX_PACKET_TYPE 0xFF87120B 251 252 #define OID_RT_GET_EFUSE_MAX_SIZE 0xFF87120C 253 254 #define OID_RT_PRO_SET_TX_AGC_OFFSET 0xFF87120D 255 256 #define OID_RT_PRO_SET_PKT_TEST_MODE 0xFF87120E 257 258 #define OID_RT_PRO_FOR_EVM_TEST_SETTING 0xFF87120F 259 260 #define OID_RT_PRO_GET_THERMAL_METER 0xFF871210 261 262 #define OID_RT_RESET_PHY_RX_PACKET_COUNT 0xFF871211 263 #define OID_RT_GET_PHY_RX_PACKET_RECEIVED 0xFF871212 264 #define OID_RT_GET_PHY_RX_PACKET_CRC32_ERROR 0xFF871213 265 266 #define OID_RT_SET_POWER_DOWN 0xFF871214 267 268 #define OID_RT_GET_POWER_MODE 0xFF871215 269 270 #define OID_RT_PRO_EFUSE 0xFF871216 271 #define OID_RT_PRO_EFUSE_MAP 0xFF871217 272 273 #endif /*#ifndef __CUSTOM_OID_H */ 274 275