1 /****************************************************************************** 2 * 3 * Copyright(c) 2016 - 2019 Realtek Corporation. All rights reserved. 4 * 5 * This program is free software; you can redistribute it and/or modify it 6 * under the terms of version 2 of the GNU General Public License as 7 * published by the Free Software Foundation. 8 * 9 * This program is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 12 * more details. 13 * 14 ******************************************************************************/ 15 16 #ifndef __HALMAC_COM_REG_H__ 17 #define __HALMAC_COM_REG_H__ 18 19 #include "halmac_hw_cfg.h" 20 21 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 22 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 23 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 24 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 25 HALMAC_8881A_SUPPORT) 26 27 #define REG_SYS_ISO_CTRL 0x0000 28 29 #endif 30 31 #if (HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 32 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 33 HALMAC_8822C_SUPPORT) 34 35 #define REG_SDIO_TX_CTRL 0x10250000 36 37 #endif 38 39 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 40 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 41 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 42 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 43 HALMAC_8881A_SUPPORT) 44 45 #define REG_SYS_FUNC_EN 0x0002 46 #define REG_SYS_PW_CTRL 0x0004 47 48 #endif 49 50 #if (HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 51 52 #define REG_SDIO_CMD11_VOL_SWITCH 0x10250004 53 #define REG_SDIO_CTRL 0x10250005 54 #define REG_SDIO_DRIVING 0x10250006 55 56 #endif 57 58 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 59 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 60 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 61 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 62 HALMAC_8881A_SUPPORT) 63 64 #define REG_SYS_CLK_CTRL 0x0008 65 66 #endif 67 68 #if (HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 69 70 #define REG_SDIO_MONITOR 0x10250008 71 72 #endif 73 74 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 75 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 76 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 77 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 78 HALMAC_8881A_SUPPORT) 79 80 #define REG_SYS_EEPROM_CTRL 0x000A 81 #define REG_EE_VPD 0x000C 82 83 #endif 84 85 #if (HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 86 87 #define REG_SDIO_MONITOR_2 0x1025000C 88 89 #endif 90 91 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 92 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 93 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 94 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 95 HALMAC_8881A_SUPPORT) 96 97 #define REG_SYS_SWR_CTRL1 0x0010 98 99 #endif 100 101 #if (HALMAC_8812F_SUPPORT) 102 103 #define REG_SDIO_CTRL_2 0x10250010 104 105 #endif 106 107 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 108 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 109 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 110 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 111 HALMAC_8881A_SUPPORT) 112 113 #define REG_SYS_SWR_CTRL2 0x0014 114 115 #endif 116 117 #if (HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 118 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 119 HALMAC_8822C_SUPPORT) 120 121 #define REG_SDIO_HIMR 0x10250014 122 123 #endif 124 125 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 126 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 127 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 128 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 129 HALMAC_8881A_SUPPORT) 130 131 #define REG_SYS_SWR_CTRL3 0x0018 132 133 #endif 134 135 #if (HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 136 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 137 HALMAC_8822C_SUPPORT) 138 139 #define REG_SDIO_HISR 0x10250018 140 141 #endif 142 143 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 144 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 145 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 146 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 147 HALMAC_8881A_SUPPORT) 148 149 #define REG_RSV_CTRL 0x001C 150 151 #endif 152 153 #if (HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 154 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 155 HALMAC_8822C_SUPPORT) 156 157 #define REG_SDIO_RX_REQ_LEN 0x1025001C 158 159 #endif 160 161 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8812F_SUPPORT || \ 162 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 163 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 164 HALMAC_8881A_SUPPORT) 165 166 #define REG_RF_CTRL 0x001F 167 168 #endif 169 170 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 171 172 #define REG_RF0_CTRL 0x001F 173 174 #endif 175 176 #if (HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 177 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 178 HALMAC_8822C_SUPPORT) 179 180 #define REG_SDIO_FREE_TXPG_SEQ_V1 0x1025001F 181 182 #endif 183 184 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 185 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 186 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 187 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 188 HALMAC_8881A_SUPPORT) 189 190 #define REG_AFE_LDO_CTRL 0x0020 191 192 #endif 193 194 #if (HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 195 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 196 HALMAC_8822C_SUPPORT) 197 198 #define REG_SDIO_FREE_TXPG 0x10250020 199 200 #endif 201 202 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 203 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 204 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 205 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 206 HALMAC_8881A_SUPPORT) 207 208 #define REG_AFE_CTRL1 0x0024 209 210 #endif 211 212 #if (HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 213 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 214 HALMAC_8822C_SUPPORT) 215 216 #define REG_SDIO_FREE_TXPG2 0x10250024 217 218 #endif 219 220 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 221 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8814A_SUPPORT || \ 222 HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 223 HALMAC_8881A_SUPPORT) 224 225 #define REG_AFE_CTRL2 0x0028 226 227 #endif 228 229 #if (HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 230 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 231 HALMAC_8822C_SUPPORT) 232 233 #define REG_SDIO_OQT_FREE_TXPG_V1 0x10250028 234 235 #endif 236 237 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8822C_SUPPORT) 238 239 #define REG_ANAPARSW_POW_MAC 0x0028 240 #define REG_ANAPARLDO_POW_MAC 0x0029 241 #define REG_ANAPAR_POW_MAC 0x002A 242 #define REG_ANAPAR_POW_XTAL 0x002B 243 244 #endif 245 246 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 247 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8814A_SUPPORT || \ 248 HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 249 HALMAC_8881A_SUPPORT) 250 251 #define REG_AFE_CTRL3 0x002C 252 253 #endif 254 255 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8822C_SUPPORT) 256 257 #define REG_ANAPARLDO_MAC 0x002C 258 259 #endif 260 261 #if (HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 262 263 #define REG_SDIO_TXPKT_EMPTY 0x1025002C 264 265 #endif 266 267 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 268 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 269 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 270 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 271 HALMAC_8881A_SUPPORT) 272 273 #define REG_EFUSE_CTRL 0x0030 274 275 #endif 276 277 #if (HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 278 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 279 HALMAC_8822C_SUPPORT) 280 281 #define REG_SDIO_HTSFR_INFO 0x10250030 282 283 #endif 284 285 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 286 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 287 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 288 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 289 HALMAC_8881A_SUPPORT) 290 291 #define REG_LDO_EFUSE_CTRL 0x0034 292 #define REG_PWR_OPTION_CTRL 0x0038 293 294 #endif 295 296 #if (HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 297 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 298 HALMAC_8822C_SUPPORT) 299 300 #define REG_SDIO_HCPWM1_V2 0x10250038 301 #define REG_SDIO_HCPWM2_V2 0x1025003A 302 303 #endif 304 305 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 306 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 307 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 308 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 309 HALMAC_8881A_SUPPORT) 310 311 #define REG_CAL_TIMER 0x003C 312 #define REG_ACLK_MON 0x003E 313 314 #endif 315 316 #if (HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 317 318 #define REG_GPIO_MUXCFG_2 0x003F 319 320 #endif 321 322 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 323 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 324 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 325 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 326 HALMAC_8881A_SUPPORT) 327 328 #define REG_GPIO_MUXCFG 0x0040 329 330 #endif 331 332 #if (HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 333 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 334 HALMAC_8822C_SUPPORT) 335 336 #define REG_SDIO_INDIRECT_REG_CFG 0x10250040 337 338 #endif 339 340 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 341 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 342 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 343 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 344 HALMAC_8881A_SUPPORT) 345 346 #define REG_GPIO_PIN_CTRL 0x0044 347 348 #endif 349 350 #if (HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 351 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 352 HALMAC_8822C_SUPPORT) 353 354 #define REG_SDIO_INDIRECT_REG_DATA 0x10250044 355 356 #endif 357 358 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 359 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 360 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 361 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 362 HALMAC_8881A_SUPPORT) 363 364 #define REG_GPIO_INTM 0x0048 365 #define REG_LED_CFG 0x004C 366 #define REG_FSIMR 0x0050 367 #define REG_FSISR 0x0054 368 #define REG_HSIMR 0x0058 369 #define REG_HSISR 0x005C 370 #define REG_GPIO_EXT_CTRL 0x0060 371 372 #endif 373 374 #if (HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 375 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 376 HALMAC_8822C_SUPPORT) 377 378 #define REG_SDIO_H2C 0x10250060 379 380 #endif 381 382 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 383 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 384 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 385 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 386 HALMAC_8881A_SUPPORT) 387 388 #define REG_PAD_CTRL1 0x0064 389 390 #endif 391 392 #if (HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 393 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 394 HALMAC_8822C_SUPPORT) 395 396 #define REG_SDIO_C2H 0x10250064 397 398 #endif 399 400 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 401 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 402 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 403 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 404 HALMAC_8881A_SUPPORT) 405 406 #define REG_WL_BT_PWR_CTRL 0x0068 407 408 #endif 409 410 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 411 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 412 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 413 HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 414 415 #define REG_SDM_DEBUG 0x006C 416 417 #endif 418 419 #if (HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT) 420 421 #define REG_GSSR 0x006C 422 423 #endif 424 425 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 426 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 427 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 428 HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 429 430 #define REG_SYS_SDIO_CTRL 0x0070 431 432 #endif 433 434 #if (HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT) 435 436 #define REG_SYS_CLKR 0x0070 437 438 #endif 439 440 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 441 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 442 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 443 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 444 HALMAC_8881A_SUPPORT) 445 446 #define REG_HCI_OPT_CTRL 0x0074 447 448 #endif 449 450 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 451 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8814B_SUPPORT || \ 452 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8881A_SUPPORT) 453 454 #define REG_AFE_CTRL4 0x0078 455 456 #endif 457 458 #if (HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 459 460 #define REG_HCI_BG_CTRL 0x0078 461 462 #endif 463 464 #if (HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT) 465 466 #define REG_AFE_XTAL_CTRL_EXT 0x0078 467 468 #endif 469 470 #if (HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 471 472 #define REG_HCI_LDO_CTRL 0x007A 473 474 #endif 475 476 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 477 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 478 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 479 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 480 HALMAC_8881A_SUPPORT) 481 482 #define REG_LDO_SWR_CTRL 0x007C 483 484 #endif 485 486 #if (HALMAC_8192E_SUPPORT || HALMAC_8881A_SUPPORT) 487 488 #define REG_8051FW_CTRL 0x0080 489 490 #endif 491 492 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 493 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 494 HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 495 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 496 497 #define REG_MCUFW_CTRL 0x0080 498 499 #endif 500 501 #if (HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 502 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 503 HALMAC_8822C_SUPPORT) 504 505 #define REG_SDIO_HRPWM1 0x10250080 506 #define REG_SDIO_HRPWM2 0x10250082 507 508 #endif 509 510 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 511 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 512 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 513 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 514 HALMAC_8881A_SUPPORT) 515 516 #define REG_MCU_TST_CFG 0x0084 517 518 #endif 519 520 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 521 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 522 523 #define REG_SDIO_HPS_CLKR 0x10250084 524 #define REG_SDIO_BUS_CTRL 0x10250085 525 526 #endif 527 528 #if (HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 529 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 530 HALMAC_8822C_SUPPORT) 531 532 #define REG_SDIO_HSUS_CTRL 0x10250086 533 534 #endif 535 536 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 537 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 538 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 539 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 540 HALMAC_8881A_SUPPORT) 541 542 #define REG_HMEBOX_E0_E1 0x0088 543 544 #endif 545 546 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 547 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 548 549 #define REG_SDIO_RESPONSE_TIMER 0x10250088 550 551 #endif 552 553 #if (HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 554 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 555 HALMAC_8822C_SUPPORT) 556 557 #define REG_SDIO_CMD_CRC 0x1025008A 558 559 #endif 560 561 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 562 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 563 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 564 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 565 HALMAC_8881A_SUPPORT) 566 567 #define REG_HMEBOX_E2_E3 0x008C 568 #define REG_WLLPS_CTRL 0x0090 569 570 #endif 571 572 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 573 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 574 575 #define REG_SDIO_HSISR 0x10250090 576 577 #endif 578 579 #if (HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 580 581 #define REG_SDIO_HSIMR 0x10250091 582 583 #endif 584 585 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 586 HALMAC_8198F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 587 HALMAC_8822B_SUPPORT) 588 589 #define REG_AFE_CTRL5 0x0094 590 591 #endif 592 593 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 594 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 595 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 596 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 597 HALMAC_8881A_SUPPORT) 598 599 #define REG_GPIO_DEBOUNCE_CTRL 0x0098 600 #define REG_RPWM2 0x009C 601 #define REG_SYSON_FSM_MON 0x00A0 602 603 #endif 604 605 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 606 HALMAC_8198F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 607 HALMAC_8822B_SUPPORT) 608 609 #define REG_AFE_CTRL6 0x00A4 610 611 #endif 612 613 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 614 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 615 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 616 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 617 HALMAC_8881A_SUPPORT) 618 619 #define REG_PMC_DBG_CTRL1 0x00A8 620 621 #endif 622 623 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 624 HALMAC_8198F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 625 HALMAC_8822B_SUPPORT) 626 627 #define REG_AFE_CTRL7 0x00AC 628 629 #endif 630 631 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 632 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 633 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 634 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 635 HALMAC_8881A_SUPPORT) 636 637 #define REG_HIMR0 0x00B0 638 #define REG_HISR0 0x00B4 639 #define REG_HIMR1 0x00B8 640 #define REG_HISR1 0x00BC 641 #define REG_DBG_PORT_SEL 0x00C0 642 643 #endif 644 645 #if (HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 646 647 #define REG_SDIO_DIOERR_RPT 0x102500C0 648 649 #endif 650 651 #if (HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 652 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT) 653 654 #define REG_SDIO_ERR_RPT 0x102500C0 655 656 #endif 657 658 #if (HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 659 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 660 HALMAC_8822C_SUPPORT) 661 662 #define REG_SDIO_CMD_ERRCNT 0x102500C2 663 #define REG_SDIO_DATA_ERRCNT 0x102500C3 664 665 #endif 666 667 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 668 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 669 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 670 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 671 HALMAC_8881A_SUPPORT) 672 673 #define REG_PAD_CTRL2 0x00C4 674 675 #endif 676 677 #if (HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 678 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 679 HALMAC_8822C_SUPPORT) 680 681 #define REG_SDIO_CMD_ERR_CONTENT 0x102500C4 682 683 #endif 684 685 #if (HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT) 686 687 #define REG_MEM_RMC 0x00C8 688 689 #endif 690 691 #if (HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 692 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 693 HALMAC_8822C_SUPPORT) 694 695 #define REG_SDIO_CRC_ERR_IDX 0x102500C9 696 697 #endif 698 699 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 700 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 701 702 #define REG_SDIO_DATA_CRC 0x102500CA 703 704 #endif 705 706 #if (HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT) 707 708 #define REG_SDIO_DATA_REPLY_TIME 0x102500CB 709 710 #endif 711 712 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 713 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 714 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 715 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 716 HALMAC_8881A_SUPPORT) 717 718 #define REG_PMC_DBG_CTRL2 0x00CC 719 720 #endif 721 722 #if (HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 723 724 #define REG_SDIO_TRANS_FIFO_STATUS 0x102500CC 725 726 #endif 727 728 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 729 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 730 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 731 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 732 733 #define REG_BIST_CTRL 0x00D0 734 #define REG_BIST_RPT 0x00D4 735 736 #endif 737 738 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 739 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 740 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 741 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 742 HALMAC_8881A_SUPPORT) 743 744 #define REG_MEM_CTRL 0x00D8 745 746 #endif 747 748 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 749 HALMAC_8198F_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT) 750 751 #define REG_AFE_CTRL8 0x00DC 752 753 #endif 754 755 #if (HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT) 756 757 #define REG_WLAN_DBG 0x00DC 758 759 #endif 760 761 #if (HALMAC_8814B_SUPPORT) 762 763 #define REG_SYN_RFC_CTRL 0x00DC 764 765 #endif 766 767 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 768 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 769 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 770 HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 771 772 #define REG_USB_SIE_INTF 0x00E0 773 774 #endif 775 776 #if (HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 777 778 #define REG_SYS_PINMUX 0x00E0 779 780 #endif 781 782 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 783 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 784 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 785 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 786 HALMAC_8881A_SUPPORT) 787 788 #define REG_PCIE_MIO_INTF 0x00E4 789 #define REG_PCIE_MIO_INTD 0x00E8 790 791 #endif 792 793 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 794 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 795 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 796 HALMAC_8881A_SUPPORT) 797 798 #define REG_WLRF1 0x00EC 799 800 #endif 801 802 #if (HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT) 803 804 #define REG_HPON_FSM 0x00EC 805 806 #endif 807 808 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 809 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 810 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 811 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 812 HALMAC_8881A_SUPPORT) 813 814 #define REG_SYS_CFG1 0x00F0 815 #define REG_SYS_STATUS1 0x00F4 816 #define REG_SYS_STATUS2 0x00F8 817 #define REG_SYS_CFG2 0x00FC 818 #define REG_CR 0x0100 819 820 #endif 821 822 #if (HALMAC_8192F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 823 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 824 825 #define REG_PG_SIZE 0x0104 826 827 #endif 828 829 #if (HALMAC_8192E_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 830 HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 831 HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 832 833 #define REG_PKT_BUFF_ACCESS_CTRL 0x0106 834 835 #endif 836 837 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 838 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 839 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 840 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 841 HALMAC_8881A_SUPPORT) 842 843 #define REG_TSF_CLK_STATE 0x0108 844 #define REG_TXDMA_PQ_MAP 0x010C 845 846 #endif 847 848 #if (HALMAC_8192E_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 849 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 850 HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 851 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 852 853 #define REG_TRXFF_BNDY 0x0114 854 855 #endif 856 857 #if (HALMAC_8192F_SUPPORT) 858 859 #define REG_RXFF_BNDY_V1 0x0114 860 861 #endif 862 863 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 864 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 865 HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 866 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 867 868 #define REG_PTA_I2C_MBOX 0x0118 869 870 #endif 871 872 #if (HALMAC_8814A_SUPPORT) 873 874 #define REG_FF_STATUS 0x0118 875 876 #endif 877 878 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8814A_SUPPORT || \ 879 HALMAC_8881A_SUPPORT) 880 881 #define REG_RXFF_PTR 0x011C 882 883 #endif 884 885 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 886 HALMAC_8812F_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 887 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 888 889 #define REG_RXFF_BNDY 0x011C 890 891 #endif 892 893 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8881A_SUPPORT) 894 895 #define REG_FEIMR 0x0120 896 897 #endif 898 899 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 900 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 901 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 902 HALMAC_8822C_SUPPORT) 903 904 #define REG_FE1IMR 0x0120 905 906 #endif 907 908 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8881A_SUPPORT) 909 910 #define REG_FEISR 0x0124 911 912 #endif 913 914 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 915 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 916 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 917 HALMAC_8822C_SUPPORT) 918 919 #define REG_FE1ISR 0x0124 920 921 #endif 922 923 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 924 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 925 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 926 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 927 HALMAC_8881A_SUPPORT) 928 929 #define REG_CPWM 0x012C 930 #define REG_FWIMR 0x0130 931 #define REG_FWISR 0x0134 932 #define REG_FTIMR 0x0138 933 #define REG_FTISR 0x013C 934 #define REG_PKTBUF_DBG_CTRL 0x0140 935 #define REG_PKTBUF_DBG_DATA_L 0x0144 936 #define REG_PKTBUF_DBG_DATA_H 0x0148 937 #define REG_CPWM2 0x014C 938 #define REG_TC0_CTRL 0x0150 939 #define REG_TC1_CTRL 0x0154 940 #define REG_TC2_CTRL 0x0158 941 #define REG_TC3_CTRL 0x015C 942 #define REG_TC4_CTRL 0x0160 943 #define REG_TCUNIT_BASE 0x0164 944 #define REG_TC5_CTRL 0x0168 945 #define REG_TC6_CTRL 0x016C 946 947 #endif 948 949 #if (HALMAC_8192E_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 950 HALMAC_8198F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 951 HALMAC_8822B_SUPPORT || HALMAC_8881A_SUPPORT) 952 953 #define REG_MBIST_FAIL 0x0170 954 955 #endif 956 957 #if (HALMAC_8192F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8821C_SUPPORT || \ 958 HALMAC_8822C_SUPPORT) 959 960 #define REG_MBIST_DRF_FAIL 0x0170 961 962 #endif 963 964 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 965 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 966 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 967 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 968 969 #define REG_MBIST_START_PAUSE 0x0174 970 #define REG_MBIST_DONE 0x0178 971 972 #endif 973 974 #if (HALMAC_8192E_SUPPORT || HALMAC_8881A_SUPPORT) 975 976 #define REG_MBIST_ROM_CRC_DATA 0x017C 977 978 #endif 979 980 #if (HALMAC_8192F_SUPPORT) 981 982 #define REG_MBIST_NRML_FAIL 0x017C 983 984 #endif 985 986 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 987 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8822B_SUPPORT) 988 989 #define REG_MBIST_FAIL_NRML 0x017C 990 991 #endif 992 993 #if (HALMAC_8812F_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 994 995 #define REG_MBIST_READ_BIST_RPT 0x017C 996 997 #endif 998 999 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1000 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1001 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 1002 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 1003 HALMAC_8881A_SUPPORT) 1004 1005 #define REG_AES_DECRPT_DATA 0x0180 1006 #define REG_AES_DECRPT_CFG 0x0184 1007 1008 #endif 1009 1010 #if (HALMAC_8192F_SUPPORT) 1011 1012 #define REG_MBIST_READ_BIST_RPT_V1 0x0188 1013 1014 #endif 1015 1016 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8822C_SUPPORT) 1017 1018 #define REG_HIOE_CTRL 0x0188 1019 1020 #endif 1021 1022 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 1023 HALMAC_8198F_SUPPORT) 1024 1025 #define REG_MACCLKFRQ 0x018C 1026 1027 #endif 1028 1029 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8822C_SUPPORT) 1030 1031 #define REG_HIOE_CFG_FILE 0x018C 1032 1033 #endif 1034 1035 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1036 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1037 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 1038 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 1039 HALMAC_8881A_SUPPORT) 1040 1041 #define REG_TMETER 0x0190 1042 #define REG_OSC_32K_CTRL 0x0194 1043 1044 #endif 1045 1046 #if (HALMAC_8192E_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8198F_SUPPORT || \ 1047 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 1048 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 1049 HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 1050 1051 #define REG_32K_CAL_REG1 0x0198 1052 1053 #endif 1054 1055 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT) 1056 1057 #define REG_32K_CAL_REG0 0x0198 1058 1059 #endif 1060 1061 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1062 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1063 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 1064 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 1065 HALMAC_8881A_SUPPORT) 1066 1067 #define REG_C2HEVT 0x01A0 1068 1069 #endif 1070 1071 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || \ 1072 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 1073 HALMAC_8822C_SUPPORT) 1074 1075 #define REG_C2HEVT_1 0x01A4 1076 #define REG_C2HEVT_2 0x01A8 1077 #define REG_C2HEVT_3 0x01AC 1078 1079 #endif 1080 1081 #if (HALMAC_8192F_SUPPORT) 1082 1083 #define REG_MISC_CTRL_V1 0x01B0 1084 1085 #endif 1086 1087 #if (HALMAC_8814A_SUPPORT) 1088 1089 #define REG_TC7_CTRL 0x01B0 1090 1091 #endif 1092 1093 #if (HALMAC_8814B_SUPPORT) 1094 1095 #define REG_RXDESC_BUFF_RPTR 0x01B0 1096 1097 #endif 1098 1099 #if (HALMAC_8814A_SUPPORT) 1100 1101 #define REG_TC8_CTRL 0x01B4 1102 1103 #endif 1104 1105 #if (HALMAC_8814B_SUPPORT) 1106 1107 #define REG_RXDESC_BUFF_WPTR 0x01B4 1108 1109 #endif 1110 1111 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1112 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1113 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 1114 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 1115 HALMAC_8881A_SUPPORT) 1116 1117 #define REG_SW_DEFINED_PAGE1 0x01B8 1118 1119 #endif 1120 1121 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || \ 1122 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 1123 1124 #define REG_SW_DEFINED_PAGE2 0x01BC 1125 1126 #endif 1127 1128 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1129 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1130 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 1131 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 1132 HALMAC_8881A_SUPPORT) 1133 1134 #define REG_MCUTST_I 0x01C0 1135 #define REG_MCUTST_II 0x01C4 1136 #define REG_FMETHR 0x01C8 1137 #define REG_HMETFR 0x01CC 1138 #define REG_HMEBOX0 0x01D0 1139 #define REG_HMEBOX1 0x01D4 1140 #define REG_HMEBOX2 0x01D8 1141 #define REG_HMEBOX3 0x01DC 1142 1143 #endif 1144 1145 #if (HALMAC_8192E_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 1146 HALMAC_8198F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 1147 HALMAC_8822B_SUPPORT || HALMAC_8881A_SUPPORT) 1148 1149 #define REG_LLT_INIT 0x01E0 1150 1151 #endif 1152 1153 #if (HALMAC_8192F_SUPPORT) 1154 1155 #define REG_LLT_IND_ACCESS 0x01E0 1156 1157 #endif 1158 1159 #if (HALMAC_8814B_SUPPORT) 1160 1161 #define REG_RXDESC_BUFF_BNDY 0x01E0 1162 1163 #endif 1164 1165 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8881A_SUPPORT) 1166 1167 #define REG_GENTST 0x01E4 1168 1169 #endif 1170 1171 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 1172 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8822B_SUPPORT) 1173 1174 #define REG_LLT_INIT_ADDR 0x01E4 1175 1176 #endif 1177 1178 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1179 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1180 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 1181 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 1182 HALMAC_8881A_SUPPORT) 1183 1184 #define REG_BB_ACCESS_CTRL 0x01E8 1185 #define REG_BB_ACCESS_DATA 0x01EC 1186 #define REG_HMEBOX_E0 0x01F0 1187 #define REG_HMEBOX_E1 0x01F4 1188 #define REG_HMEBOX_E2 0x01F8 1189 #define REG_HMEBOX_E3 0x01FC 1190 1191 #endif 1192 1193 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8881A_SUPPORT) 1194 1195 #define REG_RQPN_CTRL_HLPQ 0x0200 1196 1197 #endif 1198 1199 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 1200 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 1201 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 1202 1203 #define REG_FIFOPAGE_CTRL_1 0x0200 1204 1205 #endif 1206 1207 #if (HALMAC_8814B_SUPPORT) 1208 1209 #define REG_BCN_CTRL_0 0x0200 1210 1211 #endif 1212 1213 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8881A_SUPPORT) 1214 1215 #define REG_FIFOPAGE_INFO 0x0204 1216 1217 #endif 1218 1219 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 1220 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 1221 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 1222 1223 #define REG_FIFOPAGE_CTRL_2 0x0204 1224 1225 #endif 1226 1227 #if (HALMAC_8814B_SUPPORT) 1228 1229 #define REG_BCN_CTRL_1 0x0204 1230 1231 #endif 1232 1233 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8881A_SUPPORT) 1234 1235 #define REG_DWBCN0_CTRL 0x0208 1236 1237 #endif 1238 1239 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 1240 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 1241 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 1242 HALMAC_8822C_SUPPORT) 1243 1244 #define REG_AUTO_LLT_V1 0x0208 1245 1246 #endif 1247 1248 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1249 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1250 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 1251 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 1252 HALMAC_8881A_SUPPORT) 1253 1254 #define REG_TXDMA_OFFSET_CHK 0x020C 1255 #define REG_TXDMA_STATUS 0x0210 1256 1257 #endif 1258 1259 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8881A_SUPPORT) 1260 1261 #define REG_RQPN_NPQ 0x0214 1262 1263 #endif 1264 1265 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 1266 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 1267 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 1268 HALMAC_8822C_SUPPORT) 1269 1270 #define REG_TX_DMA_DBG 0x0214 1271 1272 #endif 1273 1274 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1275 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1276 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 1277 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 1278 1279 #define REG_TQPNT1 0x0218 1280 1281 #endif 1282 1283 #if (HALMAC_8814B_SUPPORT) 1284 1285 #define REG_DMA_RQPN_INFO_PUB 0x0218 1286 1287 #endif 1288 1289 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1290 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1291 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 1292 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 1293 1294 #define REG_TQPNT2 0x021C 1295 1296 #endif 1297 1298 #if (HALMAC_8814B_SUPPORT) 1299 1300 #define REG_RQPN_CTRL_2_V1 0x021C 1301 1302 #endif 1303 1304 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8881A_SUPPORT) 1305 1306 #define REG_TDE_DEBUG 0x0220 1307 1308 #endif 1309 1310 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 1311 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 1312 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 1313 1314 #define REG_TQPNT3 0x0220 1315 1316 #endif 1317 1318 #if (HALMAC_8814B_SUPPORT) 1319 1320 #define REG_BCN_CTRL_2 0x0220 1321 1322 #endif 1323 1324 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8881A_SUPPORT) 1325 1326 #define REG_AUTO_LLT 0x0224 1327 1328 #endif 1329 1330 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 1331 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 1332 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 1333 1334 #define REG_TQPNT4 0x0224 1335 1336 #endif 1337 1338 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8881A_SUPPORT) 1339 1340 #define REG_DWBCN1_CTRL 0x0228 1341 1342 #endif 1343 1344 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 1345 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 1346 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 1347 1348 #define REG_RQPN_CTRL_1 0x0228 1349 #define REG_RQPN_CTRL_2 0x022C 1350 1351 #endif 1352 1353 #if (HALMAC_8192F_SUPPORT) 1354 1355 #define REG_RQPN_EXQ1_EXQ2 0x0230 1356 1357 #endif 1358 1359 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 1360 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 1361 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 1362 1363 #define REG_FIFOPAGE_INFO_1 0x0230 1364 1365 #endif 1366 1367 #if (HALMAC_8814B_SUPPORT) 1368 1369 #define REG_TXPKTNUM_0 0x0230 1370 1371 #endif 1372 1373 #if (HALMAC_8192F_SUPPORT) 1374 1375 #define REG_TQPNT3_V1 0x0234 1376 1377 #endif 1378 1379 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 1380 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 1381 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 1382 1383 #define REG_FIFOPAGE_INFO_2 0x0234 1384 1385 #endif 1386 1387 #if (HALMAC_8814B_SUPPORT) 1388 1389 #define REG_TXPKTNUM_1 0x0234 1390 1391 #endif 1392 1393 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 1394 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 1395 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 1396 1397 #define REG_FIFOPAGE_INFO_3 0x0238 1398 1399 #endif 1400 1401 #if (HALMAC_8814B_SUPPORT) 1402 1403 #define REG_TXPKTNUM_2 0x0238 1404 1405 #endif 1406 1407 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 1408 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 1409 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 1410 1411 #define REG_FIFOPAGE_INFO_4 0x023C 1412 1413 #endif 1414 1415 #if (HALMAC_8814B_SUPPORT) 1416 1417 #define REG_TXPKTNUM_3 0x023C 1418 1419 #endif 1420 1421 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 1422 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 1423 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 1424 1425 #define REG_FIFOPAGE_INFO_5 0x0240 1426 1427 #endif 1428 1429 #if (HALMAC_8814B_SUPPORT) 1430 1431 #define REG_TX_AGG_ALIGN 0x0240 1432 1433 #endif 1434 1435 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 1436 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 1437 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 1438 HALMAC_8822C_SUPPORT) 1439 1440 #define REG_H2C_HEAD 0x0244 1441 #define REG_H2C_TAIL 0x0248 1442 #define REG_H2C_READ_ADDR 0x024C 1443 #define REG_H2C_WR_ADDR 0x0250 1444 #define REG_H2C_INFO 0x0254 1445 1446 #endif 1447 1448 #if (HALMAC_8197G_SUPPORT) 1449 1450 #define REG_FIFOPAGE_CTRL_5 0x0258 1451 #define REG_FIFOPAGE_CTRL_3 0x025C 1452 1453 #endif 1454 1455 #if (HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 1456 1457 #define REG_TQPNT5 0x0260 1458 1459 #endif 1460 1461 #if (HALMAC_8814B_SUPPORT) 1462 1463 #define REG_DMA_OQT_0 0x0260 1464 1465 #endif 1466 1467 #if (HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 1468 1469 #define REG_TQPNT6 0x0264 1470 1471 #endif 1472 1473 #if (HALMAC_8814B_SUPPORT) 1474 1475 #define REG_DMA_OQT_1 0x0264 1476 1477 #endif 1478 1479 #if (HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 1480 1481 #define REG_FIFOPAGE_INFO_6 0x0268 1482 #define REG_FIFOPAGE_INFO_7 0x026C 1483 1484 #endif 1485 1486 #if (HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 1487 1488 #define REG_PGSUB_CNT 0x026C 1489 1490 #endif 1491 1492 #if (HALMAC_8197G_SUPPORT) 1493 1494 #define REG_FIFOPAGE_CTRL_4 0x0270 1495 1496 #endif 1497 1498 #if (HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 1499 1500 #define REG_PGSUB_H 0x0270 1501 #define REG_PGSUB_N 0x0274 1502 #define REG_PGSUB_L 0x0278 1503 #define REG_PGSUB_E 0x027C 1504 1505 #endif 1506 1507 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1508 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1509 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 1510 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 1511 HALMAC_8881A_SUPPORT) 1512 1513 #define REG_RXDMA_AGG_PG_TH 0x0280 1514 1515 #endif 1516 1517 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1518 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1519 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 1520 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 1521 1522 #define REG_RXPKT_NUM 0x0284 1523 1524 #endif 1525 1526 #if (HALMAC_8814B_SUPPORT) 1527 1528 #define REG_RXDMA_CTRL 0x0284 1529 1530 #endif 1531 1532 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1533 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1534 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 1535 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 1536 HALMAC_8881A_SUPPORT) 1537 1538 #define REG_RXDMA_STATUS 0x0288 1539 #define REG_RXDMA_DPR 0x028C 1540 #define REG_RXDMA_MODE 0x0290 1541 #define REG_C2H_PKT 0x0294 1542 1543 #endif 1544 1545 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 1546 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 1547 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 1548 HALMAC_8822C_SUPPORT) 1549 1550 #define REG_FWFF_C2H 0x0298 1551 #define REG_FWFF_CTRL 0x029C 1552 #define REG_FWFF_PKT_INFO 0x02A0 1553 1554 #endif 1555 1556 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 1557 1558 #define REG_FC2H_INFO 0x02A4 1559 1560 #endif 1561 1562 #if (HALMAC_8814B_SUPPORT) 1563 1564 #define REG_FWFF_PKT_INFO2 0x02A4 1565 1566 #endif 1567 1568 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8822C_SUPPORT) 1569 1570 #define REG_RXPKTNUM 0x02B0 1571 #define REG_RXPKTNUM_TH 0x02B4 1572 1573 #endif 1574 1575 #if (HALMAC_8814B_SUPPORT) 1576 1577 #define REG_FW_UPD_RXDES_RDPTR 0x02B8 1578 1579 #endif 1580 1581 #if (HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 1582 1583 #define REG_FW_MSG1 0x02E0 1584 #define REG_FW_MSG2 0x02E4 1585 #define REG_FW_MSG3 0x02E8 1586 #define REG_FW_MSG4 0x02EC 1587 1588 #endif 1589 1590 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1591 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 1592 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 1593 1594 #define REG_PCIE_CTRL 0x0300 1595 1596 #endif 1597 1598 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 1599 1600 #define REG_HCI_CTRL 0x0300 1601 1602 #endif 1603 1604 #if (HALMAC_8881A_SUPPORT) 1605 1606 #define REG_LX_CTRL1 0x0300 1607 1608 #endif 1609 1610 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1611 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1612 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 1613 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 1614 1615 #define REG_INT_MIG 0x0304 1616 1617 #endif 1618 1619 #if (HALMAC_8814B_SUPPORT) 1620 1621 #define REG_ACH_CTRL 0x0304 1622 1623 #endif 1624 1625 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1626 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1627 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 1628 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 1629 1630 #define REG_BCNQ_TXBD_DESA 0x0308 1631 1632 #endif 1633 1634 #if (HALMAC_8814B_SUPPORT) 1635 1636 #define REG_HIQ_CTRL 0x0308 1637 #define REG_INT_MIG_V1 0x030C 1638 1639 #endif 1640 1641 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1642 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1643 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 1644 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 1645 1646 #define REG_MGQ_TXBD_DESA 0x0310 1647 1648 #endif 1649 1650 #if (HALMAC_8814B_SUPPORT) 1651 1652 #define REG_P0MGQ_TXBD_DESA_L 0x0310 1653 #define REG_P0MGQ_TXBD_DESA_H 0x0314 1654 1655 #endif 1656 1657 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1658 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1659 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 1660 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 1661 1662 #define REG_VOQ_TXBD_DESA 0x0318 1663 1664 #endif 1665 1666 #if (HALMAC_8814B_SUPPORT) 1667 1668 #define REG_ACH0_TXBD_DESA_L 0x0318 1669 #define REG_ACH0_TXBD_DESA_H 0x031C 1670 1671 #endif 1672 1673 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1674 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1675 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 1676 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 1677 1678 #define REG_VIQ_TXBD_DESA 0x0320 1679 1680 #endif 1681 1682 #if (HALMAC_8814B_SUPPORT) 1683 1684 #define REG_ACH1_TXBD_DESA_L 0x0320 1685 #define REG_ACH1_TXBD_DESA_H 0x0324 1686 1687 #endif 1688 1689 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1690 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1691 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 1692 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 1693 1694 #define REG_BEQ_TXBD_DESA 0x0328 1695 1696 #endif 1697 1698 #if (HALMAC_8814B_SUPPORT) 1699 1700 #define REG_ACH2_TXBD_DESA_L 0x0328 1701 #define REG_ACH2_TXBD_DESA_H 0x032C 1702 1703 #endif 1704 1705 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1706 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1707 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 1708 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 1709 1710 #define REG_BKQ_TXBD_DESA 0x0330 1711 1712 #endif 1713 1714 #if (HALMAC_8814B_SUPPORT) 1715 1716 #define REG_ACH3_TXBD_DESA_L 0x0330 1717 #define REG_ACH3_TXBD_DESA_H 0x0334 1718 1719 #endif 1720 1721 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1722 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1723 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 1724 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 1725 1726 #define REG_RXQ_RXBD_DESA 0x0338 1727 1728 #endif 1729 1730 #if (HALMAC_8814B_SUPPORT) 1731 1732 #define REG_P0RXQ_RXBD_DESA_L 0x0338 1733 #define REG_P0RXQ_RXBD_DESA_H 0x033C 1734 1735 #endif 1736 1737 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1738 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1739 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 1740 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 1741 1742 #define REG_HI0Q_TXBD_DESA 0x0340 1743 1744 #endif 1745 1746 #if (HALMAC_8814B_SUPPORT) 1747 1748 #define REG_P0BCNQ_TXBD_DESA_L 0x0340 1749 #define REG_P0BCNQ_TXBD_DESA_H 0x0344 1750 1751 #endif 1752 1753 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1754 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1755 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 1756 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 1757 1758 #define REG_HI1Q_TXBD_DESA 0x0348 1759 1760 #endif 1761 1762 #if (HALMAC_8814B_SUPPORT) 1763 1764 #define REG_FWCMDQ_TXBD_DESA_L 0x0348 1765 #define REG_FWCMDQ_TXBD_DESA_H 0x034C 1766 1767 #endif 1768 1769 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1770 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1771 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 1772 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 1773 1774 #define REG_HI2Q_TXBD_DESA 0x0350 1775 1776 #endif 1777 1778 #if (HALMAC_8814B_SUPPORT) 1779 1780 #define REG_PCIE_HRPWM1_HCPWM1_DCPU 0x0354 1781 1782 #endif 1783 1784 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1785 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1786 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 1787 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 1788 1789 #define REG_HI3Q_TXBD_DESA 0x0358 1790 1791 #endif 1792 1793 #if (HALMAC_8814B_SUPPORT) 1794 1795 #define REG_P0_MPRT_BCNQ_TXBD_DESA_L 0x0358 1796 #define REG_P0_MPRT_BCNQ_TXBD_DESA_H 0x035C 1797 1798 #endif 1799 1800 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1801 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1802 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 1803 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 1804 1805 #define REG_HI4Q_TXBD_DESA 0x0360 1806 #define REG_HI5Q_TXBD_DESA 0x0368 1807 1808 #endif 1809 1810 #if (HALMAC_8814B_SUPPORT) 1811 1812 #define REG_P0_MPRT_BCNQ_TXRXBD_NUM 0x036C 1813 1814 #endif 1815 1816 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1817 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1818 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 1819 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 1820 1821 #define REG_HI6Q_TXBD_DESA 0x0370 1822 1823 #endif 1824 1825 #if (HALMAC_8814B_SUPPORT) 1826 1827 #define REG_BD_RWPTR_CLR2 0x0370 1828 #define REG_BD_RWPTR_CLR3 0x0374 1829 1830 #endif 1831 1832 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1833 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1834 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 1835 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 1836 1837 #define REG_HI7Q_TXBD_DESA 0x0378 1838 1839 #endif 1840 1841 #if (HALMAC_8814B_SUPPORT) 1842 1843 #define REG_P0MGQ_RXQ_TXRXBD_NUM 0x0378 1844 #define REG_CHNL_DMA_CFG 0x037C 1845 1846 #endif 1847 1848 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1849 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1850 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 1851 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 1852 1853 #define REG_MGQ_TXBD_NUM 0x0380 1854 1855 #endif 1856 1857 #if (HALMAC_8814B_SUPPORT) 1858 1859 #define REG_FWCMDQ_TXBD_NUM 0x0380 1860 1861 #endif 1862 1863 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1864 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1865 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 1866 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 1867 1868 #define REG_RX_RXBD_NUM 0x0382 1869 #define REG_VOQ_TXBD_NUM 0x0384 1870 1871 #endif 1872 1873 #if (HALMAC_8814B_SUPPORT) 1874 1875 #define REG_ACH0_ACH1_TXBD_NUM 0x0384 1876 1877 #endif 1878 1879 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1880 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1881 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 1882 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 1883 1884 #define REG_VIQ_TXBD_NUM 0x0386 1885 #define REG_BEQ_TXBD_NUM 0x0388 1886 1887 #endif 1888 1889 #if (HALMAC_8814B_SUPPORT) 1890 1891 #define REG_ACH2_ACH3_TXBD_NUM 0x0388 1892 1893 #endif 1894 1895 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1896 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1897 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 1898 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 1899 1900 #define REG_BKQ_TXBD_NUM 0x038A 1901 #define REG_HI0Q_TXBD_NUM 0x038C 1902 1903 #endif 1904 1905 #if (HALMAC_8814B_SUPPORT) 1906 1907 #define REG_P0HI0Q_HI1Q_TXBD_NUM 0x038C 1908 1909 #endif 1910 1911 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1912 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1913 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 1914 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 1915 1916 #define REG_HI1Q_TXBD_NUM 0x038E 1917 #define REG_HI2Q_TXBD_NUM 0x0390 1918 1919 #endif 1920 1921 #if (HALMAC_8814B_SUPPORT) 1922 1923 #define REG_P0HI2Q_HI3Q_TXBD_NUM 0x0390 1924 1925 #endif 1926 1927 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1928 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1929 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 1930 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 1931 1932 #define REG_HI3Q_TXBD_NUM 0x0392 1933 #define REG_HI4Q_TXBD_NUM 0x0394 1934 1935 #endif 1936 1937 #if (HALMAC_8814B_SUPPORT) 1938 1939 #define REG_P0HI4Q_HI5Q_TXBD_NUM 0x0394 1940 1941 #endif 1942 1943 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1944 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1945 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 1946 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 1947 1948 #define REG_HI5Q_TXBD_NUM 0x0396 1949 #define REG_HI6Q_TXBD_NUM 0x0398 1950 1951 #endif 1952 1953 #if (HALMAC_8814B_SUPPORT) 1954 1955 #define REG_P0HI6Q_HI7Q_TXBD_NUM 0x0398 1956 1957 #endif 1958 1959 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1960 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1961 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 1962 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 1963 1964 #define REG_HI7Q_TXBD_NUM 0x039A 1965 1966 #endif 1967 1968 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1969 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1970 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 1971 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 1972 HALMAC_8881A_SUPPORT) 1973 1974 #define REG_TSFTIMER_HCI 0x039C 1975 1976 #endif 1977 1978 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1979 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1980 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 1981 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 1982 1983 #define REG_BD_RWPTR_CLR 0x039C 1984 1985 #endif 1986 1987 #if (HALMAC_8814B_SUPPORT) 1988 1989 #define REG_BD_RWPTR_CLR1 0x039C 1990 1991 #endif 1992 1993 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 1994 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 1995 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 1996 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 1997 1998 #define REG_VOQ_TXBD_IDX 0x03A0 1999 2000 #endif 2001 2002 #if (HALMAC_8814B_SUPPORT) 2003 2004 #define REG_ACH0_TXBD_IDX 0x03A0 2005 2006 #endif 2007 2008 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 2009 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2010 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 2011 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 2012 2013 #define REG_VIQ_TXBD_IDX 0x03A4 2014 2015 #endif 2016 2017 #if (HALMAC_8814B_SUPPORT) 2018 2019 #define REG_ACH1_TXBD_IDX 0x03A4 2020 2021 #endif 2022 2023 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 2024 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2025 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 2026 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 2027 2028 #define REG_BEQ_TXBD_IDX 0x03A8 2029 2030 #endif 2031 2032 #if (HALMAC_8814B_SUPPORT) 2033 2034 #define REG_ACH2_TXBD_IDX 0x03A8 2035 2036 #endif 2037 2038 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 2039 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2040 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 2041 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 2042 2043 #define REG_BKQ_TXBD_IDX 0x03AC 2044 2045 #endif 2046 2047 #if (HALMAC_8814B_SUPPORT) 2048 2049 #define REG_ACH3_TXBD_IDX 0x03AC 2050 2051 #endif 2052 2053 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 2054 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2055 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 2056 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 2057 2058 #define REG_MGQ_TXBD_IDX 0x03B0 2059 2060 #endif 2061 2062 #if (HALMAC_8814B_SUPPORT) 2063 2064 #define REG_P0MGQ_TXBD_IDX 0x03B0 2065 2066 #endif 2067 2068 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 2069 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2070 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 2071 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 2072 2073 #define REG_RXQ_RXBD_IDX 0x03B4 2074 2075 #endif 2076 2077 #if (HALMAC_8814B_SUPPORT) 2078 2079 #define REG_P0RXQ_RXBD_IDX 0x03B4 2080 2081 #endif 2082 2083 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 2084 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2085 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 2086 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 2087 2088 #define REG_HI0Q_TXBD_IDX 0x03B8 2089 2090 #endif 2091 2092 #if (HALMAC_8814B_SUPPORT) 2093 2094 #define REG_P0HI0Q_TXBD_IDX 0x03B8 2095 2096 #endif 2097 2098 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 2099 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2100 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 2101 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 2102 2103 #define REG_HI1Q_TXBD_IDX 0x03BC 2104 2105 #endif 2106 2107 #if (HALMAC_8814B_SUPPORT) 2108 2109 #define REG_P0HI1Q_TXBD_IDX 0x03BC 2110 2111 #endif 2112 2113 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 2114 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2115 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 2116 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 2117 2118 #define REG_HI2Q_TXBD_IDX 0x03C0 2119 2120 #endif 2121 2122 #if (HALMAC_8814B_SUPPORT) 2123 2124 #define REG_P0HI2Q_TXBD_IDX 0x03C0 2125 2126 #endif 2127 2128 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 2129 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2130 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 2131 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 2132 2133 #define REG_HI3Q_TXBD_IDX 0x03C4 2134 2135 #endif 2136 2137 #if (HALMAC_8814B_SUPPORT) 2138 2139 #define REG_P0HI3Q_TXBD_IDX 0x03C4 2140 2141 #endif 2142 2143 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 2144 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2145 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 2146 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 2147 2148 #define REG_HI4Q_TXBD_IDX 0x03C8 2149 2150 #endif 2151 2152 #if (HALMAC_8814B_SUPPORT) 2153 2154 #define REG_P0HI4Q_TXBD_IDX 0x03C8 2155 2156 #endif 2157 2158 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 2159 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2160 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 2161 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 2162 2163 #define REG_HI5Q_TXBD_IDX 0x03CC 2164 2165 #endif 2166 2167 #if (HALMAC_8814B_SUPPORT) 2168 2169 #define REG_P0HI5Q_TXBD_IDX 0x03CC 2170 2171 #endif 2172 2173 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 2174 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2175 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 2176 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 2177 2178 #define REG_HI6Q_TXBD_IDX 0x03D0 2179 2180 #endif 2181 2182 #if (HALMAC_8814B_SUPPORT) 2183 2184 #define REG_P0HI6Q_TXBD_IDX 0x03D0 2185 2186 #endif 2187 2188 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 2189 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2190 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 2191 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 2192 2193 #define REG_HI7Q_TXBD_IDX 0x03D4 2194 2195 #endif 2196 2197 #if (HALMAC_8814B_SUPPORT) 2198 2199 #define REG_P0HI7Q_TXBD_IDX 0x03D4 2200 2201 #endif 2202 2203 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 2204 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2205 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 2206 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 2207 2208 #define REG_DBG_SEL_V1 0x03D8 2209 2210 #endif 2211 2212 #if (HALMAC_8814B_SUPPORT) 2213 2214 #define REG_DBGSEL_PCIE_HRPWM1_HCPWM1_V1 0x03D8 2215 2216 #endif 2217 2218 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2219 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 2220 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 2221 2222 #define REG_PCIE_HRPWM1_V1 0x03D9 2223 2224 #endif 2225 2226 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 2227 2228 #define REG_HCI_HRPWM1_V1 0x03D9 2229 2230 #endif 2231 2232 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2233 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 2234 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 2235 2236 #define REG_PCIE_HCPWM1_V1 0x03DA 2237 2238 #endif 2239 2240 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 2241 2242 #define REG_HCI_HCPWM1_V1 0x03DA 2243 2244 #endif 2245 2246 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2247 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 2248 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 2249 2250 #define REG_PCIE_CTRL2 0x03DB 2251 2252 #endif 2253 2254 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 2255 2256 #define REG_HCI_CTRL2 0x03DB 2257 2258 #endif 2259 2260 #if (HALMAC_8881A_SUPPORT) 2261 2262 #define REG_LX_CTRL2 0x03DB 2263 2264 #endif 2265 2266 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2267 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 2268 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 2269 2270 #define REG_PCIE_HRPWM2_V1 0x03DC 2271 2272 #endif 2273 2274 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 2275 2276 #define REG_HCI_HRPWM2_V1 0x03DC 2277 2278 #endif 2279 2280 #if (HALMAC_8814B_SUPPORT) 2281 2282 #define REG_PCIE_HRPWM2_HCPWM2_V1 0x03DC 2283 2284 #endif 2285 2286 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2287 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 2288 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 2289 2290 #define REG_PCIE_HCPWM2_V1 0x03DE 2291 2292 #endif 2293 2294 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 2295 2296 #define REG_HCI_HCPWM2_V1 0x03DE 2297 2298 #endif 2299 2300 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2301 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 2302 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 2303 HALMAC_8881A_SUPPORT) 2304 2305 #define REG_PCIE_H2C_MSG_V1 0x03E0 2306 2307 #endif 2308 2309 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 2310 2311 #define REG_HCI_H2C_MSG_V1 0x03E0 2312 2313 #endif 2314 2315 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2316 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 2317 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 2318 HALMAC_8881A_SUPPORT) 2319 2320 #define REG_PCIE_C2H_MSG_V1 0x03E4 2321 2322 #endif 2323 2324 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 2325 2326 #define REG_HCI_C2H_MSG_V1 0x03E4 2327 2328 #endif 2329 2330 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 2331 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2332 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 2333 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 2334 2335 #define REG_DBI_WDATA_V1 0x03E8 2336 2337 #endif 2338 2339 #if (HALMAC_8881A_SUPPORT) 2340 2341 #define REG_LX_DMA_ISR 0x03E8 2342 2343 #endif 2344 2345 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 2346 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2347 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 2348 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 2349 2350 #define REG_DBI_RDATA_V1 0x03EC 2351 2352 #endif 2353 2354 #if (HALMAC_8881A_SUPPORT) 2355 2356 #define REG_LX_DMA_IMR 0x03EC 2357 2358 #endif 2359 2360 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2361 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 2362 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 2363 2364 #define REG_DBI_FLAG_V1 0x03F0 2365 2366 #endif 2367 2368 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 2369 2370 #define REG_STUCK_FLAG_V1 0x03F0 2371 2372 #endif 2373 2374 #if (HALMAC_8881A_SUPPORT) 2375 2376 #define REG_LX_DMA_DBG 0x03F0 2377 2378 #endif 2379 2380 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 2381 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2382 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 2383 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 2384 2385 #define REG_MDIO_V1 0x03F4 2386 2387 #endif 2388 2389 #if (HALMAC_8192E_SUPPORT) 2390 2391 #define REG_MDIO2_V1 0x03F8 2392 2393 #endif 2394 2395 #if (HALMAC_8192F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 2396 HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 2397 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 2398 2399 #define REG_PCIE_MIX_CFG 0x03F8 2400 2401 #endif 2402 2403 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 2404 2405 #define REG_WDT_CFG 0x03F8 2406 2407 #endif 2408 2409 #if (HALMAC_8881A_SUPPORT) 2410 2411 #define REG_BUS_MIX_CFG 0x03F8 2412 2413 #endif 2414 2415 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 2416 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 2417 HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 2418 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 2419 2420 #define REG_HCI_MIX_CFG 0x03FC 2421 2422 #endif 2423 2424 #if (HALMAC_8881A_SUPPORT) 2425 2426 #define REG_BUS_MIX_CFG1 0x03FC 2427 2428 #endif 2429 2430 #if (HALMAC_8192E_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2431 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 2432 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 2433 2434 #define REG_Q0_INFO 0x0400 2435 2436 #endif 2437 2438 #if (HALMAC_8192F_SUPPORT || HALMAC_8814B_SUPPORT) 2439 2440 #define REG_QUEUELIST_INFO0 0x0400 2441 2442 #endif 2443 2444 #if (HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 2445 2446 #define REG_QUEUE_INFO1 0x0400 2447 2448 #endif 2449 2450 #if (HALMAC_8192E_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2451 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 2452 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 2453 2454 #define REG_Q1_INFO 0x0404 2455 2456 #endif 2457 2458 #if (HALMAC_8192F_SUPPORT || HALMAC_8814B_SUPPORT) 2459 2460 #define REG_QUEUELIST_INFO1 0x0404 2461 2462 #endif 2463 2464 #if (HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 2465 2466 #define REG_QUEUE_INFO2 0x0404 2467 2468 #endif 2469 2470 #if (HALMAC_8192E_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2471 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 2472 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 2473 2474 #define REG_Q2_INFO 0x0408 2475 2476 #endif 2477 2478 #if (HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 2479 2480 #define REG_QUEUE_INFO3 0x0408 2481 2482 #endif 2483 2484 #if (HALMAC_8814B_SUPPORT) 2485 2486 #define REG_QUEUELIST_INFO2 0x0408 2487 2488 #endif 2489 2490 #if (HALMAC_8192E_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2491 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 2492 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 2493 2494 #define REG_Q3_INFO 0x040C 2495 2496 #endif 2497 2498 #if (HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 2499 2500 #define REG_QINFO_INDEX 0x040C 2501 2502 #endif 2503 2504 #if (HALMAC_8814B_SUPPORT) 2505 2506 #define REG_QUEUELIST_INFO3 0x040C 2507 2508 #endif 2509 2510 #if (HALMAC_8192E_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2511 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 2512 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 2513 2514 #define REG_MGQ_INFO 0x0410 2515 2516 #endif 2517 2518 #if (HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 2519 2520 #define REG_QUEUE_EMPTY 0x0410 2521 2522 #endif 2523 2524 #if (HALMAC_8814B_SUPPORT) 2525 2526 #define REG_QUEUELIST_INFO_EMPTY 0x0410 2527 2528 #endif 2529 2530 #if (HALMAC_8192E_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2531 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 2532 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 2533 2534 #define REG_HIQ_INFO 0x0414 2535 2536 #endif 2537 2538 #if (HALMAC_8192F_SUPPORT) 2539 2540 #define REG_QUEUELIST_INFO2_V1 0x0414 2541 2542 #endif 2543 2544 #if (HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 2545 2546 #define REG_ACQ_STOP_V1 0x0414 2547 2548 #endif 2549 2550 #if (HALMAC_8814B_SUPPORT) 2551 2552 #define REG_QUEUELIST_ACQ_EN 0x0414 2553 2554 #endif 2555 2556 #if (HALMAC_8192E_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2557 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 2558 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 2559 2560 #define REG_BCNQ_INFO 0x0418 2561 2562 #endif 2563 2564 #if (HALMAC_8192F_SUPPORT) 2565 2566 #define REG_TXPKT_EMPTY_V1 0x0418 2567 2568 #endif 2569 2570 #if (HALMAC_8814B_SUPPORT) 2571 2572 #define REG_BCNQ_BDNY_V2 0x0418 2573 2574 #endif 2575 2576 #if (HALMAC_8192E_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2577 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 2578 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 2579 2580 #define REG_TXPKT_EMPTY 0x041A 2581 2582 #endif 2583 2584 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 2585 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2586 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 2587 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 2588 HALMAC_8881A_SUPPORT) 2589 2590 #define REG_CPU_MGQ_INFO 0x041C 2591 #define REG_FWHW_TXQ_CTRL 0x0420 2592 2593 #endif 2594 2595 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8881A_SUPPORT) 2596 2597 #define REG_HWSEQ_CTRL 0x0423 2598 2599 #endif 2600 2601 #if (HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2602 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 2603 HALMAC_8822C_SUPPORT) 2604 2605 #define REG_DATAFB_SEL 0x0423 2606 2607 #endif 2608 2609 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8881A_SUPPORT) 2610 2611 #define REG_BCNQ_BDNY 0x0424 2612 2613 #endif 2614 2615 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 2616 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 2617 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 2618 2619 #define REG_BCNQ_BDNY_V1 0x0424 2620 2621 #endif 2622 2623 #if (HALMAC_8814B_SUPPORT) 2624 2625 #define REG_TXBDNY 0x0424 2626 2627 #endif 2628 2629 #if (HALMAC_8192E_SUPPORT || HALMAC_8881A_SUPPORT) 2630 2631 #define REG_MGQ_BDNY 0x0425 2632 2633 #endif 2634 2635 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 2636 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2637 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 2638 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 2639 HALMAC_8881A_SUPPORT) 2640 2641 #define REG_LIFETIME_EN 0x0426 2642 2643 #endif 2644 2645 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8881A_SUPPORT) 2646 2647 #define REG_FW_FREE_TAIL 0x0427 2648 2649 #endif 2650 2651 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 2652 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2653 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 2654 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 2655 HALMAC_8881A_SUPPORT) 2656 2657 #define REG_SPEC_SIFS 0x0428 2658 #define REG_RETRY_LIMIT 0x042A 2659 #define REG_TXBF_CTRL 0x042C 2660 #define REG_DARFRC 0x0430 2661 2662 #endif 2663 2664 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || \ 2665 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 2666 2667 #define REG_DARFRCH 0x0434 2668 2669 #endif 2670 2671 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 2672 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2673 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 2674 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 2675 HALMAC_8881A_SUPPORT) 2676 2677 #define REG_RARFRC 0x0438 2678 2679 #endif 2680 2681 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || \ 2682 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 2683 2684 #define REG_RARFRCH 0x043C 2685 2686 #endif 2687 2688 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 2689 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2690 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 2691 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 2692 HALMAC_8881A_SUPPORT) 2693 2694 #define REG_RRSR 0x0440 2695 2696 #endif 2697 2698 #if (HALMAC_8197G_SUPPORT) 2699 2700 #define REG_RRSR_H 0x0443 2701 2702 #endif 2703 2704 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 2705 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2706 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 2707 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 2708 HALMAC_8881A_SUPPORT) 2709 2710 #define REG_ARFR0 0x0444 2711 2712 #endif 2713 2714 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || \ 2715 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 2716 2717 #define REG_ARFRH0 0x0448 2718 2719 #endif 2720 2721 #if (HALMAC_8192E_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 2722 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 2723 HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 2724 HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 2725 2726 #define REG_ARFR1_V1 0x044C 2727 2728 #endif 2729 2730 #if (HALMAC_8192F_SUPPORT) 2731 2732 #define REG_ARFR1 0x044C 2733 2734 #endif 2735 2736 #if (HALMAC_8814B_SUPPORT) 2737 2738 #define REG_REG_ARFR_WT0 0x044C 2739 2740 #endif 2741 2742 #if (HALMAC_8192F_SUPPORT) 2743 2744 #define REG_ARFRH1 0x0450 2745 2746 #endif 2747 2748 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8821C_SUPPORT || \ 2749 HALMAC_8822C_SUPPORT) 2750 2751 #define REG_ARFRH1_V1 0x0450 2752 2753 #endif 2754 2755 #if (HALMAC_8814B_SUPPORT) 2756 2757 #define REG_REG_ARFR_WT1 0x0450 2758 2759 #endif 2760 2761 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 2762 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2763 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 2764 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 2765 HALMAC_8881A_SUPPORT) 2766 2767 #define REG_CCK_CHECK 0x0454 2768 2769 #endif 2770 2771 #if (HALMAC_8192E_SUPPORT || HALMAC_8881A_SUPPORT) 2772 2773 #define REG_AMPDU_BURST_CTRL 0x0455 2774 2775 #endif 2776 2777 #if (HALMAC_8192F_SUPPORT) 2778 2779 #define REG_BCNQ2_HEAD 0x0455 2780 2781 #endif 2782 2783 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 2784 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 2785 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 2786 HALMAC_8822C_SUPPORT) 2787 2788 #define REG_AMPDU_MAX_TIME_V1 0x0455 2789 2790 #endif 2791 2792 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8881A_SUPPORT) 2793 2794 #define REG_AMPDU_MAX_TIME 0x0456 2795 2796 #endif 2797 2798 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 2799 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 2800 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 2801 2802 #define REG_BCNQ1_BDNY_V1 0x0456 2803 2804 #endif 2805 2806 #if (HALMAC_8814B_SUPPORT) 2807 2808 #define REG_TAB_SEL 0x0456 2809 2810 #endif 2811 2812 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8881A_SUPPORT) 2813 2814 #define REG_BCNQ1_BDNY 0x0457 2815 2816 #endif 2817 2818 #if (HALMAC_8814B_SUPPORT) 2819 2820 #define REG_BCN_INVALID_CTRL 0x0457 2821 2822 #endif 2823 2824 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 2825 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8814A_SUPPORT || \ 2826 HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 2827 HALMAC_8881A_SUPPORT) 2828 2829 #define REG_AMPDU_MAX_LENGTH 0x0458 2830 2831 #endif 2832 2833 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8822C_SUPPORT) 2834 2835 #define REG_AMPDU_MAX_LENGTH_HT 0x0458 2836 2837 #endif 2838 2839 #if (HALMAC_8192E_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2840 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 2841 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 2842 2843 #define REG_ACQ_STOP 0x045C 2844 2845 #endif 2846 2847 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8881A_SUPPORT) 2848 2849 #define REG_WMAC_LBK_BUF_HD 0x045D 2850 2851 #endif 2852 2853 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 2854 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 2855 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 2856 HALMAC_8822C_SUPPORT) 2857 2858 #define REG_NDPA_RATE 0x045D 2859 2860 #endif 2861 2862 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 2863 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2864 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 2865 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 2866 HALMAC_8881A_SUPPORT) 2867 2868 #define REG_TX_HANG_CTRL 0x045E 2869 #define REG_NDPA_OPT_CTRL 0x045F 2870 2871 #endif 2872 2873 #if (HALMAC_8192E_SUPPORT || HALMAC_8881A_SUPPORT) 2874 2875 #define REG_FAST_EDCA_CTRL 0x0460 2876 2877 #endif 2878 2879 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8822C_SUPPORT) 2880 2881 #define REG_AMPDU_MAX_LENGTH_VHT 0x0460 2882 2883 #endif 2884 2885 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 2886 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2887 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 2888 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 2889 HALMAC_8881A_SUPPORT) 2890 2891 #define REG_RD_RESP_PKT_TH 0x0463 2892 2893 #endif 2894 2895 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 2896 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 2897 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 2898 HALMAC_8881A_SUPPORT) 2899 2900 #define REG_CMDQ_INFO 0x0464 2901 2902 #endif 2903 2904 #if (HALMAC_8814B_SUPPORT) 2905 2906 #define REG_NEW_EDCA_CTRL_V1 0x0464 2907 2908 #endif 2909 2910 #if (HALMAC_8192E_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2911 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 2912 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 2913 2914 #define REG_Q4_INFO 0x0468 2915 2916 #endif 2917 2918 #if (HALMAC_8814B_SUPPORT) 2919 2920 #define REG_ACQ_STOP_V2 0x0468 2921 2922 #endif 2923 2924 #if (HALMAC_8192E_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2925 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 2926 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 2927 2928 #define REG_Q5_INFO 0x046C 2929 #define REG_Q6_INFO 0x0470 2930 #define REG_Q7_INFO 0x0474 2931 2932 #endif 2933 2934 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 2935 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 2936 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 2937 HALMAC_8822C_SUPPORT) 2938 2939 #define REG_WMAC_LBK_BUF_HD_V1 0x0478 2940 #define REG_MGQ_BDNY_V1 0x047A 2941 2942 #endif 2943 2944 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 2945 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2946 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 2947 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 2948 HALMAC_8881A_SUPPORT) 2949 2950 #define REG_TXRPT_CTRL 0x047C 2951 #define REG_INIRTS_RATE_SEL 0x0480 2952 #define REG_BASIC_CFEND_RATE 0x0481 2953 #define REG_STBC_CFEND_RATE 0x0482 2954 #define REG_DATA_SC 0x0483 2955 2956 #endif 2957 2958 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 2959 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2960 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 2961 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 2962 2963 #define REG_MACID_SLEEP3 0x0484 2964 2965 #endif 2966 2967 #if (HALMAC_8814B_SUPPORT) 2968 2969 #define REG_MOREDATA_V1 0x0484 2970 2971 #endif 2972 2973 #if (HALMAC_8192F_SUPPORT) 2974 2975 #define REG_MACID_SLEEP4 0x0485 2976 #define REG_MACID_SLEEP5 0x0487 2977 2978 #endif 2979 2980 #if (HALMAC_8814B_SUPPORT) 2981 2982 #define REG_DATA_SC1 0x0487 2983 2984 #endif 2985 2986 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 2987 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 2988 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 2989 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 2990 2991 #define REG_MACID_SLEEP1 0x0488 2992 2993 #endif 2994 2995 #if (HALMAC_8192E_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 2996 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 2997 HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 2998 HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 2999 3000 #define REG_ARFR2_V1 0x048C 3001 3002 #endif 3003 3004 #if (HALMAC_8192F_SUPPORT) 3005 3006 #define REG_ARFR2 0x048C 3007 #define REG_ARFRH2 0x0490 3008 3009 #endif 3010 3011 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8821C_SUPPORT || \ 3012 HALMAC_8822C_SUPPORT) 3013 3014 #define REG_ARFRH2_V1 0x0490 3015 3016 #endif 3017 3018 #if (HALMAC_8192E_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 3019 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 3020 HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 3021 HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 3022 3023 #define REG_ARFR3_V1 0x0494 3024 3025 #endif 3026 3027 #if (HALMAC_8192F_SUPPORT) 3028 3029 #define REG_ARFR3 0x0494 3030 #define REG_ARFRH3 0x0498 3031 3032 #endif 3033 3034 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8821C_SUPPORT || \ 3035 HALMAC_8822C_SUPPORT) 3036 3037 #define REG_ARFRH3_V1 0x0498 3038 3039 #endif 3040 3041 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 3042 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 3043 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 3044 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 3045 3046 #define REG_ARFR4 0x049C 3047 3048 #endif 3049 3050 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || \ 3051 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 3052 3053 #define REG_ARFRH4 0x04A0 3054 3055 #endif 3056 3057 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 3058 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 3059 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 3060 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 3061 3062 #define REG_ARFR5 0x04A4 3063 3064 #endif 3065 3066 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || \ 3067 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 3068 3069 #define REG_ARFRH5 0x04A8 3070 3071 #endif 3072 3073 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 3074 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 3075 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 3076 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 3077 HALMAC_8881A_SUPPORT) 3078 3079 #define REG_TXRPT_START_OFFSET 0x04AC 3080 3081 #endif 3082 3083 #if (HALMAC_8192E_SUPPORT || HALMAC_8881A_SUPPORT) 3084 3085 #define REG_TRYING_CNT_TH 0x04B0 3086 3087 #endif 3088 3089 #if (HALMAC_8192F_SUPPORT) 3090 3091 #define REG_TRY_CNT_IDX 0x04B0 3092 3093 #endif 3094 3095 #if (HALMAC_8812F_SUPPORT) 3096 3097 #define REG_RRSR_CTS 0x04B0 3098 3099 #endif 3100 3101 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 3102 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 3103 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 3104 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 3105 HALMAC_8881A_SUPPORT) 3106 3107 #define REG_POWER_STAGE1 0x04B4 3108 3109 #endif 3110 3111 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 3112 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 3113 HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 3114 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 3115 3116 #define REG_POWER_STAGE2 0x04B8 3117 3118 #endif 3119 3120 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 3121 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 3122 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 3123 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 3124 HALMAC_8881A_SUPPORT) 3125 3126 #define REG_SW_AMPDU_BURST_MODE_CTRL 0x04BC 3127 #define REG_PKT_LIFE_TIME 0x04C0 3128 #define REG_STBC_SETTING 0x04C4 3129 #define REG_STBC_SETTING2 0x04C5 3130 #define REG_QUEUE_CTRL 0x04C6 3131 #define REG_SINGLE_AMPDU_CTRL 0x04C7 3132 #define REG_PROT_MODE_CTRL 0x04C8 3133 #define REG_BAR_MODE_CTRL 0x04CC 3134 #define REG_RA_TRY_RATE_AGG_LMT 0x04CF 3135 3136 #endif 3137 3138 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 3139 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 3140 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 3141 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 3142 3143 #define REG_MACID_SLEEP2 0x04D0 3144 3145 #endif 3146 3147 #if (HALMAC_8814B_SUPPORT) 3148 3149 #define REG_MACID_SLEEP_CTRL 0x04D0 3150 3151 #endif 3152 3153 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 3154 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 3155 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 3156 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 3157 3158 #define REG_MACID_SLEEP 0x04D4 3159 3160 #endif 3161 3162 #if (HALMAC_8814B_SUPPORT) 3163 3164 #define REG_MACID_SLEEP_INFO 0x04D4 3165 3166 #endif 3167 3168 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 3169 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 3170 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 3171 HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 3172 3173 #define REG_HW_SEQ0 0x04D8 3174 #define REG_HW_SEQ1 0x04DA 3175 #define REG_HW_SEQ2 0x04DC 3176 #define REG_HW_SEQ3 0x04DE 3177 3178 #endif 3179 3180 #if (HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT) 3181 3182 #define REG_CSI_SEQ 0x04DE 3183 3184 #endif 3185 3186 #if (HALMAC_8192E_SUPPORT || HALMAC_8881A_SUPPORT) 3187 3188 #define REG_NULL_PKT_STATUS 0x04E0 3189 3190 #endif 3191 3192 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 3193 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 3194 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 3195 3196 #define REG_NULL_PKT_STATUS_V1 0x04E0 3197 3198 #endif 3199 3200 #if (HALMAC_8192E_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 3201 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 3202 HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 3203 HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 3204 3205 #define REG_PTCL_ERR_STATUS 0x04E2 3206 3207 #endif 3208 3209 #if (HALMAC_8192F_SUPPORT || HALMAC_8814B_SUPPORT) 3210 3211 #define REG_PTCL_ERR_STATUS_V1 0x04E2 3212 3213 #endif 3214 3215 #if (HALMAC_8192E_SUPPORT || HALMAC_8881A_SUPPORT) 3216 3217 #define REG_PTCL_PKT_NUM 0x04E3 3218 3219 #endif 3220 3221 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 3222 HALMAC_8812F_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 3223 HALMAC_8822C_SUPPORT) 3224 3225 #define REG_NULL_PKT_STATUS_EXTEND 0x04E3 3226 3227 #endif 3228 3229 #if (HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT) 3230 3231 #define REG_TRXRPT_MISS_CNT 0x04E3 3232 3233 #endif 3234 3235 #if (HALMAC_8192F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 3236 3237 #define REG_HQMGQ_DROP 0x04E4 3238 3239 #endif 3240 3241 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 3242 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 3243 HALMAC_8822B_SUPPORT) 3244 3245 #define REG_VIDEO_ENHANCEMENT_FUN 0x04E4 3246 3247 #endif 3248 3249 #if (HALMAC_8814B_SUPPORT) 3250 3251 #define REG_NULL_PKT_STATUS_V2 0x04E4 3252 3253 #endif 3254 3255 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 3256 HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 3257 HALMAC_8822C_SUPPORT) 3258 3259 #define REG_PRECNT_CTRL 0x04E5 3260 3261 #endif 3262 3263 #if (HALMAC_8814B_SUPPORT) 3264 3265 #define REG_NULL_PKT_STATUS_EXTEND_V1 0x04E7 3266 3267 #endif 3268 3269 #if (HALMAC_8192F_SUPPORT) 3270 3271 #define REG_BT_POLLUTE_PKTCNT_V1 0x04E8 3272 3273 #endif 3274 3275 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 3276 HALMAC_8812F_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 3277 HALMAC_8822C_SUPPORT) 3278 3279 #define REG_BT_POLLUTE_PKT_CNT 0x04E8 3280 3281 #endif 3282 3283 #if (HALMAC_8192F_SUPPORT) 3284 3285 #define REG_DROP_PKT_NUM 0x04EC 3286 3287 #endif 3288 3289 #if (HALMAC_8197F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8821C_SUPPORT || \ 3290 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 3291 3292 #define REG_PTCL_DBG 0x04EC 3293 3294 #endif 3295 3296 #if (HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 3297 3298 #define REG_DROP_NUM 0x04EC 3299 3300 #endif 3301 3302 #if (HALMAC_8814B_SUPPORT) 3303 3304 #define REG_PTCL_DBG_V1 0x04EC 3305 3306 #endif 3307 3308 #if (HALMAC_8192E_SUPPORT || HALMAC_8881A_SUPPORT) 3309 3310 #define REG_PTCL_TX_RPT 0x04F0 3311 3312 #endif 3313 3314 #if (HALMAC_8192F_SUPPORT) 3315 3316 #define REG_TX_RPT_INFO_L32 0x04F0 3317 3318 #endif 3319 3320 #if (HALMAC_8197F_SUPPORT || HALMAC_8198F_SUPPORT) 3321 3322 #define REG_TXOP_EXTRA_CTRL 0x04F0 3323 3324 #endif 3325 3326 #if (HALMAC_8814B_SUPPORT) 3327 3328 #define REG_BT_POLLUTE_PKTCNT 0x04F0 3329 3330 #endif 3331 3332 #if (HALMAC_8192F_SUPPORT) 3333 3334 #define REG_TX_RPT_INFO_H32 0x04F4 3335 3336 #endif 3337 3338 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 3339 HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 3340 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 3341 3342 #define REG_CPUMGQ_TIMER_CTRL2 0x04F4 3343 3344 #endif 3345 3346 #if (HALMAC_8814B_SUPPORT) 3347 3348 #define REG_PTCL_DBG_OUT 0x04F8 3349 3350 #endif 3351 3352 #if (HALMAC_8192E_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8198F_SUPPORT || \ 3353 HALMAC_8881A_SUPPORT) 3354 3355 #define REG_DUMMY_PAGE4 0x04FC 3356 3357 #endif 3358 3359 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || \ 3360 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 3361 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 3362 3363 #define REG_DUMMY_PAGE4_V1 0x04FC 3364 3365 #endif 3366 3367 #if (HALMAC_8192F_SUPPORT || HALMAC_8814B_SUPPORT) 3368 3369 #define REG_DUMMY_PAGE4_1 0x04FE 3370 3371 #endif 3372 3373 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 3374 HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 3375 HALMAC_8822C_SUPPORT) 3376 3377 #define REG_MOREDATA 0x04FE 3378 3379 #endif 3380 3381 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 3382 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 3383 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 3384 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 3385 HALMAC_8881A_SUPPORT) 3386 3387 #define REG_EDCA_VO_PARAM 0x0500 3388 #define REG_EDCA_VI_PARAM 0x0504 3389 #define REG_EDCA_BE_PARAM 0x0508 3390 #define REG_EDCA_BK_PARAM 0x050C 3391 #define REG_BCNTCFG 0x0510 3392 #define REG_PIFS 0x0512 3393 #define REG_RDG_PIFS 0x0513 3394 #define REG_SIFS 0x0514 3395 3396 #endif 3397 3398 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 3399 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 3400 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 3401 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 3402 3403 #define REG_TSFTR_SYN_OFFSET 0x0518 3404 3405 #endif 3406 3407 #if (HALMAC_8814B_SUPPORT) 3408 3409 #define REG_FORCE_BCN_IFS_V1 0x0518 3410 3411 #endif 3412 3413 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 3414 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 3415 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 3416 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 3417 HALMAC_8881A_SUPPORT) 3418 3419 #define REG_AGGR_BREAK_TIME 0x051A 3420 #define REG_SLOT 0x051B 3421 3422 #endif 3423 3424 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || \ 3425 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 3426 3427 #define REG_NOA_ON_ERLY_TIME 0x051C 3428 3429 #endif 3430 3431 #if (HALMAC_8814B_SUPPORT) 3432 3433 #define REG_EDCA_CPUMGQ_PARAM 0x051C 3434 3435 #endif 3436 3437 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || \ 3438 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 3439 3440 #define REG_NOA_OFF_ERLY_TIME 0x051D 3441 3442 #endif 3443 3444 #if (HALMAC_8814B_SUPPORT) 3445 3446 #define REG_CPUMGQ_PAUSE 0x051E 3447 3448 #endif 3449 3450 #if (HALMAC_8192F_SUPPORT) 3451 3452 #define REG_PS_TIMER_CTRL 0x051F 3453 3454 #endif 3455 3456 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 3457 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 3458 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 3459 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 3460 HALMAC_8881A_SUPPORT) 3461 3462 #define REG_TX_PTCL_CTRL 0x0520 3463 #define REG_TXPAUSE 0x0522 3464 #define REG_DIS_TXREQ_CLR 0x0523 3465 #define REG_RD_CTRL 0x0524 3466 3467 #endif 3468 3469 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 3470 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 3471 HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 3472 HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 3473 3474 #define REG_MBSSID_CTRL 0x0526 3475 3476 #endif 3477 3478 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 3479 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 3480 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 3481 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 3482 3483 #define REG_P2PPS_CTRL 0x0527 3484 3485 #endif 3486 3487 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 3488 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 3489 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 3490 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 3491 HALMAC_8881A_SUPPORT) 3492 3493 #define REG_PKT_LIFETIME_CTRL 0x0528 3494 3495 #endif 3496 3497 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 3498 HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 3499 HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 3500 HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 3501 3502 #define REG_P2PPS_SPEC_STATE 0x052B 3503 3504 #endif 3505 3506 #if (HALMAC_8198F_SUPPORT) 3507 3508 #define REG_P2PPS0_SPEC_STATE 0x052B 3509 3510 #endif 3511 3512 #if (HALMAC_8192F_SUPPORT) 3513 3514 #define REG_PS_TIMER_A_V2 0x052C 3515 3516 #endif 3517 3518 #if (HALMAC_8197G_SUPPORT) 3519 3520 #define REG_TBTT_AREA_BLK_4AC 0x052C 3521 3522 #endif 3523 3524 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8822B_SUPPORT || \ 3525 HALMAC_8822C_SUPPORT) 3526 3527 #define REG_TXOP_LIMIT_CTRL 0x052C 3528 3529 #endif 3530 3531 #if (HALMAC_8812F_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 3532 HALMAC_8822C_SUPPORT) 3533 3534 #define REG_BAR_TX_CTRL 0x0530 3535 3536 #endif 3537 3538 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || \ 3539 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 3540 3541 #define REG_P2PON_DIS_TXTIME 0x0531 3542 3543 #endif 3544 3545 #if (HALMAC_8192F_SUPPORT) 3546 3547 #define REG_PS_TIMER_B_V2 0x0534 3548 3549 #endif 3550 3551 #if (HALMAC_8197G_SUPPORT) 3552 3553 #define REG_EDCA_REF_CTRL 0x0534 3554 3555 #endif 3556 3557 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8822C_SUPPORT) 3558 3559 #define REG_CCA_TXEN_CNT 0x0534 3560 3561 #endif 3562 3563 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 3564 HALMAC_8822B_SUPPORT) 3565 3566 #define REG_QUEUE_INCOL_THR 0x0538 3567 3568 #endif 3569 3570 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8822C_SUPPORT) 3571 3572 #define REG_MAX_INTER_COLLISION 0x0538 3573 3574 #endif 3575 3576 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 3577 HALMAC_8822B_SUPPORT) 3578 3579 #define REG_QUEUE_INCOL_EN 0x053C 3580 3581 #endif 3582 3583 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8822C_SUPPORT) 3584 3585 #define REG_MAX_INTER_COLLISION_CNT 0x053C 3586 3587 #endif 3588 3589 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 3590 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 3591 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 3592 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 3593 3594 #define REG_TBTT_PROHIBIT 0x0540 3595 #define REG_P2PPS_STATE 0x0543 3596 3597 #endif 3598 3599 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 3600 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 3601 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 3602 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 3603 HALMAC_8881A_SUPPORT) 3604 3605 #define REG_RD_NAV_NXT 0x0544 3606 #define REG_NAV_PROT_LEN 0x0546 3607 3608 #endif 3609 3610 #if (HALMAC_8192F_SUPPORT) 3611 3612 #define REG_FTM_SETTING 0x0548 3613 3614 #endif 3615 3616 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 3617 3618 #define REG_FTM_CTRL 0x0548 3619 3620 #endif 3621 3622 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8822C_SUPPORT) 3623 3624 #define REG_FTM_PTT 0x0548 3625 3626 #endif 3627 3628 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 3629 HALMAC_8198F_SUPPORT) 3630 3631 #define REG_FTM_TSF_CNT 0x054C 3632 3633 #endif 3634 3635 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8822C_SUPPORT) 3636 3637 #define REG_FTM_TSF 0x054C 3638 3639 #endif 3640 3641 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 3642 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 3643 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 3644 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 3645 3646 #define REG_BCN_CTRL 0x0550 3647 3648 #endif 3649 3650 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8881A_SUPPORT) 3651 3652 #define REG_BCN_CTRL1 0x0551 3653 3654 #endif 3655 3656 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 3657 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 3658 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 3659 3660 #define REG_BCN_CTRL_CLINT0 0x0551 3661 3662 #endif 3663 3664 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 3665 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 3666 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 3667 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 3668 3669 #define REG_MBID_NUM 0x0552 3670 #define REG_DUAL_TSF_RST 0x0553 3671 #define REG_MBSSID_BCN_SPACE 0x0554 3672 #define REG_DRVERLYINT 0x0558 3673 #define REG_BCNDMATIM 0x0559 3674 3675 #endif 3676 3677 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 3678 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 3679 HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 3680 HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 3681 3682 #define REG_ATIMWND 0x055A 3683 3684 #endif 3685 3686 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 3687 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 3688 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 3689 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 3690 3691 #define REG_USTIME_TSF 0x055C 3692 #define REG_BCN_MAX_ERR 0x055D 3693 #define REG_RXTSF_OFFSET_CCK 0x055E 3694 #define REG_RXTSF_OFFSET_OFDM 0x055F 3695 3696 #endif 3697 3698 #if (HALMAC_8192E_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 3699 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 3700 HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 3701 HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 3702 3703 #define REG_TSFTR 0x0560 3704 3705 #endif 3706 3707 #if (HALMAC_8192F_SUPPORT) 3708 3709 #define REG_TSFTR0_L 0x0560 3710 #define REG_TSFTR0_H 0x0564 3711 3712 #endif 3713 3714 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8821C_SUPPORT || \ 3715 HALMAC_8822C_SUPPORT) 3716 3717 #define REG_TSFTR_1 0x0564 3718 3719 #endif 3720 3721 #if (HALMAC_8192E_SUPPORT || HALMAC_8881A_SUPPORT) 3722 3723 #define REG_TSFTR1 0x0568 3724 3725 #endif 3726 3727 #if (HALMAC_8192F_SUPPORT) 3728 3729 #define REG_TSFTR1_L 0x0568 3730 3731 #endif 3732 3733 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 3734 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 3735 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 3736 3737 #define REG_FREERUN_CNT 0x0568 3738 3739 #endif 3740 3741 #if (HALMAC_8192F_SUPPORT) 3742 3743 #define REG_TSFTR1_H 0x056C 3744 3745 #endif 3746 3747 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8821C_SUPPORT || \ 3748 HALMAC_8822C_SUPPORT) 3749 3750 #define REG_FREERUN_CNT_1 0x056C 3751 3752 #endif 3753 3754 #if (HALMAC_8192E_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8198F_SUPPORT || \ 3755 HALMAC_8881A_SUPPORT) 3756 3757 #define REG_ATIMWND1 0x0570 3758 3759 #endif 3760 3761 #if (HALMAC_8192F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 3762 HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 3763 HALMAC_8822C_SUPPORT) 3764 3765 #define REG_ATIMWND1_V1 0x0570 3766 3767 #endif 3768 3769 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 3770 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 3771 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 3772 3773 #define REG_TBTT_PROHIBIT_INFRA 0x0571 3774 3775 #endif 3776 3777 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 3778 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 3779 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 3780 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 3781 3782 #define REG_CTWND 0x0572 3783 #define REG_BCNIVLCUNT 0x0573 3784 #define REG_BCNDROPCTRL 0x0574 3785 3786 #endif 3787 3788 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 3789 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 3790 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 3791 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 3792 HALMAC_8881A_SUPPORT) 3793 3794 #define REG_HGQ_TIMEOUT_PERIOD 0x0575 3795 3796 #endif 3797 3798 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 3799 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 3800 HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 3801 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 3802 3803 #define REG_TXCMD_TIMEOUT_PERIOD 0x0576 3804 #define REG_MISC_CTRL 0x0577 3805 3806 #endif 3807 3808 #if (HALMAC_8192F_SUPPORT) 3809 3810 #define REG_TSFTR2_L 0x0578 3811 3812 #endif 3813 3814 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 3815 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 3816 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 3817 3818 #define REG_BCN_CTRL_CLINT1 0x0578 3819 #define REG_BCN_CTRL_CLINT2 0x0579 3820 #define REG_BCN_CTRL_CLINT3 0x057A 3821 3822 #endif 3823 3824 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 3825 HALMAC_8812F_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 3826 HALMAC_8822C_SUPPORT) 3827 3828 #define REG_EXTEND_CTRL 0x057B 3829 3830 #endif 3831 3832 #if (HALMAC_8192F_SUPPORT) 3833 3834 #define REG_TSFTR2_H 0x057C 3835 3836 #endif 3837 3838 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 3839 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 3840 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 3841 3842 #define REG_P2PPS1_SPEC_STATE 0x057C 3843 #define REG_P2PPS1_STATE 0x057D 3844 #define REG_P2PPS2_SPEC_STATE 0x057E 3845 #define REG_P2PPS2_STATE 0x057F 3846 3847 #endif 3848 3849 #if (HALMAC_8192E_SUPPORT || HALMAC_8881A_SUPPORT) 3850 3851 #define REG_PS_TIMER 0x0580 3852 3853 #endif 3854 3855 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 3856 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 3857 HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 3858 HALMAC_8822C_SUPPORT) 3859 3860 #define REG_PS_TIMER0 0x0580 3861 3862 #endif 3863 3864 #if (HALMAC_8192E_SUPPORT || HALMAC_8881A_SUPPORT) 3865 3866 #define REG_TIMER0 0x0584 3867 3868 #endif 3869 3870 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 3871 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 3872 HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 3873 HALMAC_8822C_SUPPORT) 3874 3875 #define REG_PS_TIMER1 0x0584 3876 3877 #endif 3878 3879 #if (HALMAC_8192E_SUPPORT || HALMAC_8881A_SUPPORT) 3880 3881 #define REG_TIMER1 0x0588 3882 3883 #endif 3884 3885 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 3886 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 3887 HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 3888 HALMAC_8822C_SUPPORT) 3889 3890 #define REG_PS_TIMER2 0x0588 3891 3892 #endif 3893 3894 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 3895 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 3896 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 3897 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 3898 3899 #define REG_TBTT_CTN_AREA 0x058C 3900 #define REG_FORCE_BCN_IFS 0x058E 3901 3902 #endif 3903 3904 #if (HALMAC_8192F_SUPPORT) 3905 3906 #define REG_DRVERLYINT_V1 0x058F 3907 3908 #endif 3909 3910 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 3911 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 3912 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 3913 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 3914 HALMAC_8881A_SUPPORT) 3915 3916 #define REG_TXOP_MIN 0x0590 3917 #define REG_PRE_BKF_TIME 0x0592 3918 #define REG_CROSS_TXOP_CTRL 0x0593 3919 3920 #endif 3921 3922 #if (HALMAC_8192F_SUPPORT) 3923 3924 #define REG_FREERUN_CNT_L 0x0594 3925 3926 #endif 3927 3928 #if (HALMAC_8197F_SUPPORT || HALMAC_8198F_SUPPORT) 3929 3930 #define REG_TBTT_INT_SHIFT_CLI0 0x0594 3931 3932 #endif 3933 3934 #if (HALMAC_8197G_SUPPORT) 3935 3936 #define REG_TBTT_INT_SHIFT_CLI 0x0594 3937 3938 #endif 3939 3940 #if (HALMAC_8197F_SUPPORT || HALMAC_8198F_SUPPORT) 3941 3942 #define REG_TBTT_INT_SHIFT_CLI1 0x0595 3943 #define REG_TBTT_INT_SHIFT_CLI2 0x0596 3944 #define REG_TBTT_INT_SHIFT_CLI3 0x0597 3945 3946 #endif 3947 3948 #if (HALMAC_8192F_SUPPORT) 3949 3950 #define REG_FREERUN_CNT_H 0x0598 3951 3952 #endif 3953 3954 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 3955 3956 #define REG_TBTT_INT_SHIFT_ENABLE 0x0598 3957 3958 #endif 3959 3960 #if (HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 3961 3962 #define REG_RX_TBTT_SHIFT_V1 0x0598 3963 3964 #endif 3965 3966 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 3967 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 3968 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 3969 HALMAC_8881A_SUPPORT) 3970 3971 #define REG_ATIMWND2 0x05A0 3972 3973 #endif 3974 3975 #if (HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 3976 3977 #define REG_ATIMWND_GROUP1 0x05A0 3978 3979 #endif 3980 3981 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 3982 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 3983 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 3984 HALMAC_8881A_SUPPORT) 3985 3986 #define REG_ATIMWND3 0x05A1 3987 3988 #endif 3989 3990 #if (HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 3991 3992 #define REG_ATIMWND_GROUP2 0x05A1 3993 3994 #endif 3995 3996 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 3997 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 3998 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 3999 HALMAC_8881A_SUPPORT) 4000 4001 #define REG_ATIMWND4 0x05A2 4002 4003 #endif 4004 4005 #if (HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 4006 4007 #define REG_ATIMWND_GROUP3 0x05A2 4008 4009 #endif 4010 4011 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 4012 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 4013 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 4014 HALMAC_8881A_SUPPORT) 4015 4016 #define REG_ATIMWND5 0x05A3 4017 4018 #endif 4019 4020 #if (HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 4021 4022 #define REG_ATIMWND_GROUP4 0x05A3 4023 4024 #endif 4025 4026 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 4027 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 4028 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 4029 HALMAC_8881A_SUPPORT) 4030 4031 #define REG_ATIMWND6 0x05A4 4032 4033 #endif 4034 4035 #if (HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 4036 4037 #define REG_DTIM_COUNT_GROUP1 0x05A4 4038 4039 #endif 4040 4041 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 4042 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 4043 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 4044 HALMAC_8881A_SUPPORT) 4045 4046 #define REG_ATIMWND7 0x05A5 4047 4048 #endif 4049 4050 #if (HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 4051 4052 #define REG_DTIM_COUNT_GROUP2 0x05A5 4053 4054 #endif 4055 4056 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 4057 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 4058 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 4059 HALMAC_8881A_SUPPORT) 4060 4061 #define REG_ATIMUGT 0x05A6 4062 4063 #endif 4064 4065 #if (HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 4066 4067 #define REG_DTIM_COUNT_GROUP3 0x05A6 4068 4069 #endif 4070 4071 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 4072 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 4073 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 4074 HALMAC_8881A_SUPPORT) 4075 4076 #define REG_HIQ_NO_LMT_EN 0x05A7 4077 4078 #endif 4079 4080 #if (HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 4081 4082 #define REG_DTIM_COUNT_GROUP4 0x05A7 4083 4084 #endif 4085 4086 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 4087 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 4088 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 4089 HALMAC_8881A_SUPPORT) 4090 4091 #define REG_DTIM_COUNTER_ROOT 0x05A8 4092 4093 #endif 4094 4095 #if (HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 4096 4097 #define REG_HIQ_NO_LMT_EN_V2 0x05A8 4098 4099 #endif 4100 4101 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 4102 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 4103 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 4104 HALMAC_8881A_SUPPORT) 4105 4106 #define REG_DTIM_COUNTER_VAP1 0x05A9 4107 #define REG_DTIM_COUNTER_VAP2 0x05AA 4108 #define REG_DTIM_COUNTER_VAP3 0x05AB 4109 #define REG_DTIM_COUNTER_VAP4 0x05AC 4110 4111 #endif 4112 4113 #if (HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 4114 4115 #define REG_MBID_BCNQ_EN 0x05AC 4116 4117 #endif 4118 4119 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 4120 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 4121 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 4122 HALMAC_8881A_SUPPORT) 4123 4124 #define REG_DTIM_COUNTER_VAP5 0x05AD 4125 #define REG_DTIM_COUNTER_VAP6 0x05AE 4126 #define REG_DTIM_COUNTER_VAP7 0x05AF 4127 #define REG_DIS_ATIM 0x05B0 4128 4129 #endif 4130 4131 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 4132 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 4133 HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 4134 HALMAC_8822C_SUPPORT) 4135 4136 #define REG_EARLY_128US 0x05B1 4137 4138 #endif 4139 4140 #if (HALMAC_8192F_SUPPORT) 4141 4142 #define REG_TBTT_HOLD_PREDICT_P1 0x05B2 4143 4144 #endif 4145 4146 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 4147 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 4148 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 4149 4150 #define REG_P2PPS1_CTRL 0x05B2 4151 4152 #endif 4153 4154 #if (HALMAC_8192F_SUPPORT) 4155 4156 #define REG_MULTI_BCN_CS 0x05B3 4157 4158 #endif 4159 4160 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 4161 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 4162 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 4163 4164 #define REG_P2PPS2_CTRL 0x05B3 4165 4166 #endif 4167 4168 #if (HALMAC_8192F_SUPPORT) 4169 4170 #define REG_TSFT_SHIFT 0x05B4 4171 4172 #endif 4173 4174 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 4175 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 4176 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 4177 4178 #define REG_TIMER0_SRC_SEL 0x05B4 4179 #define REG_NOA_UNIT_SEL 0x05B5 4180 4181 #endif 4182 4183 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 4184 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 4185 HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 4186 HALMAC_8822C_SUPPORT) 4187 4188 #define REG_P2POFF_DIS_TXTIME 0x05B7 4189 4190 #endif 4191 4192 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 4193 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 4194 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 4195 4196 #define REG_MBSSID_BCN_SPACE2 0x05B8 4197 #define REG_MBSSID_BCN_SPACE3 0x05BC 4198 4199 #endif 4200 4201 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 4202 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 4203 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 4204 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 4205 HALMAC_8881A_SUPPORT) 4206 4207 #define REG_ACMHWCTRL 0x05C0 4208 #define REG_ACMRSTCTRL 0x05C1 4209 #define REG_ACMAVG 0x05C2 4210 #define REG_VO_ADMTIME 0x05C4 4211 #define REG_VI_ADMTIME 0x05C6 4212 #define REG_BE_ADMTIME 0x05C8 4213 4214 #endif 4215 4216 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8822C_SUPPORT) 4217 4218 #define REG_MAC_HEADER_NAV_OFFSET 0x05CA 4219 #define REG_DIS_NDPA_NAV_CHECK 0x05CB 4220 4221 #endif 4222 4223 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 4224 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 4225 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 4226 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 4227 HALMAC_8881A_SUPPORT) 4228 4229 #define REG_EDCA_RANDOM_GEN 0x05CC 4230 4231 #endif 4232 4233 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 4234 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 4235 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 4236 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 4237 4238 #define REG_TXCMD_NOA_SEL 0x05CF 4239 4240 #endif 4241 4242 #if (HALMAC_8814B_SUPPORT) 4243 4244 #define REG_TXCMD_SEL 0x05CF 4245 4246 #endif 4247 4248 #if (HALMAC_8192F_SUPPORT) 4249 4250 #define REG_DRVERLYINT2 0x05D0 4251 4252 #endif 4253 4254 #if (HALMAC_8197G_SUPPORT) 4255 4256 #define REG_BCNERR_CFG 0x05D0 4257 4258 #endif 4259 4260 #if (HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 4261 4262 #define REG_32K_CLK_SEL 0x05D0 4263 4264 #endif 4265 4266 #if (HALMAC_8192F_SUPPORT) 4267 4268 #define REG_NAN_SETTING 0x05D4 4269 4270 #endif 4271 4272 #if (HALMAC_8197G_SUPPORT) 4273 4274 #define REG_BCN_ELY_ADJ 0x05D4 4275 4276 #endif 4277 4278 #if (HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 4279 4280 #define REG_EARLYINT_ADJUST 0x05D4 4281 4282 #endif 4283 4284 #if (HALMAC_8192F_SUPPORT) 4285 4286 #define REG_NAN_BCNSPACE 0x05D8 4287 4288 #endif 4289 4290 #if (HALMAC_8197G_SUPPORT) 4291 4292 #define REG_BCNERR_CNT1 0x05D8 4293 4294 #endif 4295 4296 #if (HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 4297 4298 #define REG_BCNERR_CNT 0x05D8 4299 4300 #endif 4301 4302 #if (HALMAC_8192F_SUPPORT) 4303 4304 #define REG_NAN_SETTING1 0x05DC 4305 4306 #endif 4307 4308 #if (HALMAC_8197G_SUPPORT) 4309 4310 #define REG_BCNERR_CNT2 0x05DC 4311 4312 #endif 4313 4314 #if (HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 4315 4316 #define REG_BCNERR_CNT_2 0x05DC 4317 4318 #endif 4319 4320 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 4321 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 4322 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 4323 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 4324 4325 #define REG_NOA_PARAM 0x05E0 4326 4327 #endif 4328 4329 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || \ 4330 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 4331 4332 #define REG_NOA_PARAM_1 0x05E4 4333 #define REG_NOA_PARAM_2 0x05E8 4334 4335 #endif 4336 4337 #if (HALMAC_8814B_SUPPORT) 4338 4339 #define REG_MU_DBG_INFO 0x05E8 4340 4341 #endif 4342 4343 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || \ 4344 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 4345 4346 #define REG_NOA_PARAM_3 0x05EC 4347 4348 #endif 4349 4350 #if (HALMAC_8814B_SUPPORT) 4351 4352 #define REG_MU_DBG_INFO_1 0x05EC 4353 4354 #endif 4355 4356 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8881A_SUPPORT) 4357 4358 #define REG_NOA_SUBIE 0x05ED 4359 4360 #endif 4361 4362 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 4363 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 4364 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 4365 4366 #define REG_P2P_RST 0x05F0 4367 4368 #endif 4369 4370 #if (HALMAC_8814B_SUPPORT) 4371 4372 #define REG_SCH_DBG_SEL 0x05F0 4373 4374 #endif 4375 4376 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 4377 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 4378 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 4379 HALMAC_8822C_SUPPORT) 4380 4381 #define REG_SCHEDULER_RST 0x05F1 4382 4383 #endif 4384 4385 #if (HALMAC_8814B_SUPPORT) 4386 4387 #define REG_MU_DBG_ERR_FLAG 0x05F2 4388 #define REG_TX_ERR_RECOVERY_RST 0x05F3 4389 4390 #endif 4391 4392 #if (HALMAC_8192F_SUPPORT) 4393 4394 #define REG_SCH_DBG 0x05F4 4395 4396 #endif 4397 4398 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8822C_SUPPORT) 4399 4400 #define REG_SCH_DBG_VALUE 0x05F4 4401 4402 #endif 4403 4404 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 4405 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 4406 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 4407 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 4408 HALMAC_8881A_SUPPORT) 4409 4410 #define REG_SCH_TXCMD 0x05F8 4411 #define REG_PAGE5_DUMMY 0x05FC 4412 #define REG_WMAC_CR 0x0600 4413 4414 #endif 4415 4416 #if (HALMAC_8197F_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 4417 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 4418 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 4419 4420 #define REG_WMAC_FWPKT_CR 0x0601 4421 4422 #endif 4423 4424 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 4425 HALMAC_8822C_SUPPORT) 4426 4427 #define REG_FW_STS_FILTER 0x0602 4428 4429 #endif 4430 4431 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT) 4432 4433 #define REG_WMAC_BWOPMODE 0x0603 4434 4435 #endif 4436 4437 #if (HALMAC_8197F_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8814A_SUPPORT || \ 4438 HALMAC_8814AMP_SUPPORT || HALMAC_8822B_SUPPORT) 4439 4440 #define REG_BWOPMODE 0x0603 4441 4442 #endif 4443 4444 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 4445 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 4446 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 4447 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 4448 HALMAC_8881A_SUPPORT) 4449 4450 #define REG_TCR 0x0604 4451 #define REG_RCR 0x0608 4452 4453 #endif 4454 4455 #if (HALMAC_8192E_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 4456 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 4457 HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 4458 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 4459 4460 #define REG_RX_PKT_LIMIT 0x060C 4461 4462 #endif 4463 4464 #if (HALMAC_8192F_SUPPORT) 4465 4466 #define REG_RXPKT_LIMIT 0x060C 4467 4468 #endif 4469 4470 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 4471 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 4472 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 4473 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 4474 HALMAC_8881A_SUPPORT) 4475 4476 #define REG_RX_DLK_TIME 0x060D 4477 4478 #endif 4479 4480 #if (HALMAC_8192F_SUPPORT) 4481 4482 #define REG_SDIO_RXINT_LEN_TH 0x1025060E 4483 4484 #endif 4485 4486 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 4487 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 4488 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 4489 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 4490 HALMAC_8881A_SUPPORT) 4491 4492 #define REG_RX_DRVINFO_SZ 0x060F 4493 #define REG_MACID 0x0610 4494 4495 #endif 4496 4497 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || \ 4498 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 4499 4500 #define REG_MACID_H 0x0614 4501 4502 #endif 4503 4504 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 4505 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 4506 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 4507 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 4508 HALMAC_8881A_SUPPORT) 4509 4510 #define REG_BSSID 0x0618 4511 4512 #endif 4513 4514 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || \ 4515 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 4516 4517 #define REG_BSSID_H 0x061C 4518 4519 #endif 4520 4521 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 4522 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 4523 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 4524 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 4525 HALMAC_8881A_SUPPORT) 4526 4527 #define REG_MAR 0x0620 4528 4529 #endif 4530 4531 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || \ 4532 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 4533 4534 #define REG_MAR_H 0x0624 4535 4536 #endif 4537 4538 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 4539 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 4540 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 4541 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 4542 4543 #define REG_MBIDCAMCFG_1 0x0628 4544 4545 #endif 4546 4547 #if (HALMAC_8192E_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 4548 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 4549 HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 4550 HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 4551 4552 #define REG_MBIDCAMCFG_2 0x062C 4553 4554 #endif 4555 4556 #if (HALMAC_8192F_SUPPORT) 4557 4558 #define REG_MBIDCAM_CFG 0x062C 4559 4560 #endif 4561 4562 #if (HALMAC_8814B_SUPPORT) 4563 4564 #define REG_WMAC_DEBUG_SEL 0x062C 4565 4566 #endif 4567 4568 #if (HALMAC_8192E_SUPPORT || HALMAC_8881A_SUPPORT) 4569 4570 #define REG_MCU_TEST_1 0x0630 4571 4572 #endif 4573 4574 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 4575 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 4576 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 4577 HALMAC_8822C_SUPPORT) 4578 4579 #define REG_WMAC_TCR_TSFT_OFS 0x0630 4580 #define REG_UDF_THSD 0x0632 4581 #define REG_ZLD_NUM 0x0633 4582 4583 #endif 4584 4585 #if (HALMAC_8192E_SUPPORT || HALMAC_8881A_SUPPORT) 4586 4587 #define REG_MCU_TEST_2 0x0634 4588 4589 #endif 4590 4591 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 4592 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 4593 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 4594 HALMAC_8822C_SUPPORT) 4595 4596 #define REG_STMP_THSD 0x0634 4597 #define REG_WMAC_TXTIMEOUT 0x0635 4598 4599 #endif 4600 4601 #if (HALMAC_8197F_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8814A_SUPPORT || \ 4602 HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 4603 HALMAC_8822B_SUPPORT) 4604 4605 #define REG_MCU_TEST_2_V1 0x0636 4606 4607 #endif 4608 4609 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 4610 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 4611 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 4612 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 4613 HALMAC_8881A_SUPPORT) 4614 4615 #define REG_USTIME_EDCA 0x0638 4616 4617 #endif 4618 4619 #if (HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 4620 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 4621 4622 #define REG_ACKTO_CCK 0x0639 4623 4624 #endif 4625 4626 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 4627 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 4628 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 4629 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 4630 HALMAC_8881A_SUPPORT) 4631 4632 #define REG_MAC_SPEC_SIFS 0x063A 4633 #define REG_RESP_SIFS_CCK 0x063C 4634 #define REG_RESP_SIFS_OFDM 0x063E 4635 #define REG_ACKTO 0x0640 4636 #define REG_CTS2TO 0x0641 4637 #define REG_EIFS 0x0642 4638 4639 #endif 4640 4641 #if (HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 4642 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 4643 4644 #define REG_RPFM_MAP0 0x0644 4645 4646 #endif 4647 4648 #if (HALMAC_8198F_SUPPORT) 4649 4650 #define REG_RPFM_MAP1 0x0646 4651 4652 #endif 4653 4654 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 4655 HALMAC_8822C_SUPPORT) 4656 4657 #define REG_RPFM_MAP1_V1 0x0646 4658 4659 #endif 4660 4661 #if (HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 4662 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 4663 4664 #define REG_RPFM_CAM_CMD 0x0648 4665 #define REG_RPFM_CAM_RWD 0x064C 4666 4667 #endif 4668 4669 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 4670 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 4671 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 4672 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 4673 HALMAC_8881A_SUPPORT) 4674 4675 #define REG_NAV_CTRL 0x0650 4676 #define REG_BACAMCMD 0x0654 4677 4678 #endif 4679 4680 #if (HALMAC_8192E_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8198F_SUPPORT || \ 4681 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 4682 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 4683 HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 4684 4685 #define REG_BACAMCONTENT 0x0658 4686 4687 #endif 4688 4689 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT) 4690 4691 #define REG_BACAM_WD 0x0658 4692 #define REG_BACAM_WD_H 0x065C 4693 4694 #endif 4695 4696 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 4697 HALMAC_8822C_SUPPORT) 4698 4699 #define REG_BACAMCONTENT_H 0x065C 4700 4701 #endif 4702 4703 #if (HALMAC_8192E_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8198F_SUPPORT || \ 4704 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 4705 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 4706 HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 4707 4708 #define REG_LBDLY 0x0660 4709 4710 #endif 4711 4712 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT) 4713 4714 #define REG_LBK_DLY 0x0660 4715 #define REG_BITMAP_CMD 0x0661 4716 4717 #endif 4718 4719 #if (HALMAC_8197F_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 4720 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 4721 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 4722 4723 #define REG_WMAC_BACAM_RPMEN 0x0661 4724 4725 #endif 4726 4727 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || \ 4728 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 4729 HALMAC_8822C_SUPPORT) 4730 4731 #define REG_TX_RX 0x0662 4732 4733 #endif 4734 4735 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 4736 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 4737 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 4738 4739 #define REG_WMAC_BITMAP_CTL 0x0663 4740 4741 #endif 4742 4743 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 4744 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 4745 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 4746 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 4747 HALMAC_8881A_SUPPORT) 4748 4749 #define REG_RXERR_RPT 0x0664 4750 #define REG_WMAC_TRXPTCL_CTL 0x0668 4751 4752 #endif 4753 4754 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || \ 4755 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 4756 4757 #define REG_WMAC_TRXPTCL_CTL_H 0x066C 4758 4759 #endif 4760 4761 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 4762 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 4763 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 4764 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 4765 HALMAC_8881A_SUPPORT) 4766 4767 #define REG_CAMCMD 0x0670 4768 #define REG_CAMWRITE 0x0674 4769 #define REG_CAMREAD 0x0678 4770 #define REG_CAMDBG 0x067C 4771 #define REG_SECCFG 0x0680 4772 4773 #endif 4774 4775 #if (HALMAC_8197F_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 4776 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 4777 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 4778 4779 #define REG_RXFILTER_CATEGORY_1 0x0682 4780 #define REG_RXFILTER_ACTION_1 0x0683 4781 #define REG_RXFILTER_CATEGORY_2 0x0684 4782 #define REG_RXFILTER_ACTION_2 0x0685 4783 #define REG_RXFILTER_CATEGORY_3 0x0686 4784 #define REG_RXFILTER_ACTION_3 0x0687 4785 #define REG_RXFLTMAP3 0x0688 4786 #define REG_RXFLTMAP4 0x068A 4787 #define REG_RXFLTMAP5 0x068C 4788 #define REG_RXFLTMAP6 0x068E 4789 4790 #endif 4791 4792 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 4793 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 4794 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 4795 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 4796 HALMAC_8881A_SUPPORT) 4797 4798 #define REG_WOW_CTRL 0x0690 4799 4800 #endif 4801 4802 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 4803 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 4804 4805 #define REG_NAN_RX_TSF_FILTER 0x0691 4806 4807 #endif 4808 4809 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 4810 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 4811 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 4812 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 4813 HALMAC_8881A_SUPPORT) 4814 4815 #define REG_PS_RX_INFO 0x0692 4816 #define REG_WMMPS_UAPSD_TID 0x0693 4817 #define REG_LPNAV_CTRL 0x0694 4818 4819 #endif 4820 4821 #if (HALMAC_8192E_SUPPORT || HALMAC_8881A_SUPPORT) 4822 4823 #define REG_WKFMCAM_NUM 0x0698 4824 4825 #endif 4826 4827 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 4828 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 4829 HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 4830 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 4831 4832 #define REG_WKFMCAM_CMD 0x0698 4833 4834 #endif 4835 4836 #if (HALMAC_8197F_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 4837 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 4838 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 4839 4840 #define REG_WKFMCAM_RWD 0x069C 4841 4842 #endif 4843 4844 #if (HALMAC_8192E_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 4845 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 4846 HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 4847 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 4848 4849 #define REG_RXFLTMAP0 0x06A0 4850 4851 #endif 4852 4853 #if (HALMAC_8192F_SUPPORT) 4854 4855 #define REG_RXFLTER0 0x06A0 4856 4857 #endif 4858 4859 #if (HALMAC_8192E_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 4860 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 4861 HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 4862 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 4863 4864 #define REG_RXFLTMAP1 0x06A2 4865 4866 #endif 4867 4868 #if (HALMAC_8192F_SUPPORT) 4869 4870 #define REG_RXFLTER1 0x06A2 4871 4872 #endif 4873 4874 #if (HALMAC_8192E_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 4875 HALMAC_8198F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 4876 HALMAC_8881A_SUPPORT) 4877 4878 #define REG_RXFLTMAP 0x06A4 4879 4880 #endif 4881 4882 #if (HALMAC_8192F_SUPPORT) 4883 4884 #define REG_RXFLTER2 0x06A4 4885 4886 #endif 4887 4888 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 4889 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 4890 4891 #define REG_RXFLTMAP2 0x06A4 4892 4893 #endif 4894 4895 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 4896 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 4897 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 4898 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 4899 HALMAC_8881A_SUPPORT) 4900 4901 #define REG_BCN_PSR_RPT 0x06A8 4902 4903 #endif 4904 4905 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT || \ 4906 HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 4907 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 4908 4909 #define REG_FLC_RPC 0x06AC 4910 #define REG_FLC_RPCT 0x06AD 4911 #define REG_FLC_PTS 0x06AE 4912 #define REG_FLC_TRPC 0x06AF 4913 4914 #endif 4915 4916 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 4917 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 4918 HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 4919 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 4920 4921 #define REG_RXPKTMON_CTRL 0x06B0 4922 4923 #endif 4924 4925 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 4926 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 4927 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 4928 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 4929 HALMAC_8881A_SUPPORT) 4930 4931 #define REG_STATE_MON 0x06B4 4932 4933 #endif 4934 4935 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT) 4936 4937 #define REG_ERROR_EVT_CTL 0x06B8 4938 4939 #endif 4940 4941 #if (HALMAC_8197F_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 4942 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 4943 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 4944 4945 #define REG_ERROR_MON 0x06B8 4946 4947 #endif 4948 4949 #if (HALMAC_8192F_SUPPORT) 4950 4951 #define REG_RESPINFO 0x06BC 4952 4953 #endif 4954 4955 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 4956 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 4957 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 4958 HALMAC_8822C_SUPPORT) 4959 4960 #define REG_SEARCH_MACID 0x06BC 4961 4962 #endif 4963 4964 #if (HALMAC_8192E_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8198F_SUPPORT || \ 4965 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 4966 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 4967 HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 4968 4969 #define REG_BT_COEX_TABLE 0x06C0 4970 4971 #endif 4972 4973 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT) 4974 4975 #define REG_BT_COEX_TABLE_V1 0x06C0 4976 #define REG_BT_COEX_TABLE2_V1 0x06C4 4977 4978 #endif 4979 4980 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 4981 HALMAC_8822C_SUPPORT) 4982 4983 #define REG_BT_COEX_TABLE2 0x06C4 4984 4985 #endif 4986 4987 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || \ 4988 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 4989 4990 #define REG_BT_COEX_BREAK_TABLE 0x06C8 4991 4992 #endif 4993 4994 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT) 4995 4996 #define REG_BT_COEX_TABLE_H_V1 0x06CC 4997 4998 #endif 4999 5000 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 5001 HALMAC_8822C_SUPPORT) 5002 5003 #define REG_BT_COEX_TABLE_H 0x06CC 5004 5005 #endif 5006 5007 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 5008 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 5009 HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 5010 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 5011 5012 #define REG_RXCMD_0 0x06D0 5013 #define REG_RXCMD_1 0x06D4 5014 5015 #endif 5016 5017 #if (HALMAC_8192E_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8198F_SUPPORT || \ 5018 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 5019 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 5020 HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 5021 5022 #define REG_WMAC_RESP_TXINFO 0x06D8 5023 5024 #endif 5025 5026 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT) 5027 5028 #define REG_RESP_TXINFO_CFG 0x06D8 5029 5030 #endif 5031 5032 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 5033 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 5034 HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 5035 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 5036 5037 #define REG_BBPSF_CTRL 0x06DC 5038 5039 #endif 5040 5041 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT) 5042 5043 #define REG_RESP_TXINFO_RATE 0x06DE 5044 5045 #endif 5046 5047 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 5048 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 5049 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 5050 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 5051 HALMAC_8881A_SUPPORT) 5052 5053 #define REG_P2P_RX_BCN_NOA 0x06E0 5054 #define REG_ASSOCIATED_BFMER0_INFO 0x06E4 5055 5056 #endif 5057 5058 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT) 5059 5060 #define REG_SOUNDING_CFG1 0x06E8 5061 5062 #endif 5063 5064 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 5065 HALMAC_8822C_SUPPORT) 5066 5067 #define REG_ASSOCIATED_BFMER0_INFO_H 0x06E8 5068 5069 #endif 5070 5071 #if (HALMAC_8192E_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8198F_SUPPORT || \ 5072 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 5073 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 5074 HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 5075 5076 #define REG_ASSOCIATED_BFMER1_INFO 0x06EC 5077 5078 #endif 5079 5080 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT) 5081 5082 #define REG_SOUNDING_CFG2 0x06EC 5083 #define REG_SOUNDING_CFG3 0x06F0 5084 5085 #endif 5086 5087 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 5088 HALMAC_8822C_SUPPORT) 5089 5090 #define REG_ASSOCIATED_BFMER1_INFO_H 0x06F0 5091 5092 #endif 5093 5094 #if (HALMAC_8192E_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8198F_SUPPORT || \ 5095 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 5096 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 5097 HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 5098 5099 #define REG_TX_CSI_RPT_PARAM_BW20 0x06F4 5100 5101 #endif 5102 5103 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT) 5104 5105 #define REG_SOUNDING_CFG0 0x06F4 5106 5107 #endif 5108 5109 #if (HALMAC_8192E_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8198F_SUPPORT || \ 5110 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 5111 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 5112 HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 5113 5114 #define REG_TX_CSI_RPT_PARAM_BW40 0x06F8 5115 5116 #endif 5117 5118 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT) 5119 5120 #define REG_ANTCD_INFO 0x06F8 5121 5122 #endif 5123 5124 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 5125 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8822B_SUPPORT || \ 5126 HALMAC_8881A_SUPPORT) 5127 5128 #define REG_TX_CSI_RPT_PARAM_BW80 0x06FC 5129 5130 #endif 5131 5132 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 5133 5134 #define REG_CSI_PTR 0x06FC 5135 5136 #endif 5137 5138 #if (HALMAC_8198F_SUPPORT) 5139 5140 #define REG_CSI_RRSR_V1 0x06FC 5141 5142 #endif 5143 5144 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 5145 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 5146 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 5147 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 5148 HALMAC_8881A_SUPPORT) 5149 5150 #define REG_MACID1 0x0700 5151 5152 #endif 5153 5154 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || \ 5155 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 5156 5157 #define REG_MACID1_1 0x0704 5158 5159 #endif 5160 5161 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 5162 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 5163 HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 5164 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 5165 5166 #define REG_BSSID1 0x0708 5167 5168 #endif 5169 5170 #if (HALMAC_8814B_SUPPORT) 5171 5172 #define REG_PCIE_CFG_FORCE_LINK_L 0x0709 5173 #define REG_PCIE_CFG_FORCE_LINK_H 0x070A 5174 5175 #endif 5176 5177 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || \ 5178 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 5179 5180 #define REG_BSSID1_1 0x070C 5181 5182 #endif 5183 5184 #if (HALMAC_8814B_SUPPORT) 5185 5186 #define REG_PCIE_CFG_DEFAULT_ACK_FREQUENCY 0x070C 5187 #define REG_PCIE_CFG_CX_NFTS 0x070D 5188 #define REG_PCIE_CFG_DEFAULT_ENTR_LATENCY 0x070F 5189 5190 #endif 5191 5192 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 5193 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 5194 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 5195 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 5196 HALMAC_8881A_SUPPORT) 5197 5198 #define REG_BCN_PSR_RPT1 0x0710 5199 5200 #endif 5201 5202 #if (HALMAC_8814B_SUPPORT) 5203 5204 #define REG_PCIE_CFG_L1_MISC_SEL 0x0711 5205 5206 #endif 5207 5208 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 5209 HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 5210 HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 5211 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 5212 5213 #define REG_ASSOCIATED_BFMEE_SEL 0x0714 5214 5215 #endif 5216 5217 #if (HALMAC_8198F_SUPPORT) 5218 5219 #define REG_ASSOCIATED_BFMEE_SEL_1 0x0714 5220 5221 #endif 5222 5223 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 5224 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 5225 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 5226 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 5227 HALMAC_8881A_SUPPORT) 5228 5229 #define REG_SND_PTCL_CTRL 0x0718 5230 5231 #endif 5232 5233 #if (HALMAC_8814B_SUPPORT) 5234 5235 #define REG_PCIE_CFG_TIMER_CTRL_MAX_FUNC_NUM_OFF 0x0718 5236 #define REG_PCIE_CFG_FORCE_CLKREQ_N_PAD 0x0719 5237 #define REG_PCIE_CFG_TIMER_MODIFIER_FOR_ACK_NAK_LATENCY 0x071A 5238 #define REG_PCIE_CFG_TIMER_MODIFIER_FOR_FLOW_CONTROL_WATCHDOG 0x071B 5239 5240 #endif 5241 5242 #if (HALMAC_8192E_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 5243 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 5244 HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 5245 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 5246 5247 #define REG_RX_CSI_RPT_INFO 0x071C 5248 5249 #endif 5250 5251 #if (HALMAC_8814B_SUPPORT) 5252 5253 #define REG_PCIE_CFG_SKP_INTERVAL_VALUE_L 0x071C 5254 #define REG_PCIE_CFG_SKP_INTERVAL_VALUE_H 0x071D 5255 5256 #endif 5257 5258 #if (HALMAC_8192F_SUPPORT) 5259 5260 #define REG_RX_CSI_RPT_INFO_H 0x071F 5261 5262 #endif 5263 5264 #if (HALMAC_8192E_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 5265 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 5266 HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 5267 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 5268 5269 #define REG_NS_ARP_CTRL 0x0720 5270 #define REG_NS_ARP_INFO 0x0724 5271 5272 #endif 5273 5274 #if (HALMAC_8814B_SUPPORT) 5275 5276 #define REG_PCIE_CFG_L1_UNIT_SEL 0x0724 5277 #define REG_PCIE_CFG_MIN_CLKREQ_SEL 0x0725 5278 5279 #endif 5280 5281 #if (HALMAC_8192E_SUPPORT || HALMAC_8881A_SUPPORT) 5282 5283 #define REG_NS_ARP_IPADDR 0x0728 5284 5285 #endif 5286 5287 #if (HALMAC_8192F_SUPPORT) 5288 5289 #define REG_PWR_INT_CTRL 0x0728 5290 5291 #endif 5292 5293 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 5294 HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 5295 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 5296 5297 #define REG_BEAMFORMING_INFO_NSARP_V1 0x0728 5298 5299 #endif 5300 5301 #if (HALMAC_8192E_SUPPORT || HALMAC_8881A_SUPPORT) 5302 5303 #define REG_WRITE_RX_CSI_RPT_INFO 0x072C 5304 5305 #endif 5306 5307 #if (HALMAC_8192F_SUPPORT) 5308 5309 #define REG_RX_CSI_RPT_INFO_V1 0x072C 5310 5311 #endif 5312 5313 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 5314 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 5315 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 5316 HALMAC_8822C_SUPPORT) 5317 5318 #define REG_BEAMFORMING_INFO_NSARP 0x072C 5319 5320 #endif 5321 5322 #if (HALMAC_8192E_SUPPORT || HALMAC_8881A_SUPPORT) 5323 5324 #define REG_NS_ARP_IPV6_MYADDR 0x0730 5325 5326 #endif 5327 5328 #if (HALMAC_8192F_SUPPORT) 5329 5330 #define REG_POWER_MGT_0_V1 0x0730 5331 5332 #endif 5333 5334 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 5335 HALMAC_8822C_SUPPORT) 5336 5337 #define REG_IPV6 0x0730 5338 5339 #endif 5340 5341 #if (HALMAC_8192F_SUPPORT) 5342 5343 #define REG_POWER_MGT_1_V1 0x0734 5344 5345 #endif 5346 5347 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 5348 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 5349 5350 #define REG_IPV6_1 0x0734 5351 5352 #endif 5353 5354 #if (HALMAC_8192F_SUPPORT) 5355 5356 #define REG_POWER_MGT_2_V1 0x0738 5357 5358 #endif 5359 5360 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 5361 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 5362 5363 #define REG_IPV6_2 0x0738 5364 5365 #endif 5366 5367 #if (HALMAC_8192F_SUPPORT) 5368 5369 #define REG_POWER_MGT_3_V1 0x073C 5370 5371 #endif 5372 5373 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 5374 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 5375 5376 #define REG_IPV6_3 0x073C 5377 5378 #endif 5379 5380 #if (HALMAC_8192F_SUPPORT) 5381 5382 #define REG_PLCP_HEADER 0x0740 5383 #define REG_TXDRXDMONITOR 0x0744 5384 #define REG_TXDRXDMONITOR_CTL 0x0748 5385 5386 #endif 5387 5388 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 5389 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 5390 HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 5391 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 5392 5393 #define REG_WMAC_RTX_CTX_SUBTYPE_CFG 0x0750 5394 5395 #endif 5396 5397 #if (HALMAC_8192F_SUPPORT) 5398 5399 #define REG_WMAC_SWAES_RD0_V1 0x0754 5400 5401 #endif 5402 5403 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 5404 5405 #define REG_WMAC_SWAES_DIO_B63_B32 0x0754 5406 5407 #endif 5408 5409 #if (HALMAC_8192F_SUPPORT) 5410 5411 #define REG_WMAC_SWAES_RD1_V1 0x0758 5412 5413 #endif 5414 5415 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 5416 5417 #define REG_WMAC_SWAES_DIO_B95_B64 0x0758 5418 5419 #endif 5420 5421 #if (HALMAC_8192F_SUPPORT) 5422 5423 #define REG_WMAC_SWAES_RD3_V1 0x075C 5424 5425 #endif 5426 5427 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 5428 5429 #define REG_WMAC_SWAES_DIO_B127_B96 0x075C 5430 5431 #endif 5432 5433 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 5434 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 5435 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 5436 5437 #define REG_WMAC_SWAES_CFG 0x0760 5438 5439 #endif 5440 5441 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 5442 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 5443 HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 5444 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 5445 5446 #define REG_BT_COEX_V2 0x0762 5447 5448 #endif 5449 5450 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 5451 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 5452 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 5453 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 5454 HALMAC_8881A_SUPPORT) 5455 5456 #define REG_BT_COEX 0x0764 5457 5458 #endif 5459 5460 #if (HALMAC_8192E_SUPPORT || HALMAC_8881A_SUPPORT) 5461 5462 #define REG_WLAN_ACT_MSK_CTRL 0x0768 5463 5464 #endif 5465 5466 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 5467 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 5468 HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 5469 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 5470 5471 #define REG_WLAN_ACT_MASK_CTRL 0x0768 5472 5473 #endif 5474 5475 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || \ 5476 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 5477 5478 #define REG_WLAN_ACT_MASK_CTRL_1 0x076C 5479 5480 #endif 5481 5482 #if (HALMAC_8192E_SUPPORT || HALMAC_8881A_SUPPORT) 5483 5484 #define REG_BT_STATISTICS_CTRL 0x076E 5485 #define REG_BT_COEX_ENH_INTF_CTRL 0x076E 5486 5487 #endif 5488 5489 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 5490 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 5491 HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 5492 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 5493 5494 #define REG_BT_COEX_ENHANCED_INTR_CTRL 0x076E 5495 5496 #endif 5497 5498 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 5499 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 5500 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 5501 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || \ 5502 HALMAC_8881A_SUPPORT) 5503 5504 #define REG_BT_ACT_STATISTICS 0x0770 5505 5506 #endif 5507 5508 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || \ 5509 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 5510 5511 #define REG_BT_ACT_STATISTICS_1 0x0774 5512 5513 #endif 5514 5515 #if (HALMAC_8192E_SUPPORT || HALMAC_8881A_SUPPORT) 5516 5517 #define REG_BT_STATISTICS_OTH_CTRL 0x0778 5518 5519 #endif 5520 5521 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 5522 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 5523 HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 5524 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 5525 5526 #define REG_BT_STATISTICS_CONTROL_REGISTER 0x0778 5527 5528 #endif 5529 5530 #if (HALMAC_8192E_SUPPORT || HALMAC_8881A_SUPPORT) 5531 5532 #define REG_BT_CMD_ID 0x077C 5533 5534 #endif 5535 5536 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 5537 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 5538 HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 5539 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 5540 5541 #define REG_BT_STATUS_REPORT_REGISTER 0x077C 5542 5543 #endif 5544 5545 #if (HALMAC_8192E_SUPPORT || HALMAC_8881A_SUPPORT) 5546 5547 #define REG_BT__STATUS_RPT 0x077D 5548 #define REG_BT_DATA 0x0780 5549 5550 #endif 5551 5552 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 5553 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 5554 HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 5555 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 5556 5557 #define REG_BT_INTERRUPT_CONTROL_REGISTER 0x0780 5558 5559 #endif 5560 5561 #if (HALMAC_8192E_SUPPORT || HALMAC_8881A_SUPPORT) 5562 5563 #define REG_WLAN_RPT_ 0x0781 5564 #define REG_BT_ISR_CTRL 0x0783 5565 #define REG_WLAN_RPT_TO_CTR 0x0784 5566 5567 #endif 5568 5569 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 5570 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 5571 HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 5572 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 5573 5574 #define REG_WLAN_REPORT_TIME_OUT_CONTROL_REGISTER 0x0784 5575 5576 #endif 5577 5578 #if (HALMAC_8192E_SUPPORT || HALMAC_8881A_SUPPORT) 5579 5580 #define REG_BT_ISOLATION_TABLE 0x0785 5581 5582 #endif 5583 5584 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 5585 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 5586 HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 5587 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 5588 5589 #define REG_BT_ISOLATION_TABLE_REGISTER_REGISTER 0x0785 5590 5591 #endif 5592 5593 #if (HALMAC_8192F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || \ 5594 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 5595 5596 #define REG_BT_ISOLATION_TABLE_REGISTER_REGISTER_1 0x0788 5597 #define REG_BT_ISOLATION_TABLE_REGISTER_REGISTER_2 0x078C 5598 5599 #endif 5600 5601 #if (HALMAC_8192E_SUPPORT || HALMAC_8881A_SUPPORT) 5602 5603 #define REG_BT_ISR_STA 0x078F 5604 5605 #endif 5606 5607 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 5608 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 5609 HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 5610 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 5611 5612 #define REG_BT_INTERRUPT_STATUS_REGISTER 0x078F 5613 5614 #endif 5615 5616 #if (HALMAC_8192E_SUPPORT || HALMAC_8881A_SUPPORT) 5617 5618 #define REG_TDMA_TIME_AND_RPT_SAM_SET 0x0790 5619 5620 #endif 5621 5622 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 5623 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 5624 HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 5625 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 5626 5627 #define REG_BT_TDMA_TIME_REGISTER 0x0790 5628 5629 #endif 5630 5631 #if (HALMAC_8192E_SUPPORT || HALMAC_8881A_SUPPORT) 5632 5633 #define REG_BT_CH_INFO 0x0794 5634 5635 #endif 5636 5637 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 5638 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 5639 HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 5640 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 5641 5642 #define REG_BT_ACT_REGISTER 0x0794 5643 5644 #endif 5645 5646 #if (HALMAC_8192E_SUPPORT || HALMAC_8881A_SUPPORT) 5647 5648 #define REG_BT_STATIC_INFO_EXT 0x0795 5649 #define REG_LTR_IDLE_LATENCY 0x0798 5650 5651 #endif 5652 5653 #if (HALMAC_8192F_SUPPORT) 5654 5655 #define REG_LTR_IDLE_LATENCY_V2 0x0798 5656 5657 #endif 5658 5659 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 5660 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 5661 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 5662 HALMAC_8822C_SUPPORT) 5663 5664 #define REG_OBFF_CTRL_BASIC 0x0798 5665 5666 #endif 5667 5668 #if (HALMAC_8192E_SUPPORT || HALMAC_8881A_SUPPORT) 5669 5670 #define REG_LTR_ACTIVE_LATENCY 0x079C 5671 5672 #endif 5673 5674 #if (HALMAC_8192F_SUPPORT) 5675 5676 #define REG_LTR_ACTIVE_LATENCY_V2 0x079C 5677 5678 #endif 5679 5680 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 5681 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 5682 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 5683 HALMAC_8822C_SUPPORT) 5684 5685 #define REG_OBFF_CTRL2_TIMER 0x079C 5686 5687 #endif 5688 5689 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8881A_SUPPORT) 5690 5691 #define REG_OBFF_CTRL 0x07A0 5692 5693 #endif 5694 5695 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 5696 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 5697 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 5698 HALMAC_8822C_SUPPORT) 5699 5700 #define REG_LTR_CTRL_BASIC 0x07A0 5701 5702 #endif 5703 5704 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8881A_SUPPORT) 5705 5706 #define REG_LTR_CTRL 0x07A4 5707 5708 #endif 5709 5710 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 5711 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 5712 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 5713 HALMAC_8822C_SUPPORT) 5714 5715 #define REG_LTR_CTRL2_TIMER_THRESHOLD 0x07A4 5716 5717 #endif 5718 5719 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8881A_SUPPORT) 5720 5721 #define REG_LTR_CTRL2 0x07A8 5722 5723 #endif 5724 5725 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 5726 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 5727 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 5728 HALMAC_8822C_SUPPORT) 5729 5730 #define REG_LTR_IDLE_LATENCY_V1 0x07A8 5731 #define REG_LTR_ACTIVE_LATENCY_V1 0x07AC 5732 5733 #endif 5734 5735 #if (HALMAC_8192E_SUPPORT || HALMAC_8881A_SUPPORT) 5736 5737 #define REG_ANTTRN_CTRL 0x07B0 5738 5739 #endif 5740 5741 #if (HALMAC_8192F_SUPPORT) 5742 5743 #define REG_ANTTRN_CTR_V1 0x07B0 5744 5745 #endif 5746 5747 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 5748 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 5749 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 5750 5751 #define REG_ANTENNA_TRAINING_CONTROL_REGISTER 0x07B0 5752 5753 #endif 5754 5755 #if (HALMAC_8814B_SUPPORT) 5756 5757 #define REG_SMART_ANT_CONDITION 0x07B0 5758 5759 #endif 5760 5761 #if (HALMAC_8192F_SUPPORT) 5762 5763 #define REG_ANTTRN_CTR 0x07B4 5764 5765 #endif 5766 5767 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8821C_SUPPORT || \ 5768 HALMAC_8822C_SUPPORT) 5769 5770 #define REG_ANTENNA_TRAINING_CONTROL_REGISTER_1 0x07B4 5771 5772 #endif 5773 5774 #if (HALMAC_8814B_SUPPORT) 5775 5776 #define REG_SMART_ANT_CTRL 0x07B4 5777 5778 #endif 5779 5780 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 5781 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 5782 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 5783 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 5784 5785 #define REG_WMAC_PKTCNT_RWD 0x07B8 5786 5787 #endif 5788 5789 #if (HALMAC_8814B_SUPPORT) 5790 5791 #define REG_CONTROL_FRAME_REPORT 0x07B8 5792 5793 #endif 5794 5795 #if (HALMAC_8192E_SUPPORT || HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || \ 5796 HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 5797 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 5798 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT || HALMAC_8881A_SUPPORT) 5799 5800 #define REG_WMAC_PKTCNT_CTRL 0x07BC 5801 5802 #endif 5803 5804 #if (HALMAC_8814B_SUPPORT) 5805 5806 #define REG_CONTROL_FRAME_CNT_CTRL 0x07BC 5807 5808 #endif 5809 5810 #if (HALMAC_8192F_SUPPORT) 5811 5812 #define REG_WL2LTECOEX_INDIRECT_ACCESS_CTRL 0x07C0 5813 5814 #endif 5815 5816 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 5817 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 5818 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 5819 HALMAC_8822C_SUPPORT) 5820 5821 #define REG_IQ_DUMP 0x07C0 5822 5823 #endif 5824 5825 #if (HALMAC_8192F_SUPPORT) 5826 5827 #define REG_WL2LTECOEX_INDIRECT_ACCESS_WRITE_DATA 0x07C4 5828 5829 #endif 5830 5831 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 5832 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 5833 5834 #define REG_IQ_DUMP_1 0x07C4 5835 5836 #endif 5837 5838 #if (HALMAC_8192F_SUPPORT) 5839 5840 #define REG_WL2LTECOEX_INDIRECT_ACCESS_READ_DATA 0x07C8 5841 5842 #endif 5843 5844 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 5845 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 5846 5847 #define REG_IQ_DUMP_2 0x07C8 5848 5849 #endif 5850 5851 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 5852 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 5853 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 5854 5855 #define REG_WMAC_FTM_CTL 0x07CC 5856 5857 #endif 5858 5859 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 5860 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 5861 5862 #define REG_WMAC_IQ_MDPK_FUNC 0x07CE 5863 5864 #endif 5865 5866 #if (HALMAC_8197F_SUPPORT || HALMAC_8198F_SUPPORT) 5867 5868 #define REG_IQ_DUMP_EXT 0x07CF 5869 5870 #endif 5871 5872 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8198F_SUPPORT || \ 5873 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT) 5874 5875 #define REG_OFDM_CCK_LEN_MASK 0x07D0 5876 5877 #endif 5878 5879 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 5880 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 5881 5882 #define REG_WMAC_OPTION_FUNCTION 0x07D0 5883 5884 #endif 5885 5886 #if (HALMAC_8192F_SUPPORT) 5887 5888 #define REG_FA_FILTER1 0x07D4 5889 5890 #endif 5891 5892 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 5893 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 5894 5895 #define REG_WMAC_OPTION_FUNCTION_1 0x07D4 5896 5897 #endif 5898 5899 #if (HALMAC_8192F_SUPPORT) 5900 5901 #define REG_FA_FILTER2 0x07D8 5902 5903 #endif 5904 5905 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 5906 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 5907 5908 #define REG_WMAC_OPTION_FUNCTION_2 0x07D8 5909 5910 #endif 5911 5912 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 5913 HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 5914 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 5915 5916 #define REG_RX_FILTER_FUNCTION 0x07DA 5917 5918 #endif 5919 5920 #if (HALMAC_8192F_SUPPORT) 5921 5922 #define REG_NAN_FUN 0x07DC 5923 #define REG_NAN_CTL 0x07E0 5924 5925 #endif 5926 5927 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 5928 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 5929 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 5930 HALMAC_8822C_SUPPORT) 5931 5932 #define REG_NDP_SIG 0x07E0 5933 5934 #endif 5935 5936 #if (HALMAC_8192F_SUPPORT) 5937 5938 #define REG_RX_NAN_ADDR_FILTER 0x07E4 5939 5940 #endif 5941 5942 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 5943 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 5944 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 5945 HALMAC_8822C_SUPPORT) 5946 5947 #define REG_TXCMD_INFO_FOR_RSP_PKT 0x07E4 5948 5949 #endif 5950 5951 #if (HALMAC_8192F_SUPPORT) 5952 5953 #define REG_NAN_ADDR 0x07E8 5954 5955 #endif 5956 5957 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 5958 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 5959 5960 #define REG_TXCMD_INFO_FOR_RSP_PKT_1 0x07E8 5961 5962 #endif 5963 5964 #if (HALMAC_8814AMP_SUPPORT) 5965 5966 #define REG_SEC_OPT 0x07E8 5967 5968 #endif 5969 5970 #if (HALMAC_8192F_SUPPORT) 5971 5972 #define REG_RXA1_MASK 0x07EC 5973 5974 #endif 5975 5976 #if (HALMAC_8197F_SUPPORT || HALMAC_8198F_SUPPORT) 5977 5978 #define REG_SEC_OPT_V2 0x07EC 5979 5980 #endif 5981 5982 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 5983 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 5984 5985 #define REG_WSEC_OPTION 0x07EC 5986 5987 #endif 5988 5989 #if (HALMAC_8192F_SUPPORT) 5990 5991 #define REG_DUMP_FUNC 0x07F0 5992 5993 #endif 5994 5995 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 5996 HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 5997 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 5998 5999 #define REG_RTS_ADDRESS_0 0x07F0 6000 6001 #endif 6002 6003 #if (HALMAC_8814AMP_SUPPORT) 6004 6005 #define REG_RTS_ADDR0 0x07F0 6006 6007 #endif 6008 6009 #if (HALMAC_8192F_SUPPORT) 6010 6011 #define REG_MASK_LA_MAC 0x07F4 6012 6013 #endif 6014 6015 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 6016 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 6017 6018 #define REG_RTS_ADDRESS_0_1 0x07F4 6019 6020 #endif 6021 6022 #if (HALMAC_8192F_SUPPORT) 6023 6024 #define REG_MATCH_REF_MAC 0x07F8 6025 6026 #endif 6027 6028 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 6029 HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 6030 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 6031 6032 #define REG_RTS_ADDRESS_1 0x07F8 6033 6034 #endif 6035 6036 #if (HALMAC_8814AMP_SUPPORT) 6037 6038 #define REG_RTS_ADDR1 0x07F8 6039 6040 #endif 6041 6042 #if (HALMAC_8192F_SUPPORT) 6043 6044 #define REG_LA_DUMP_FUNC_EXT 0x07FC 6045 6046 #endif 6047 6048 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 6049 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 6050 6051 #define REG_RTS_ADDRESS_1_1 0x07FC 6052 6053 #endif 6054 6055 #if (HALMAC_8822B_SUPPORT) 6056 6057 #define REG__RPFM_MAP1 0x07FE 6058 6059 #endif 6060 6061 #if (HALMAC_8197F_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 6062 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 6063 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 6064 6065 #define REG_SYS_CFG3 0x1000 6066 6067 #endif 6068 6069 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8822C_SUPPORT) 6070 6071 #define REG_ANAPARSW_MAC_0 0x1010 6072 #define REG_ANAPARSW_MAC_1 0x1014 6073 #define REG_ANAPAR_MAC_0 0x1018 6074 #define REG_ANAPAR_MAC_1 0x101C 6075 #define REG_ANAPAR_MAC_2 0x1020 6076 6077 #endif 6078 6079 #if (HALMAC_8814B_SUPPORT) 6080 6081 #define REG_ANAPAR_MAC_3 0x1024 6082 #define REG_ANAPAR_MAC_4 0x1028 6083 #define REG_ANAPAR_MAC_5 0x102C 6084 #define REG_ANAPAR_MAC_6 0x1030 6085 6086 #endif 6087 6088 #if (HALMAC_8197F_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8814A_SUPPORT || \ 6089 HALMAC_8814AMP_SUPPORT || HALMAC_8822B_SUPPORT) 6090 6091 #define REG_SYS_CFG4 0x1034 6092 6093 #endif 6094 6095 #if (HALMAC_8814B_SUPPORT) 6096 6097 #define REG_ANAPAR_MAC_7 0x1034 6098 #define REG_ANAPAR_MAC_8 0x1038 6099 6100 #endif 6101 6102 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8822C_SUPPORT) 6103 6104 #define REG_ANAPAR_XTAL_0 0x1040 6105 #define REG_ANAPAR_XTAL_1 0x1044 6106 #define REG_ANAPAR_XTAL_2 0x1048 6107 6108 #endif 6109 6110 #if (HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 6111 6112 #define REG_ANAPAR_XTAL_3 0x104C 6113 6114 #endif 6115 6116 #if (HALMAC_8814B_SUPPORT) 6117 6118 #define REG_ANAPAR_XTAL_AAC 0x104C 6119 #define REG_ANAPAR_XTAL_R_ONLY 0x1050 6120 6121 #endif 6122 6123 #if (HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 6124 6125 #define REG_ANAPAR_XTAL_AACK_0 0x1054 6126 6127 #endif 6128 6129 #if (HALMAC_8814B_SUPPORT) 6130 6131 #define REG_CPHY_LDO 0x1054 6132 6133 #endif 6134 6135 #if (HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 6136 6137 #define REG_ANAPAR_XTAL_AACK_1 0x1058 6138 6139 #endif 6140 6141 #if (HALMAC_8814B_SUPPORT) 6142 6143 #define REG_CPHY_BG 0x1058 6144 #define REG_HIMR_4 0x1060 6145 6146 #endif 6147 6148 #if (HALMAC_8822C_SUPPORT) 6149 6150 #define REG_XTAL_AAC_OUTPUT 0x1060 6151 6152 #endif 6153 6154 #if (HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 6155 6156 #define REG_ANAPAR_XTAL_MODE_DECODER 0x1064 6157 6158 #endif 6159 6160 #if (HALMAC_8814B_SUPPORT) 6161 6162 #define REG_HISR_4 0x1064 6163 #define REG_HIMR_5 0x1068 6164 #define REG_HISR_5 0x106C 6165 6166 #endif 6167 6168 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 6169 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 6170 6171 #define REG_SYS_CFG5 0x1070 6172 6173 #endif 6174 6175 #if (HALMAC_8812F_SUPPORT) 6176 6177 #define REG_REGU_32K_1 0x1078 6178 6179 #endif 6180 6181 #if (HALMAC_8814B_SUPPORT) 6182 6183 #define REG_HIMR_6 0x1078 6184 6185 #endif 6186 6187 #if (HALMAC_8812F_SUPPORT) 6188 6189 #define REG_REGU_32K_2 0x107C 6190 6191 #endif 6192 6193 #if (HALMAC_8814B_SUPPORT) 6194 6195 #define REG_HISR_6 0x107C 6196 6197 #endif 6198 6199 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 6200 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 6201 HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 6202 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 6203 6204 #define REG_CPU_DMEM_CON 0x1080 6205 6206 #endif 6207 6208 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 6209 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 6210 6211 #define REG_BOOT_REASON 0x1088 6212 6213 #endif 6214 6215 #if (HALMAC_8198F_SUPPORT) 6216 6217 #define REG_HIMR4 0x1090 6218 6219 #endif 6220 6221 #if (HALMAC_8814B_SUPPORT) 6222 6223 #define REG_DATA_CPU_CTL0 0x1090 6224 6225 #endif 6226 6227 #if (HALMAC_8198F_SUPPORT) 6228 6229 #define REG_HISR4 0x1094 6230 6231 #endif 6232 6233 #if (HALMAC_8814B_SUPPORT) 6234 6235 #define REG_DATA_CPU_CTL1 0x1094 6236 6237 #endif 6238 6239 #if (HALMAC_8198F_SUPPORT) 6240 6241 #define REG_HIMR5 0x1098 6242 6243 #endif 6244 6245 #if (HALMAC_8814B_SUPPORT) 6246 6247 #define REG_TXDMA_STOP_HIMR 0x1098 6248 6249 #endif 6250 6251 #if (HALMAC_8198F_SUPPORT) 6252 6253 #define REG_HISR5 0x109C 6254 6255 #endif 6256 6257 #if (HALMAC_8814B_SUPPORT) 6258 6259 #define REG_TXDMA_STOP_HISR 0x109C 6260 #define REG_TXDMA_START_HIMR 0x10A0 6261 #define REG_TXDMA_START_HISR 0x10A4 6262 6263 #endif 6264 6265 #if (HALMAC_8197G_SUPPORT) 6266 6267 #define REG_NFC_PAD_CTRL 0x10A8 6268 6269 #endif 6270 6271 #if (HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT) 6272 6273 #define REG_NFCPAD_CTRL 0x10A8 6274 6275 #endif 6276 6277 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 6278 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 6279 HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 6280 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 6281 6282 #define REG_HIMR2 0x10B0 6283 #define REG_HISR2 0x10B4 6284 #define REG_HIMR3 0x10B8 6285 #define REG_HISR3 0x10BC 6286 #define REG_SW_MDIO 0x10C0 6287 6288 #endif 6289 6290 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 6291 HALMAC_8198F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 6292 HALMAC_8822B_SUPPORT) 6293 6294 #define REG_SW_FLUSH 0x10C4 6295 6296 #endif 6297 6298 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 6299 6300 #define REG_DBG_GPIO_BMUX 0x10C8 6301 6302 #endif 6303 6304 #if (HALMAC_8814B_SUPPORT) 6305 6306 #define REG_HIMR_7 0x10C8 6307 6308 #endif 6309 6310 #if (HALMAC_8197F_SUPPORT || HALMAC_8198F_SUPPORT) 6311 6312 #define REG_FPGA_TAG 0x10CC 6313 6314 #endif 6315 6316 #if (HALMAC_8814B_SUPPORT) 6317 6318 #define REG_HISR_7 0x10CC 6319 6320 #endif 6321 6322 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 6323 6324 #define REG_WL_DSS_CTRL0 0x10D0 6325 6326 #endif 6327 6328 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 6329 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 6330 6331 #define REG_H2C_PKT_READADDR 0x10D0 6332 6333 #endif 6334 6335 #if (HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 6336 6337 #define REG_WL_DSS_STATUS0 0x10D4 6338 6339 #endif 6340 6341 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 6342 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 6343 6344 #define REG_H2C_PKT_WRITEADDR 0x10D4 6345 6346 #endif 6347 6348 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 6349 6350 #define REG_WL_DSS_CTRL1 0x10D8 6351 6352 #endif 6353 6354 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 6355 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 6356 6357 #define REG_MEM_PWR_CRTL 0x10D8 6358 6359 #endif 6360 6361 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 6362 6363 #define REG_WL_DSS_STATUS1 0x10DC 6364 6365 #endif 6366 6367 #if (HALMAC_8814B_SUPPORT) 6368 6369 #define REG_FW_DRV_HANDSHAKE 0x10DC 6370 6371 #endif 6372 6373 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 6374 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 6375 HALMAC_8822B_SUPPORT) 6376 6377 #define REG_FW_DBG0 0x10E0 6378 #define REG_FW_DBG1 0x10E4 6379 6380 #endif 6381 6382 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 6383 HALMAC_8198F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 6384 HALMAC_8814B_SUPPORT || HALMAC_8822B_SUPPORT) 6385 6386 #define REG_FW_DBG2 0x10E8 6387 #define REG_FW_DBG3 0x10EC 6388 #define REG_FW_DBG4 0x10F0 6389 #define REG_FW_DBG5 0x10F4 6390 6391 #endif 6392 6393 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 6394 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 6395 HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 6396 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 6397 6398 #define REG_FW_DBG6 0x10F8 6399 #define REG_FW_DBG7 0x10FC 6400 6401 #endif 6402 6403 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 6404 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 6405 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 6406 HALMAC_8822C_SUPPORT) 6407 6408 #define REG_CR_EXT 0x1100 6409 6410 #endif 6411 6412 #if (HALMAC_8814B_SUPPORT) 6413 6414 #define REG_TC9_CTRL 0x1104 6415 #define REG_TC10_CTRL 0x1108 6416 #define REG_TC11_CTRL 0x110C 6417 #define REG_TC12_CTRL 0x1110 6418 6419 #endif 6420 6421 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 6422 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 6423 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 6424 HALMAC_8822C_SUPPORT) 6425 6426 #define REG_FWFF 0x1114 6427 6428 #endif 6429 6430 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 6431 HALMAC_8812F_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 6432 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 6433 6434 #define REG_RXFF_PTR_V1 0x1118 6435 #define REG_RXFF_WTR_V1 0x111C 6436 6437 #endif 6438 6439 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 6440 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 6441 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 6442 HALMAC_8822C_SUPPORT) 6443 6444 #define REG_FE2IMR 0x1120 6445 #define REG_FE2ISR 0x1124 6446 #define REG_FE3IMR 0x1128 6447 #define REG_FE3ISR 0x112C 6448 #define REG_FE4IMR 0x1130 6449 #define REG_FE4ISR 0x1134 6450 #define REG_FT1IMR 0x1138 6451 #define REG_FT1ISR 0x113C 6452 #define REG_SPWR0 0x1140 6453 #define REG_SPWR1 0x1144 6454 #define REG_SPWR2 0x1148 6455 #define REG_SPWR3 0x114C 6456 #define REG_POWSEQ 0x1150 6457 6458 #endif 6459 6460 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 6461 HALMAC_8812F_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 6462 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 6463 6464 #define REG_TC7_CTRL_V1 0x1158 6465 #define REG_TC8_CTRL_V1 0x115C 6466 6467 #endif 6468 6469 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 6470 6471 #define REG_RXBCN_TBTT_INTERVAL_PORT0TO3 0x1160 6472 6473 #endif 6474 6475 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 6476 HALMAC_8822C_SUPPORT) 6477 6478 #define REG_RX_BCN_TBTT_ITVL0 0x1160 6479 6480 #endif 6481 6482 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 6483 6484 #define REG_RXBCN_TBTT_INTERVAL_PORT4 0x1164 6485 6486 #endif 6487 6488 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 6489 HALMAC_8822C_SUPPORT) 6490 6491 #define REG_RX_BCN_TBTT_ITVL1 0x1164 6492 6493 #endif 6494 6495 #if (HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8814B_SUPPORT) 6496 6497 #define REG_FWIMR1 0x1168 6498 #define REG_FWISR1 0x116C 6499 #define REG_FWIMR2 0x1170 6500 6501 #endif 6502 6503 #if (HALMAC_8812F_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 6504 6505 #define REG_IO_WRAP_ERR_FLAG 0x1170 6506 6507 #endif 6508 6509 #if (HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8814B_SUPPORT) 6510 6511 #define REG_FWISR2 0x1174 6512 6513 #endif 6514 6515 #if (HALMAC_8814B_SUPPORT) 6516 6517 #define REG_FWIMR3 0x1178 6518 #define REG_FWISR3 0x117C 6519 6520 #endif 6521 6522 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 6523 HALMAC_8822C_SUPPORT) 6524 6525 #define REG_SPEED_SENSOR 0x1180 6526 #define REG_SPEED_SENSOR1 0x1184 6527 #define REG_SPEED_SENSOR2 0x1188 6528 #define REG_SPEED_SENSOR3 0x118C 6529 #define REG_SPEED_SENSOR4 0x1190 6530 #define REG_SPEED_SENSOR5 0x1194 6531 6532 #endif 6533 6534 #if (HALMAC_8814B_SUPPORT) 6535 6536 #define REG_RXPKTBUF_1_MAX_ADDR 0x1198 6537 #define REG_RXFWBUF_1_MAX_ADDR 0x119C 6538 #define REG_IO_WRAP_ERR_FLAG_V1 0x11A0 6539 #define REG_RXPKTBUF_1_READ 0x11A4 6540 #define REG_RXPKTBUF_1_WRITE 0x11A8 6541 #define REG_BUFF_DBGUG 0x11AC 6542 #define REG_RFE_CTRL_PAD_E2 0x11B0 6543 #define REG_RFE_CTRL_PAD_SR 0x11B4 6544 6545 #endif 6546 6547 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 6548 HALMAC_8814AMP_SUPPORT) 6549 6550 #define REG_EXT_QUEUE_REG 0x11C0 6551 6552 #endif 6553 6554 #if (HALMAC_8814B_SUPPORT) 6555 6556 #define REG_H2C_PRIORITY_SEL 0x11C0 6557 6558 #endif 6559 6560 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 6561 HALMAC_8814AMP_SUPPORT) 6562 6563 #define REG_COUNTER_CONTROL 0x11C4 6564 6565 #endif 6566 6567 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 6568 HALMAC_8822C_SUPPORT) 6569 6570 #define REG_COUNTER_CTRL 0x11C4 6571 6572 #endif 6573 6574 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 6575 HALMAC_8814AMP_SUPPORT) 6576 6577 #define REG_COUNTER_TH 0x11C8 6578 6579 #endif 6580 6581 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 6582 HALMAC_8822C_SUPPORT) 6583 6584 #define REG_COUNTER_THRESHOLD 0x11C8 6585 6586 #endif 6587 6588 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 6589 HALMAC_8812F_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 6590 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 6591 6592 #define REG_COUNTER_SET 0x11CC 6593 #define REG_COUNTER_OVERFLOW 0x11D0 6594 6595 #endif 6596 6597 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 6598 HALMAC_8814AMP_SUPPORT) 6599 6600 #define REG_TDE_LEN_TH 0x11D4 6601 6602 #endif 6603 6604 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 6605 HALMAC_8822C_SUPPORT) 6606 6607 #define REG_TXDMA_LEN_THRESHOLD 0x11D4 6608 6609 #endif 6610 6611 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 6612 HALMAC_8814AMP_SUPPORT) 6613 6614 #define REG_RDE_LEN_TH 0x11D8 6615 6616 #endif 6617 6618 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 6619 HALMAC_8822C_SUPPORT) 6620 6621 #define REG_RXDMA_LEN_THRESHOLD 0x11D8 6622 6623 #endif 6624 6625 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 6626 HALMAC_8814AMP_SUPPORT) 6627 6628 #define REG_PCIE_EXEC_TIME 0x11DC 6629 6630 #endif 6631 6632 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 6633 HALMAC_8822C_SUPPORT) 6634 6635 #define REG_PCIE_EXEC_TIME_THRESHOLD 0x11DC 6636 6637 #endif 6638 6639 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 6640 HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 6641 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 6642 6643 #define REG_FT2IMR 0x11E0 6644 #define REG_FT2ISR 0x11E4 6645 6646 #endif 6647 6648 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 6649 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 6650 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 6651 HALMAC_8822C_SUPPORT) 6652 6653 #define REG_MSG2 0x11F0 6654 #define REG_MSG3 0x11F4 6655 #define REG_MSG4 0x11F8 6656 #define REG_MSG5 0x11FC 6657 #define REG_DDMA_CH0SA 0x1200 6658 #define REG_DDMA_CH0DA 0x1204 6659 #define REG_DDMA_CH0CTRL 0x1208 6660 #define REG_DDMA_CH1SA 0x1210 6661 #define REG_DDMA_CH1DA 0x1214 6662 #define REG_DDMA_CH1CTRL 0x1218 6663 #define REG_DDMA_CH2SA 0x1220 6664 #define REG_DDMA_CH2DA 0x1224 6665 #define REG_DDMA_CH2CTRL 0x1228 6666 #define REG_DDMA_CH3SA 0x1230 6667 #define REG_DDMA_CH3DA 0x1234 6668 #define REG_DDMA_CH3CTRL 0x1238 6669 #define REG_DDMA_CH4SA 0x1240 6670 #define REG_DDMA_CH4DA 0x1244 6671 #define REG_DDMA_CH4CTRL 0x1248 6672 #define REG_DDMA_CH5SA 0x1250 6673 #define REG_DDMA_CH5DA 0x1254 6674 6675 #endif 6676 6677 #if (HALMAC_8197F_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8814A_SUPPORT || \ 6678 HALMAC_8814AMP_SUPPORT || HALMAC_8822B_SUPPORT) 6679 6680 #define REG_REG_DDMA_CH5CTRL 0x1258 6681 6682 #endif 6683 6684 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 6685 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 6686 6687 #define REG_DDMA_CH5CTRL 0x1258 6688 6689 #endif 6690 6691 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 6692 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 6693 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 6694 HALMAC_8822C_SUPPORT) 6695 6696 #define REG_DDMA_INT_MSK 0x12E0 6697 #define REG_DDMA_CHSTATUS 0x12E8 6698 #define REG_DDMA_CHKSUM 0x12F0 6699 #define REG_DDMA_MONITOR 0x12FC 6700 6701 #endif 6702 6703 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 6704 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 6705 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 6706 HALMAC_8822C_SUPPORT) 6707 6708 #define REG_STC_INT_CS 0x1300 6709 #define REG_ST_INT_CFG 0x1304 6710 6711 #endif 6712 6713 #if (HALMAC_8814B_SUPPORT) 6714 6715 #define REG_ACH4_ACH5_TXBD_NUM 0x130C 6716 6717 #endif 6718 6719 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 6720 HALMAC_8198F_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 6721 HALMAC_8822B_SUPPORT) 6722 6723 #define REG_CMU_DLY_CTRL 0x1310 6724 #define REG_CMU_DLY_CFG 0x1314 6725 6726 #endif 6727 6728 #if (HALMAC_8814B_SUPPORT) 6729 6730 #define REG_FWCMDQ_TXBD_IDX 0x1318 6731 #define REG_P0HI8Q_TXBD_IDX 0x131C 6732 6733 #endif 6734 6735 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 6736 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 6737 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 6738 6739 #define REG_H2CQ_TXBD_DESA 0x1320 6740 6741 #endif 6742 6743 #if (HALMAC_8814B_SUPPORT) 6744 6745 #define REG_H2CQ_TXBD_DESA_L 0x1320 6746 #define REG_H2CQ_TXBD_DESA_H 0x1324 6747 6748 #endif 6749 6750 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 6751 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 6752 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 6753 HALMAC_8822C_SUPPORT) 6754 6755 #define REG_H2CQ_TXBD_NUM 0x1328 6756 6757 #endif 6758 6759 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 6760 HALMAC_8812F_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 6761 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 6762 6763 #define REG_H2CQ_TXBD_IDX 0x132C 6764 6765 #endif 6766 6767 #if (HALMAC_8192F_SUPPORT || HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || \ 6768 HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 6769 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 6770 HALMAC_8822C_SUPPORT) 6771 6772 #define REG_H2CQ_CSR 0x1330 6773 6774 #endif 6775 6776 #if (HALMAC_8814B_SUPPORT) 6777 6778 #define REG_P0HI9Q_TXBD_IDX 0x1334 6779 #define REG_P0HI10Q_TXBD_IDX 0x1338 6780 #define REG_P0HI11Q_TXBD_IDX 0x133C 6781 #define REG_P0HI12Q_TXBD_IDX 0x1340 6782 6783 #endif 6784 6785 #if (HALMAC_8192F_SUPPORT) 6786 6787 #define REG_CPL_BUFFER_MONITOR 0x1344 6788 6789 #endif 6790 6791 #if (HALMAC_8814B_SUPPORT) 6792 6793 #define REG_P0HI13Q_TXBD_IDX 0x1344 6794 6795 #endif 6796 6797 #if (HALMAC_8192F_SUPPORT) 6798 6799 #define REG_PTM_LOCAL_CLOCK 0x1348 6800 6801 #endif 6802 6803 #if (HALMAC_8814B_SUPPORT) 6804 6805 #define REG_P0HI14Q_TXBD_IDX 0x1348 6806 6807 #endif 6808 6809 #if (HALMAC_8192F_SUPPORT) 6810 6811 #define REG_PTM_LOCAL_CLOCK_H 0x134C 6812 6813 #endif 6814 6815 #if (HALMAC_8814B_SUPPORT) 6816 6817 #define REG_P0HI15Q_TXBD_IDX 0x134C 6818 6819 #endif 6820 6821 #if (HALMAC_8192F_SUPPORT) 6822 6823 #define REG_TSFT_PTM_DIFF 0x1350 6824 6825 #endif 6826 6827 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 6828 6829 #define REG_AXI_EXCEPT_CS 0x1350 6830 6831 #endif 6832 6833 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8822B_SUPPORT || \ 6834 HALMAC_8822C_SUPPORT) 6835 6836 #define REG_CHANGE_PCIE_SPEED 0x1350 6837 6838 #endif 6839 6840 #if (HALMAC_8192F_SUPPORT) 6841 6842 #define REG_PTM_CTRL_STATUS 0x1354 6843 6844 #endif 6845 6846 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 6847 6848 #define REG_AXI_EXCEPT_TIME 0x1354 6849 6850 #endif 6851 6852 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8822C_SUPPORT) 6853 6854 #define REG_DEBUG_STATE1 0x1354 6855 6856 #endif 6857 6858 #if (HALMAC_8192F_SUPPORT) 6859 6860 #define REG_QUEUE_HEADER_CUR_REMAIN 0x1358 6861 6862 #endif 6863 6864 #if (HALMAC_8198F_SUPPORT) 6865 6866 #define REG_HI8Q_TXBD_IDX 0x1358 6867 6868 #endif 6869 6870 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8822C_SUPPORT) 6871 6872 #define REG_DEBUG_STATE2 0x1358 6873 6874 #endif 6875 6876 #if (HALMAC_8192F_SUPPORT) 6877 6878 #define REG_QUEUE_HEADER_MIN_REMAIN 0x135C 6879 6880 #endif 6881 6882 #if (HALMAC_8198F_SUPPORT) 6883 6884 #define REG_HI9Q_TXBD_IDX 0x135C 6885 6886 #endif 6887 6888 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8822C_SUPPORT) 6889 6890 #define REG_DEBUG_STATE3 0x135C 6891 6892 #endif 6893 6894 #if (HALMAC_8198F_SUPPORT) 6895 6896 #define REG_HI10Q_TXBD_IDX 0x1360 6897 6898 #endif 6899 6900 #if (HALMAC_8814B_SUPPORT) 6901 6902 #define REG_ACH5_TXBD_DESA_L 0x1360 6903 6904 #endif 6905 6906 #if (HALMAC_8198F_SUPPORT) 6907 6908 #define REG_HI11Q_TXBD_IDX 0x1364 6909 6910 #endif 6911 6912 #if (HALMAC_8814B_SUPPORT) 6913 6914 #define REG_ACH5_TXBD_DESA_H 0x1364 6915 6916 #endif 6917 6918 #if (HALMAC_8198F_SUPPORT) 6919 6920 #define REG_HI12Q_TXBD_IDX 0x1368 6921 6922 #endif 6923 6924 #if (HALMAC_8814B_SUPPORT) 6925 6926 #define REG_ACH6_TXBD_DESA_L 0x1368 6927 6928 #endif 6929 6930 #if (HALMAC_8198F_SUPPORT) 6931 6932 #define REG_HI13Q_TXBD_IDX 0x136C 6933 6934 #endif 6935 6936 #if (HALMAC_8814B_SUPPORT) 6937 6938 #define REG_ACH6_TXBD_DESA_H 0x136C 6939 6940 #endif 6941 6942 #if (HALMAC_8198F_SUPPORT) 6943 6944 #define REG_HI14Q_TXBD_IDX 0x1370 6945 6946 #endif 6947 6948 #if (HALMAC_8814B_SUPPORT) 6949 6950 #define REG_ACH7_TXBD_DESA_L 0x1370 6951 6952 #endif 6953 6954 #if (HALMAC_8198F_SUPPORT) 6955 6956 #define REG_HI15Q_TXBD_IDX 0x1374 6957 6958 #endif 6959 6960 #if (HALMAC_8814B_SUPPORT) 6961 6962 #define REG_ACH7_TXBD_DESA_H 0x1374 6963 6964 #endif 6965 6966 #if (HALMAC_8198F_SUPPORT) 6967 6968 #define REG_HI8Q_TXBD_DESA 0x1378 6969 6970 #endif 6971 6972 #if (HALMAC_8814B_SUPPORT) 6973 6974 #define REG_ACH8_TXBD_DESA_L 0x1378 6975 6976 #endif 6977 6978 #if (HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 6979 6980 #define REG_CHNL_DMA_CFG_V1 0x137C 6981 6982 #endif 6983 6984 #if (HALMAC_8814B_SUPPORT) 6985 6986 #define REG_ACH8_TXBD_DESA_H 0x137C 6987 6988 #endif 6989 6990 #if (HALMAC_8198F_SUPPORT) 6991 6992 #define REG_HI9Q_TXBD_DESA 0x1380 6993 6994 #endif 6995 6996 #if (HALMAC_8814B_SUPPORT) 6997 6998 #define REG_ACH9_TXBD_DESA_L 0x1380 6999 #define REG_ACH9_TXBD_DESA_H 0x1384 7000 7001 #endif 7002 7003 #if (HALMAC_8198F_SUPPORT) 7004 7005 #define REG_HI10Q_TXBD_DESA 0x1388 7006 7007 #endif 7008 7009 #if (HALMAC_8814B_SUPPORT) 7010 7011 #define REG_ACH10_TXBD_DESA_L 0x1388 7012 #define REG_ACH10_TXBD_DESA_H 0x138C 7013 7014 #endif 7015 7016 #if (HALMAC_8198F_SUPPORT) 7017 7018 #define REG_HI11Q_TXBD_DESA 0x1390 7019 7020 #endif 7021 7022 #if (HALMAC_8814B_SUPPORT) 7023 7024 #define REG_ACH11_TXBD_DESA_L 0x1390 7025 #define REG_ACH11_TXBD_DESA_H 0x1394 7026 7027 #endif 7028 7029 #if (HALMAC_8198F_SUPPORT) 7030 7031 #define REG_HI12Q_TXBD_DESA 0x1398 7032 7033 #endif 7034 7035 #if (HALMAC_8814B_SUPPORT) 7036 7037 #define REG_ACH12_TXBD_DESA_L 0x1398 7038 #define REG_ACH12_TXBD_DESA_H 0x139C 7039 7040 #endif 7041 7042 #if (HALMAC_8198F_SUPPORT) 7043 7044 #define REG_HI13Q_TXBD_DESA 0x13A0 7045 7046 #endif 7047 7048 #if (HALMAC_8814B_SUPPORT) 7049 7050 #define REG_ACH13_TXBD_DESA_L 0x13A0 7051 #define REG_ACH13_TXBD_DESA_H 0x13A4 7052 7053 #endif 7054 7055 #if (HALMAC_8198F_SUPPORT) 7056 7057 #define REG_HI14Q_TXBD_DESA 0x13A8 7058 7059 #endif 7060 7061 #if (HALMAC_8814B_SUPPORT) 7062 7063 #define REG_HI0Q_TXBD_DESA_L 0x13A8 7064 #define REG_HI0Q_TXBD_DESA_H 0x13AC 7065 7066 #endif 7067 7068 #if (HALMAC_8198F_SUPPORT) 7069 7070 #define REG_HI15Q_TXBD_DESA 0x13B0 7071 7072 #endif 7073 7074 #if (HALMAC_8814B_SUPPORT) 7075 7076 #define REG_HI1Q_TXBD_DESA_L 0x13B0 7077 7078 #endif 7079 7080 #if (HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 7081 7082 #define REG_PCIE_HISR0_V1 0x13B4 7083 7084 #endif 7085 7086 #if (HALMAC_8814B_SUPPORT) 7087 7088 #define REG_HI1Q_TXBD_DESA_H 0x13B4 7089 7090 #endif 7091 7092 #if (HALMAC_8198F_SUPPORT) 7093 7094 #define REG_HI8Q_TXBD_NUM 0x13B8 7095 7096 #endif 7097 7098 #if (HALMAC_8814B_SUPPORT) 7099 7100 #define REG_HI2Q_TXBD_DESA_L 0x13B8 7101 7102 #endif 7103 7104 #if (HALMAC_8198F_SUPPORT) 7105 7106 #define REG_HI9Q_TXBD_NUM 0x13BA 7107 #define REG_HI10Q_TXBD_NUM 0x13BC 7108 7109 #endif 7110 7111 #if (HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 7112 7113 #define REG_PCIE_HISR1_V1 0x13BC 7114 7115 #endif 7116 7117 #if (HALMAC_8814B_SUPPORT) 7118 7119 #define REG_HI2Q_TXBD_DESA_H 0x13BC 7120 7121 #endif 7122 7123 #if (HALMAC_8198F_SUPPORT) 7124 7125 #define REG_HI11Q_TXBD_NUM 0x13BE 7126 #define REG_HI12Q_TXBD_NUM 0x13C0 7127 7128 #endif 7129 7130 #if (HALMAC_8814B_SUPPORT) 7131 7132 #define REG_HI3Q_TXBD_DESA_L 0x13C0 7133 7134 #endif 7135 7136 #if (HALMAC_8198F_SUPPORT) 7137 7138 #define REG_HI13Q_TXBD_NUM 0x13C2 7139 #define REG_HI14Q_TXBD_NUM 0x13C4 7140 7141 #endif 7142 7143 #if (HALMAC_8814B_SUPPORT) 7144 7145 #define REG_HI3Q_TXBD_DESA_H 0x13C4 7146 7147 #endif 7148 7149 #if (HALMAC_8198F_SUPPORT) 7150 7151 #define REG_HI15Q_TXBD_NUM 0x13C6 7152 #define REG_HIQ_DMA_STOP 0x13C8 7153 7154 #endif 7155 7156 #if (HALMAC_8814B_SUPPORT) 7157 7158 #define REG_HI4Q_TXBD_DESA_L 0x13C8 7159 #define REG_HI4Q_TXBD_DESA_H 0x13CC 7160 #define REG_HI5Q_TXBD_DESA_L 0x13D0 7161 #define REG_HI5Q_TXBD_DESA_H 0x13D4 7162 #define REG_HI6Q_TXBD_DESA_L 0x13D8 7163 #define REG_HI6Q_TXBD_DESA_H 0x13DC 7164 #define REG_HI7Q_TXBD_DESA_L 0x13E0 7165 #define REG_HI7Q_TXBD_DESA_H 0x13E4 7166 #define REG_ACH8_ACH9_TXBD_NUM 0x13E8 7167 #define REG_ACH10_ACH11_TXBD_NUM 0x13EC 7168 #define REG_ACH12_ACH13_TXBD_NUM 0x13F0 7169 7170 #endif 7171 7172 #if (HALMAC_8814B_SUPPORT || HALMAC_8822B_SUPPORT) 7173 7174 #define REG_OLD_DEHANG 0x13F4 7175 7176 #endif 7177 7178 #if (HALMAC_8814B_SUPPORT) 7179 7180 #define REG_ACH4_TXBD_DESA_L 0x13F8 7181 #define REG_ACH4_TXBD_DESA_H 0x13FC 7182 7183 #endif 7184 7185 #if (HALMAC_8197F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 7186 HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 7187 HALMAC_8822C_SUPPORT) 7188 7189 #define REG_Q0_Q1_INFO 0x1400 7190 7191 #endif 7192 7193 #if (HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 7194 7195 #define REG_ARFR6 0x1400 7196 7197 #endif 7198 7199 #if (HALMAC_8814B_SUPPORT) 7200 7201 #define REG_MU_OFFSET 0x1400 7202 7203 #endif 7204 7205 #if (HALMAC_8197F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 7206 HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 7207 HALMAC_8822C_SUPPORT) 7208 7209 #define REG_Q2_Q3_INFO 0x1404 7210 7211 #endif 7212 7213 #if (HALMAC_8197G_SUPPORT) 7214 7215 #define REG_ARFRH6 0x1404 7216 7217 #endif 7218 7219 #if (HALMAC_8197F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 7220 HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 7221 HALMAC_8822C_SUPPORT) 7222 7223 #define REG_Q4_Q5_INFO 0x1408 7224 7225 #endif 7226 7227 #if (HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 7228 7229 #define REG_ARFR7 0x1408 7230 7231 #endif 7232 7233 #if (HALMAC_8197F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 7234 HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 7235 HALMAC_8822C_SUPPORT) 7236 7237 #define REG_Q6_Q7_INFO 0x140C 7238 7239 #endif 7240 7241 #if (HALMAC_8197G_SUPPORT) 7242 7243 #define REG_ARFRH7 0x140C 7244 7245 #endif 7246 7247 #if (HALMAC_8197F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 7248 HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 7249 HALMAC_8822C_SUPPORT) 7250 7251 #define REG_MGQ_HIQ_INFO 0x1410 7252 7253 #endif 7254 7255 #if (HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 7256 7257 #define REG_ARFR8 0x1410 7258 7259 #endif 7260 7261 #if (HALMAC_8197F_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || \ 7262 HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 7263 HALMAC_8822C_SUPPORT) 7264 7265 #define REG_CMDQ_BCNQ_INFO 0x1414 7266 7267 #endif 7268 7269 #if (HALMAC_8197G_SUPPORT) 7270 7271 #define REG_ARFRH8 0x1414 7272 7273 #endif 7274 7275 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 7276 HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 7277 HALMAC_8822B_SUPPORT) 7278 7279 #define REG_USEREG_SETTING 0x1420 7280 7281 #endif 7282 7283 #if (HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 7284 7285 #define REG_LOOPBACK_OPTION 0x1420 7286 7287 #endif 7288 7289 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 7290 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 7291 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 7292 7293 #define REG_AESIV_SETTING 0x1424 7294 7295 #endif 7296 7297 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 7298 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 7299 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 7300 HALMAC_8822C_SUPPORT) 7301 7302 #define REG_BF0_TIME_SETTING 0x1428 7303 #define REG_BF1_TIME_SETTING 0x142C 7304 #define REG_BF_TIMEOUT_EN 0x1430 7305 7306 #endif 7307 7308 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 7309 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 7310 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 7311 7312 #define REG_MACID_RELEASE0 0x1434 7313 7314 #endif 7315 7316 #if (HALMAC_8814B_SUPPORT) 7317 7318 #define REG_MACID_RELEASE_INFO 0x1434 7319 7320 #endif 7321 7322 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 7323 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 7324 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 7325 7326 #define REG_MACID_RELEASE1 0x1438 7327 7328 #endif 7329 7330 #if (HALMAC_8814B_SUPPORT) 7331 7332 #define REG_MACID_RELEASE_SUCCESS_INFO 0x1438 7333 7334 #endif 7335 7336 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 7337 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 7338 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 7339 7340 #define REG_MACID_RELEASE2 0x143C 7341 7342 #endif 7343 7344 #if (HALMAC_8814B_SUPPORT) 7345 7346 #define REG_MACID_RELEASE_CTRL 0x143C 7347 7348 #endif 7349 7350 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 7351 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 7352 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 7353 7354 #define REG_MACID_RELEASE3 0x1440 7355 #define REG_MACID_RELEASE_SETTING 0x1444 7356 7357 #endif 7358 7359 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 7360 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 7361 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 7362 HALMAC_8822C_SUPPORT) 7363 7364 #define REG_FAST_EDCA_VOVI_SETTING 0x1448 7365 #define REG_FAST_EDCA_BEBK_SETTING 0x144C 7366 7367 #endif 7368 7369 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 7370 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 7371 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 7372 7373 #define REG_MACID_DROP0 0x1450 7374 7375 #endif 7376 7377 #if (HALMAC_8814B_SUPPORT) 7378 7379 #define REG_MACID_DROP_INFO 0x1450 7380 7381 #endif 7382 7383 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 7384 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 7385 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 7386 7387 #define REG_MACID_DROP1 0x1454 7388 7389 #endif 7390 7391 #if (HALMAC_8814B_SUPPORT) 7392 7393 #define REG_MACID_DROP_CTRL 0x1454 7394 7395 #endif 7396 7397 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 7398 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 7399 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 7400 7401 #define REG_MACID_DROP2 0x1458 7402 #define REG_MACID_DROP3 0x145C 7403 7404 #endif 7405 7406 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 7407 HALMAC_8812F_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 7408 HALMAC_8822C_SUPPORT) 7409 7410 #define REG_R_MACID_RELEASE_SUCCESS_0 0x1460 7411 #define REG_R_MACID_RELEASE_SUCCESS_1 0x1464 7412 #define REG_R_MACID_RELEASE_SUCCESS_2 0x1468 7413 #define REG_R_MACID_RELEASE_SUCCESS_3 0x146C 7414 7415 #endif 7416 7417 #if (HALMAC_8197F_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8822B_SUPPORT) 7418 7419 #define REG_MGG_FIFO_CRTL 0x1470 7420 7421 #endif 7422 7423 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 7424 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 7425 7426 #define REG_MGQ_FIFO_WRITE_POINTER 0x1470 7427 #define REG_MGQ_FIFO_READ_POINTER 0x1472 7428 #define REG_MGQ_FIFO_ENABLE 0x1472 7429 7430 #endif 7431 7432 #if (HALMAC_8197F_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8822B_SUPPORT) 7433 7434 #define REG_MGG_FIFO_INT 0x1474 7435 7436 #endif 7437 7438 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 7439 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 7440 7441 #define REG_MGQ_FIFO_RELEASE_INT_MASK 0x1474 7442 #define REG_MGQ_FIFO_RELEASE_INT_FLAG 0x1476 7443 7444 #endif 7445 7446 #if (HALMAC_8197F_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8822B_SUPPORT) 7447 7448 #define REG_MGG_FIFO_LIFETIME 0x1478 7449 7450 #endif 7451 7452 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 7453 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 7454 7455 #define REG_MGQ_FIFO_VALID_MAP 0x1478 7456 #define REG_MGQ_FIFO_LIFETIME 0x147A 7457 7458 #endif 7459 7460 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 7461 HALMAC_8812F_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 7462 HALMAC_8822C_SUPPORT) 7463 7464 #define REG_R_MACID_RELEASE_SUCCESS_CLEAR_OFFSET 0x147C 7465 7466 #endif 7467 7468 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 7469 HALMAC_8812F_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8821C_SUPPORT || \ 7470 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 7471 7472 #define REG_SHCUT_SETTING 0x1480 7473 7474 #endif 7475 7476 #if (HALMAC_8814B_SUPPORT) 7477 7478 #define REG_PKT_TRANS 0x1480 7479 7480 #endif 7481 7482 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 7483 HALMAC_8812F_SUPPORT || HALMAC_8814AMP_SUPPORT || HALMAC_8814B_SUPPORT || \ 7484 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 7485 7486 #define REG_SHCUT_LLC_ETH_TYPE0 0x1484 7487 #define REG_SHCUT_LLC_ETH_TYPE1 0x1488 7488 #define REG_SHCUT_LLC_OUI0 0x148C 7489 #define REG_SHCUT_LLC_OUI1 0x1490 7490 #define REG_SHCUT_LLC_OUI2 0x1494 7491 7492 #endif 7493 7494 #if (HALMAC_8197F_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 7495 HALMAC_8822B_SUPPORT) 7496 7497 #define REG_SHCUT_LLC_OUI3 0x1498 7498 7499 #endif 7500 7501 #if (HALMAC_8814B_SUPPORT) 7502 7503 #define REG_FWCMDQ_CTRL 0x14A0 7504 #define REG_FWCMDQ_PAGE 0x14A4 7505 #define REG_FWCMDQ_INFO 0x14A8 7506 #define REG_FWCMDQ_HOLD_PKTNUM 0x14AC 7507 7508 #endif 7509 7510 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8821C_SUPPORT || \ 7511 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 7512 7513 #define REG_MU_TX_CTL 0x14C0 7514 7515 #endif 7516 7517 #if (HALMAC_8814B_SUPPORT) 7518 7519 #define REG_MU_TX_CTRL 0x14C0 7520 7521 #endif 7522 7523 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 7524 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 7525 7526 #define REG_MU_STA_GID_VLD 0x14C4 7527 #define REG_MU_STA_USER_POS_INFO 0x14C8 7528 7529 #endif 7530 7531 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 7532 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 7533 7534 #define REG_MU_STA_USER_POS_INFO_H 0x14CC 7535 7536 #endif 7537 7538 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 7539 HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8822C_SUPPORT) 7540 7541 #define REG_CHNL_INFO_CTRL 0x14D0 7542 7543 #endif 7544 7545 #if (HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT) 7546 7547 #define REG_MU_TRX_DBG_CNT 0x14D0 7548 7549 #endif 7550 7551 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 7552 HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8822C_SUPPORT) 7553 7554 #define REG_CHNL_IDLE_TIME 0x14D4 7555 #define REG_CHNL_BUSY_TIME 0x14D8 7556 7557 #endif 7558 7559 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8822C_SUPPORT) 7560 7561 #define REG_MU_TRX_DBG_CNT_V1 0x14DC 7562 7563 #endif 7564 7565 #if (HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 7566 7567 #define REG_NEW_EDCA_CTRL 0x14F0 7568 7569 #endif 7570 7571 #if (HALMAC_8812F_SUPPORT) 7572 7573 #define REG_SU_DURATION 0x14F0 7574 #define REG_MU_DURATION 0x14F2 7575 7576 #endif 7577 7578 #if (HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8814B_SUPPORT) 7579 7580 #define REG_SWPS_CTRL 0x14F4 7581 7582 #endif 7583 7584 #if (HALMAC_8812F_SUPPORT) 7585 7586 #define REG_HW_NDPA_RTY_LIMIT 0x14F4 7587 7588 #endif 7589 7590 #if (HALMAC_8198F_SUPPORT || HALMAC_8814B_SUPPORT) 7591 7592 #define REG_SWPS_PKT_TH 0x14F6 7593 7594 #endif 7595 7596 #if (HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8814B_SUPPORT) 7597 7598 #define REG_SWPS_TIME_TH 0x14F8 7599 #define REG_MACID_SWPS_EN 0x14FC 7600 7601 #endif 7602 7603 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 7604 HALMAC_8812F_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 7605 HALMAC_8822C_SUPPORT) 7606 7607 #define REG_CPUMGQ_TX_TIMER 0x1500 7608 7609 #endif 7610 7611 #if (HALMAC_8814B_SUPPORT) 7612 7613 #define REG_PORT_CTRL_SEL 0x1500 7614 #define REG_PORT_CTRL_CFG 0x1501 7615 7616 #endif 7617 7618 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 7619 HALMAC_8812F_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 7620 HALMAC_8822C_SUPPORT) 7621 7622 #define REG_PS_TIMER_A 0x1504 7623 7624 #endif 7625 7626 #if (HALMAC_8814B_SUPPORT) 7627 7628 #define REG_TBTT_PROHIBIT_CFG 0x1504 7629 #define REG_DRVERLYINT_CFG 0x1507 7630 7631 #endif 7632 7633 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 7634 HALMAC_8812F_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 7635 HALMAC_8822C_SUPPORT) 7636 7637 #define REG_PS_TIMER_B 0x1508 7638 7639 #endif 7640 7641 #if (HALMAC_8814B_SUPPORT) 7642 7643 #define REG_BCNDMATIM_CFG 0x1508 7644 #define REG_CTWND_CFG 0x1509 7645 #define REG_BCNIVLCUNT_CFG 0x150A 7646 #define REG_EARLY_128US_CFG 0x150B 7647 7648 #endif 7649 7650 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 7651 HALMAC_8812F_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 7652 HALMAC_8822C_SUPPORT) 7653 7654 #define REG_PS_TIMER_C 0x150C 7655 7656 #endif 7657 7658 #if (HALMAC_8814B_SUPPORT) 7659 7660 #define REG_TSFTR_SYNC_OFFSET_CFG 0x150C 7661 #define REG_TSFTR_SYNC_CTRL_CFG 0x150F 7662 7663 #endif 7664 7665 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 7666 HALMAC_8812F_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 7667 HALMAC_8822C_SUPPORT) 7668 7669 #define REG_PS_TIMER_ABC_CPUMGQ_TIMER_CRTL 0x1510 7670 7671 #endif 7672 7673 #if (HALMAC_8814B_SUPPORT) 7674 7675 #define REG_BCN_SPACE_CFG 0x1510 7676 #define REG_EARLY_INT_ADJUST_CFG 0x1512 7677 7678 #endif 7679 7680 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 7681 HALMAC_8812F_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 7682 HALMAC_8822C_SUPPORT) 7683 7684 #define REG_CPUMGQ_TX_TIMER_EARLY 0x1514 7685 #define REG_PS_TIMER_A_EARLY 0x1515 7686 #define REG_PS_TIMER_B_EARLY 0x1516 7687 #define REG_PS_TIMER_C_EARLY 0x1517 7688 7689 #endif 7690 7691 #if (HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8812F_SUPPORT || \ 7692 HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 7693 7694 #define REG_CPUMGQ_PARAMETER 0x1518 7695 7696 #endif 7697 7698 #if (HALMAC_8814B_SUPPORT) 7699 7700 #define REG_SW_TBTT_TSF_INFO 0x151C 7701 7702 #endif 7703 7704 #if (HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 7705 7706 #define REG_TSF_SYN_CTRL0 0x1520 7707 7708 #endif 7709 7710 #if (HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 7711 7712 #define REG_TSF_SYNC_ADJ 0x1520 7713 7714 #endif 7715 7716 #if (HALMAC_8814B_SUPPORT) 7717 7718 #define REG_TSFTR_LOW 0x1520 7719 7720 #endif 7721 7722 #if (HALMAC_8198F_SUPPORT) 7723 7724 #define REG_TSF_SYN_CTRL1 0x1521 7725 #define REG_TSF_SYN_OFFSET0 0x1522 7726 7727 #endif 7728 7729 #if (HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 7730 7731 #define REG_TSF_SYN_OFFSET1 0x1524 7732 7733 #endif 7734 7735 #if (HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 7736 7737 #define REG_TSF_ADJ_VLAUE 0x1524 7738 7739 #endif 7740 7741 #if (HALMAC_8814B_SUPPORT) 7742 7743 #define REG_TSFTR_HIGH 0x1524 7744 7745 #endif 7746 7747 #if (HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT) 7748 7749 #define REG_TSF_SYN_OFFSET2 0x1528 7750 7751 #endif 7752 7753 #if (HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 7754 7755 #define REG_TSF_ADJ_VLAUE_2 0x1528 7756 7757 #endif 7758 7759 #if (HALMAC_8814B_SUPPORT) 7760 7761 #define REG_BCN_ERR_CNT_MAC 0x1528 7762 #define REG_BCN_ERR_CNT_EDCCA 0x1529 7763 #define REG_BCN_ERR_CNT_CCA 0x152A 7764 #define REG_BCN_ERR_CNT_INVALID 0x152B 7765 #define REG_BCN_ERR_CNT_OTHERS 0x152C 7766 #define REG_RX_BCN_TIMER 0x152D 7767 7768 #endif 7769 7770 #if (HALMAC_8197G_SUPPORT) 7771 7772 #define REG_TSF_SYN_COMPARE_VALUE_L 0x1530 7773 7774 #endif 7775 7776 #if (HALMAC_8198F_SUPPORT) 7777 7778 #define REG_TSF_SYN_COMPARE_VALUE 0x1530 7779 7780 #endif 7781 7782 #if (HALMAC_8814B_SUPPORT) 7783 7784 #define REG_TBTT_CTN_AREA_V1 0x1530 7785 #define REG_BCN_MAX_ERR_V1 0x1531 7786 #define REG_RXTSF_OFFSET_CCK_V1 0x1532 7787 #define REG_RXTSF_OFFSET_OFDM_V1 0x1533 7788 7789 #endif 7790 7791 #if (HALMAC_8197G_SUPPORT) 7792 7793 #define REG_TSF_SYN_COMPARE_VALUE_H 0x1534 7794 7795 #endif 7796 7797 #if (HALMAC_8814B_SUPPORT) 7798 7799 #define REG_SUB_BCN_SPACE 0x1534 7800 #define REG_MBID_NUM_V1 0x1535 7801 #define REG_MBSSID_CTRL_V1 0x1536 7802 #define REG_USTIME_TSF_V1 0x1538 7803 #define REG_BW_CFG 0x1539 7804 #define REG_ATIMWND_CFG 0x153A 7805 #define REG_DTIM_COUNTER_CFG 0x153B 7806 #define REG_ATIM_DTIM_CTRL_SEL 0x153C 7807 #define REG_ATIMUGT_V1 0x153D 7808 #define REG_BCNDROPCTRL_V1 0x153E 7809 #define REG_DIS_ATIM_V1 0x1540 7810 #define REG_HIQ_NO_LMT_EN_V1 0x1544 7811 #define REG_P2PPS_CTRL_V1 0x1548 7812 #define REG_P2PPS_SPEC_STATE_V1 0x154A 7813 #define REG_P2PPS_STATE_V1 0x154B 7814 #define REG_P2PPS1_CTRL_V1 0x154C 7815 #define REG_P2PPS1_SPEC_STATE_V1 0x154E 7816 #define REG_P2PPS1_STATE_V1 0x154F 7817 #define REG_P2PPS2_CTRL_V1 0x1550 7818 #define REG_P2PPS2_SPEC_STATE_V1 0x1552 7819 #define REG_P2PPS2_STATE_V1 0x1553 7820 #define REG_P2PON_DIS_TXTIME_V1 0x1554 7821 #define REG_P2POFF_DIS_TXTIME_V1 0x1555 7822 #define REG_CHG_POWER_BCN_AREA 0x1556 7823 #define REG_NOA_SEL 0x1557 7824 #define REG_NOA_PARAM_V1 0x1558 7825 #define REG_NOA_PARAM_1_V1 0x155C 7826 #define REG_NOA_PARAM_2_V1 0x1560 7827 #define REG_NOA_PARAM_3_V1 0x1564 7828 #define REG_NOA_ON_ERLY_TIME_V1 0x1568 7829 #define REG_NOA_OFF_ERLY_TIME_V1 0x1569 7830 7831 #endif 7832 7833 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8822C_SUPPORT) 7834 7835 #define REG_P2PPS_HW_AUTO_PAUSE_CTRL 0x156C 7836 #define REG_P2PPS1_HW_AUTO_PAUSE_CTRL 0x1570 7837 #define REG_P2PPS2_HW_AUTO_PAUSE_CTRL 0x1574 7838 7839 #endif 7840 7841 #if (HALMAC_8814B_SUPPORT) 7842 7843 #define REG_RX_TBTT_SHIFT 0x1578 7844 #define REG_FREERUN_CNT_LOW 0x1580 7845 #define REG_FREERUN_CNT_HIGH 0x1584 7846 #define REG_CPUMGQ_TX_TIMER_V1 0x1588 7847 #define REG_PS_TIMER_0 0x158C 7848 #define REG_PS_TIMER_1 0x1590 7849 #define REG_PS_TIMER_2 0x1594 7850 #define REG_PS_TIMER_3 0x1598 7851 #define REG_PS_TIMER_4 0x159C 7852 #define REG_PS_TIMER_5 0x15A0 7853 #define REG_PS_TIMER_01_CTRL 0x15A4 7854 #define REG_PS_TIMER_23_CTRL 0x15A8 7855 #define REG_PS_TIMER_45_CTRL 0x15AC 7856 #define REG_CPUMGQ_FREERUN_TIMER_CTRL 0x15B0 7857 #define REG_CPUMGQ_PROHIBIT 0x15B4 7858 #define REG_TIMER_COMPARE 0x15C0 7859 #define REG_TIMER_COMPARE_VALUE_LOW 0x15C4 7860 #define REG_TIMER_COMPARE_VALUE_HIGH 0x15C8 7861 7862 #endif 7863 7864 #if (HALMAC_8197G_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8822C_SUPPORT) 7865 7866 #define REG_SCHEDULER_COUNTER 0x15D0 7867 7868 #endif 7869 7870 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 7871 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 7872 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 7873 HALMAC_8822C_SUPPORT) 7874 7875 #define REG_BCN_PSR_RPT2 0x1600 7876 #define REG_BCN_PSR_RPT3 0x1604 7877 #define REG_BCN_PSR_RPT4 0x1608 7878 #define REG_A1_ADDR_MASK 0x160C 7879 7880 #endif 7881 7882 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 7883 HALMAC_8822C_SUPPORT) 7884 7885 #define REG_RXPSF_CTRL 0x1610 7886 #define REG_RXPSF_TYPE_CTRL 0x1614 7887 #define REG_CAM_ACCESS_CTRL 0x1618 7888 7889 #endif 7890 7891 #if (HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 7892 7893 #define REG_HT_SND_REF_RATE 0x161C 7894 7895 #endif 7896 7897 #if (HALMAC_8814B_SUPPORT) 7898 7899 #define REG_CUT_AMSDU_CTRL 0x161C 7900 7901 #endif 7902 7903 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 7904 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 7905 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 7906 HALMAC_8822C_SUPPORT) 7907 7908 #define REG_MACID2 0x1620 7909 7910 #endif 7911 7912 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 7913 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 7914 7915 #define REG_MACID2_H 0x1624 7916 7917 #endif 7918 7919 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 7920 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 7921 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 7922 HALMAC_8822C_SUPPORT) 7923 7924 #define REG_BSSID2 0x1628 7925 7926 #endif 7927 7928 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 7929 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 7930 7931 #define REG_BSSID2_H 0x162C 7932 7933 #endif 7934 7935 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 7936 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 7937 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 7938 HALMAC_8822C_SUPPORT) 7939 7940 #define REG_MACID3 0x1630 7941 7942 #endif 7943 7944 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 7945 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 7946 7947 #define REG_MACID3_H 0x1634 7948 7949 #endif 7950 7951 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 7952 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 7953 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 7954 HALMAC_8822C_SUPPORT) 7955 7956 #define REG_BSSID3 0x1638 7957 7958 #endif 7959 7960 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 7961 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 7962 7963 #define REG_BSSID3_H 0x163C 7964 7965 #endif 7966 7967 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 7968 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 7969 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 7970 HALMAC_8822C_SUPPORT) 7971 7972 #define REG_MACID4 0x1640 7973 7974 #endif 7975 7976 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 7977 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 7978 7979 #define REG_MACID4_H 0x1644 7980 7981 #endif 7982 7983 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 7984 HALMAC_8812F_SUPPORT || HALMAC_8814A_SUPPORT || HALMAC_8814AMP_SUPPORT || \ 7985 HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822B_SUPPORT || \ 7986 HALMAC_8822C_SUPPORT) 7987 7988 #define REG_BSSID4 0x1648 7989 7990 #endif 7991 7992 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 7993 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 7994 7995 #define REG_BSSID4_H 0x164C 7996 7997 #endif 7998 7999 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 8000 HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 8001 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 8002 8003 #define REG_NOA_REPORT 0x1650 8004 8005 #endif 8006 8007 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 8008 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 8009 8010 #define REG_NOA_REPORT_1 0x1654 8011 #define REG_NOA_REPORT_2 0x1658 8012 #define REG_NOA_REPORT_3 0x165C 8013 8014 #endif 8015 8016 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 8017 HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 8018 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 8019 8020 #define REG_PWRBIT_SETTING 0x1660 8021 8022 #endif 8023 8024 #if (HALMAC_8822B_SUPPORT) 8025 8026 #define REG_MACRX_HANG_TIMER_CONTROL 0x1661 8027 8028 #endif 8029 8030 #if (HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8822C_SUPPORT) 8031 8032 #define REG_GENERAL_OPTION 0x1664 8033 8034 #endif 8035 8036 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT) 8037 8038 #define REG_RXAI_CTRL 0x1668 8039 8040 #endif 8041 8042 #if (HALMAC_8814B_SUPPORT) 8043 8044 #define REG_FWPHYFF_RCR 0x1668 8045 #define REG_ADDRCAM_WRITE_CONTENT 0x166C 8046 #define REG_ADDRCAM_READ_CONTENT 0x1670 8047 #define REG_ADDRCAM_CFG 0x1674 8048 8049 #endif 8050 8051 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 8052 HALMAC_8822C_SUPPORT) 8053 8054 #define REG_CSI_RRSR 0x1678 8055 8056 #endif 8057 8058 #if (HALMAC_8198F_SUPPORT) 8059 8060 #define REG_WMAC_CSI_FRAME_RRSR_SETTING 0x1678 8061 8062 #endif 8063 8064 #if (HALMAC_8197F_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8822B_SUPPORT) 8065 8066 #define REG_WMAC_MU_BF_OPTION 0x167C 8067 8068 #endif 8069 8070 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 8071 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 8072 8073 #define REG_MU_BF_OPTION 0x167C 8074 8075 #endif 8076 8077 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 8078 HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 8079 HALMAC_8822C_SUPPORT) 8080 8081 #define REG_WMAC_PAUSE_BB_CLR_TH 0x167D 8082 8083 #endif 8084 8085 #if (HALMAC_8197F_SUPPORT || HALMAC_8198F_SUPPORT || HALMAC_8821C_SUPPORT || \ 8086 HALMAC_8822B_SUPPORT) 8087 8088 #define REG_WMAC_MU_ARB 0x167E 8089 8090 #endif 8091 8092 #if (HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 8093 8094 #define REG__WMAC_MULBK_BUF 0x167E 8095 8096 #endif 8097 8098 #if (HALMAC_8814B_SUPPORT) 8099 8100 #define REG_WMAC_MULBK_BUF 0x167E 8101 8102 #endif 8103 8104 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 8105 HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 8106 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 8107 8108 #define REG_WMAC_MU_OPTION 0x167F 8109 #define REG_WMAC_MU_BF_CTL 0x1680 8110 #define REG_WMAC_MU_BFRPT_PARA 0x1682 8111 #define REG_WMAC_ASSOCIATED_MU_BFMEE2 0x1684 8112 #define REG_WMAC_ASSOCIATED_MU_BFMEE3 0x1686 8113 #define REG_WMAC_ASSOCIATED_MU_BFMEE4 0x1688 8114 #define REG_WMAC_ASSOCIATED_MU_BFMEE5 0x168A 8115 #define REG_WMAC_ASSOCIATED_MU_BFMEE6 0x168C 8116 #define REG_WMAC_ASSOCIATED_MU_BFMEE7 0x168E 8117 8118 #endif 8119 8120 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 8121 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 8122 8123 #define REG_WMAC_BB_STOP_RX_COUNTER 0x1690 8124 #define REG_WMAC_PLCP_MONITOR 0x1694 8125 8126 #endif 8127 8128 #if (HALMAC_8812F_SUPPORT || HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 8129 8130 #define REG_WMAC_PLCP_MONITOR_MUTX 0x1698 8131 8132 #endif 8133 8134 #if (HALMAC_8814B_SUPPORT) 8135 8136 #define REG_WMAC_DEBUG_PORT 0x1698 8137 8138 #endif 8139 8140 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 8141 8142 #define REG_WMAC_CSIDMA_CFG 0x169C 8143 8144 #endif 8145 8146 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 8147 HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 8148 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 8149 8150 #define REG_TRANSMIT_ADDRSS_0 0x16A0 8151 8152 #endif 8153 8154 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 8155 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 8156 8157 #define REG_TRANSMIT_ADDRSS_0_H 0x16A4 8158 8159 #endif 8160 8161 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 8162 HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 8163 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 8164 8165 #define REG_TRANSMIT_ADDRSS_1 0x16A8 8166 8167 #endif 8168 8169 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 8170 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 8171 8172 #define REG_TRANSMIT_ADDRSS_1_H 0x16AC 8173 8174 #endif 8175 8176 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 8177 HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 8178 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 8179 8180 #define REG_TRANSMIT_ADDRSS_2 0x16B0 8181 8182 #endif 8183 8184 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 8185 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 8186 8187 #define REG_TRANSMIT_ADDRSS_2_H 0x16B4 8188 8189 #endif 8190 8191 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 8192 HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 8193 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 8194 8195 #define REG_TRANSMIT_ADDRSS_3 0x16B8 8196 8197 #endif 8198 8199 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 8200 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 8201 8202 #define REG_TRANSMIT_ADDRSS_3_H 0x16BC 8203 8204 #endif 8205 8206 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 8207 HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 8208 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 8209 8210 #define REG_TRANSMIT_ADDRSS_4 0x16C0 8211 8212 #endif 8213 8214 #if (HALMAC_8197G_SUPPORT || HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || \ 8215 HALMAC_8821C_SUPPORT || HALMAC_8822C_SUPPORT) 8216 8217 #define REG_TRANSMIT_ADDRSS_4_H 0x16C4 8218 8219 #endif 8220 8221 #if (HALMAC_8812F_SUPPORT) 8222 8223 #define REG_SND_AID12 0x16D0 8224 #define REG_SND_PKT_INFO 0x16D2 8225 8226 #endif 8227 8228 #if (HALMAC_8197F_SUPPORT || HALMAC_8197G_SUPPORT || HALMAC_8198F_SUPPORT || \ 8229 HALMAC_8812F_SUPPORT || HALMAC_8814B_SUPPORT || HALMAC_8821C_SUPPORT || \ 8230 HALMAC_8822B_SUPPORT || HALMAC_8822C_SUPPORT) 8231 8232 #define REG_WL2LTECOEX_INDIRECT_ACCESS_CTRL_V1 0x1700 8233 #define REG_WL2LTECOEX_INDIRECT_ACCESS_WRITE_DATA_V1 0x1704 8234 #define REG_WL2LTECOEX_INDIRECT_ACCESS_READ_DATA_V1 0x1708 8235 8236 #endif 8237 8238 #if (HALMAC_8814B_SUPPORT) 8239 8240 #define REG_BIST_RSTN0 0x2100 8241 #define REG_BIST_RSTN2 0x2108 8242 #define REG_BIST_MODE_NRML0 0x2110 8243 #define REG_BIST_MODE_NRML1 0x2114 8244 #define REG_BIST_MODE_NRML2 0x2118 8245 #define REG_BIST_MODE_NRML3 0x211C 8246 #define REG_BIST_DONE_NRML_MAC 0x2150 8247 #define REG_BIST_DONE_NRML1 0x2158 8248 #define REG_BIST_DONE_DRF_MAC 0x2160 8249 #define REG_BIST_DONE_DRF 0x2164 8250 #define REG_BIST_DONE_DRF1 0x2168 8251 #define REG_BIST_FAIL_NRML_MAC 0x2170 8252 #define REG_BIST_FAIL_NRML 0x2174 8253 #define REG_BIST_FAIL_NRML1 0x2178 8254 #define REG_BIST_FAIL_NRML_MAC_V1 0x2180 8255 #define REG_BIST_FAIL_NRML_V1 0x2184 8256 #define REG_BIST_FAIL_NRML1_V1 0x2188 8257 #define REG_BIST_MISR_DATAOUT 0x2190 8258 #define REG_BIST_MISR_DATAOUT1 0x2194 8259 #define REG_BIST_MISR_DATAOUT_CPU 0x2198 8260 #define REG_BIST_MISR_DATAOUT_CPU1 0x219C 8261 #define REG_BIST_MISR_DATAOUT_CPU2 0x21A0 8262 #define REG_BIST_MISR_DATOUT_CPU3 0x21A4 8263 #define REG_DMA_RQPN_INFO_0 0x2200 8264 #define REG_DMA_RQPN_INFO_1 0x2204 8265 #define REG_DMA_RQPN_INFO_2 0x2208 8266 #define REG_DMA_RQPN_INFO_3 0x220C 8267 #define REG_DMA_RQPN_INFO_4 0x2210 8268 #define REG_DMA_RQPN_INFO_5 0x2214 8269 #define REG_DMA_RQPN_INFO_6 0x2218 8270 #define REG_DMA_RQPN_INFO_7 0x221C 8271 #define REG_DMA_RQPN_INFO_8 0x2220 8272 #define REG_DMA_RQPN_INFO_9 0x2224 8273 #define REG_DMA_RQPN_INFO_10 0x2228 8274 #define REG_DMA_RQPN_INFO_11 0x222C 8275 #define REG_DMA_RQPN_INFO_12 0x2230 8276 #define REG_DMA_RQPN_INFO_13 0x2234 8277 #define REG_DMA_RQPN_INFO_14 0x2238 8278 #define REG_DMA_RQPN_INFO_15 0x223C 8279 #define REG_DMA_RQPN_INFO_16 0x2240 8280 #define REG_HWAMSDU_CTL1 0x2250 8281 #define REG_HWAMSDU_CTL2 0x2254 8282 #define REG_HI8Q_TXBD_DESA_L 0x2300 8283 #define REG_HI8Q_TXBD_DESA_H 0x2304 8284 #define REG_HI9Q_TXBD_DESA_L 0x2308 8285 #define REG_HI9Q_TXBD_DESA_H 0x230C 8286 #define REG_HI10Q_TXBD_DESA_L 0x2310 8287 #define REG_HI10Q_TXBD_DESA_H 0x2314 8288 #define REG_HI11Q_TXBD_DESA_L 0x2318 8289 #define REG_HI11Q_TXBD_DESA_H 0x231C 8290 #define REG_HI12Q_TXBD_DESA_L 0x2320 8291 #define REG_HI12Q_TXBD_DESA_H 0x2324 8292 #define REG_HI13Q_TXBD_DESA_L 0x2328 8293 8294 #endif 8295 8296 #if (HALMAC_8192F_SUPPORT) 8297 8298 #define REG_H2CQ_TXBD_IDX_V1 0x232C 8299 8300 #endif 8301 8302 #if (HALMAC_8814B_SUPPORT) 8303 8304 #define REG_HI13Q_TXBD_DESA_H 0x232C 8305 #define REG_HI14Q_TXBD_DESA_L 0x2330 8306 #define REG_HI14Q_TXBD_DESA_H 0x2334 8307 #define REG_HI15Q_TXBD_DESA_L 0x2338 8308 #define REG_HI15Q_TXBD_DESA_H 0x233C 8309 #define REG_HI16Q_TXBD_DESA_L 0x2340 8310 #define REG_HI16Q_TXBD_DESA_H 0x2344 8311 #define REG_HI17Q_TXBD_DESA_L 0x2348 8312 #define REG_HI17Q_TXBD_DESA_H 0x234C 8313 #define REG_HI18Q_TXBD_DESA_L 0x2350 8314 #define REG_HI18Q_TXBD_DESA_H 0x2354 8315 #define REG_HI19Q_TXBD_DESA_L 0x2358 8316 #define REG_HI19Q_TXBD_DESA_H 0x235C 8317 #define REG_BD_RWPTR_CLR6 0x2364 8318 #define REG_P0HI16Q_TXBD_IDX 0x2370 8319 #define REG_P0HI17Q_TXBD_IDX 0x2374 8320 #define REG_P0HI18Q_TXBD_IDX 0x2378 8321 #define REG_P0HI19Q_TXBD_IDX 0x237C 8322 #define REG_P0HI16Q_HI17Q_TXBD_NUM 0x2380 8323 #define REG_P0HI18Q_HI19Q_TXBD_NUM 0x2384 8324 8325 #endif 8326 8327 #if (HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 8328 8329 #define REG_PCIE_HISR2_V1 0x23B4 8330 8331 #endif 8332 8333 #if (HALMAC_8814B_SUPPORT) 8334 8335 #define REG_PCIE_HISR0 0x23B4 8336 8337 #endif 8338 8339 #if (HALMAC_8812F_SUPPORT || HALMAC_8822C_SUPPORT) 8340 8341 #define REG_PCIE_HISR3_V1 0x23BC 8342 8343 #endif 8344 8345 #if (HALMAC_8814B_SUPPORT) 8346 8347 #define REG_PCIE_HISR1 0x23BC 8348 #define REG_P0HI8Q_HI9Q_TXBD_NUM 0x23C0 8349 #define REG_P0HI10Q_HI11Q_TXBD_NUM 0x23C4 8350 #define REG_P0HI12Q_HI13Q_TXBD_NUM 0x23C8 8351 #define REG_P0HI14Q_HI15Q_TXBD_NUM 0x23CC 8352 #define REG_ACH6_ACH7_TXBD_NUM 0x23F0 8353 8354 #endif 8355 8356 #if (HALMAC_8192F_SUPPORT) 8357 8358 #define REG_BF0_TIME_SETTING_V1 0x2428 8359 #define REG_BF1_TIME_SETTING_V1 0x242C 8360 #define REG_BF_TIMEOUT_EN_V1 0x2430 8361 #define REG_MACID_RELEASE0_V1 0x2434 8362 #define REG_MACID_RELEASE1_V1 0x2438 8363 #define REG_MACID_RELEASE2_V1 0x243C 8364 #define REG_MACID_RELEASE3_V1 0x2440 8365 #define REG_MACID_RELEASE_SETTING_V1 0x2444 8366 #define REG_FAST_EDCA_VOVI_SETTING_V1 0x2448 8367 #define REG_FAST_EDCA_BEBK_SETTING_V1 0x244C 8368 #define REG_R_MACID_RELEASE_SUCCESS_0_V1 0x2460 8369 #define REG_R_MACID_RELEASE_SUCCESS_1_V1 0x2464 8370 #define REG_R_MACID_RELEASE_SUCCESS_2_V1 0x2468 8371 #define REG_R_MACID_RELEASE_SUCCESS_3_V1 0x246C 8372 #define REG_R_MACID_RELEASE_SUCCESS_CLEAR_OFFSET_V1 0x247C 8373 #define REG_NAN_INFO0 0x2480 8374 #define REG_NAN_INFO1 0x2484 8375 #define REG_NAN_INFO2 0x2488 8376 #define REG_NAN_INFO3 0x248C 8377 #define REG_NAN_INFO4 0x2490 8378 #define REG_NAN_INFO5 0x2494 8379 #define REG_NAN_INFO6 0x2498 8380 #define REG_NAN_INFO7 0x249C 8381 #define REG_NAN_INFO8 0x24A0 8382 #define REG_NAN_INFO9 0x24A4 8383 #define REG_CHNL_INFO_CTRL_V1 0x24D0 8384 #define REG_CHNL_IDLE_TIME_V1 0x24D4 8385 #define REG_CHNL_BUSY_TIME_V1 0x24D8 8386 #define REG_SWPS_CTRL_V1 0x24F4 8387 #define REG_SWPS_PKT_TH_V1 0x24F6 8388 #define REG_SWPS_TIME_TH_V1 0x24F8 8389 #define REG_MACID_SWPS_EN_V1 0x24FC 8390 8391 #endif 8392 8393 #if (HALMAC_8814B_SUPPORT) 8394 8395 #define REG_TXPAGE_INT_CTRL_0 0x3200 8396 #define REG_TXPAGE_INT_CTRL_1 0x3204 8397 #define REG_TXPAGE_INT_CTRL_2 0x3208 8398 #define REG_TXPAGE_INT_CTRL_3 0x320C 8399 #define REG_TXPAGE_INT_CTRL_4 0x3210 8400 #define REG_TXPAGE_INT_CTRL_5 0x3214 8401 #define REG_TXPAGE_INT_CTRL_6 0x3218 8402 #define REG_TXPAGE_INT_CTRL_7 0x321C 8403 #define REG_TXPAGE_INT_CTRL_8 0x3220 8404 #define REG_TXPAGE_INT_CTRL_9 0x3224 8405 #define REG_TXPAGE_INT_CTRL_10 0x3228 8406 #define REG_TXPAGE_INT_CTRL_11 0x322C 8407 #define REG_TXPAGE_INT_CTRL_12 0x3230 8408 #define REG_TXPAGE_INT_CTRL_13 0x3234 8409 #define REG_TXPAGE_INT_CTRL_14 0x3238 8410 #define REG_TXPAGE_INT_CTRL_15 0x323C 8411 #define REG_TXPAGE_INT_CTRL_16 0x3240 8412 #define REG_ACH4_TXBD_IDX 0x3340 8413 #define REG_ACH5_TXBD_IDX 0x3344 8414 #define REG_ACH6_TXBD_IDX 0x3348 8415 #define REG_ACH7_TXBD_IDX 0x334C 8416 #define REG_ACH8_TXBD_IDX 0x3350 8417 #define REG_ACH9_TXBD_IDX 0x3354 8418 #define REG_ACH10_TXBD_IDX 0x3358 8419 #define REG_ACH11_TXBD_IDX 0x335C 8420 #define REG_ACH12_TXBD_IDX 0x3360 8421 #define REG_ACH13_TXBD_IDX 0x3364 8422 #define REG_AC_CHANNEL0_WEIGHT 0x3368 8423 #define REG_AC_CHANNEL1_WEIGHT 0x3369 8424 #define REG_AC_CHANNEL2_WEIGHT 0x336A 8425 #define REG_AC_CHANNEL3_WEIGHT 0x336B 8426 #define REG_AC_CHANNEL4_WEIGHT 0x336C 8427 #define REG_AC_CHANNEL5_WEIGHT 0x336D 8428 #define REG_AC_CHANNEL6_WEIGHT 0x336E 8429 #define REG_AC_CHANNEL7_WEIGHT 0x336F 8430 #define REG_AC_CHANNEL8_WEIGHT 0x3370 8431 #define REG_AC_CHANNEL9_WEIGHT 0x3371 8432 #define REG_AC_CHANNEL10_WEIGHT 0x3372 8433 #define REG_AC_CHANNEL11_WEIGHT 0x3373 8434 #define REG_AC_CHANNEL12_WEIGHT 0x3374 8435 #define REG_AC_CHANNEL13_WEIGHT 0x3375 8436 #define REG_PCIE_HISR2 0x33B4 8437 #define REG_PCIE_HISR3 0x33BC 8438 8439 #endif 8440 8441 /* ----------------------------------------------------- */ 8442 /* */ 8443 /* 0xFB00h ~ 0xFCFFh TX/RX packet buffer affress */ 8444 /* */ 8445 /* ----------------------------------------------------- */ 8446 #define REG_RXPKTBUF_STARTADDR 0xFB00 8447 #define REG_TXPKTBUF_STARTADDR 0xFC00 8448 8449 /* ----------------------------------------------------- */ 8450 /* */ 8451 /* 0xFD00h ~ 0xFDFFh 8051 CPU Local REG */ 8452 /* */ 8453 /* ----------------------------------------------------- */ 8454 #define REG_SYS_CTRL 0xFD00 8455 #define REG_PONSTS_RPT1 0xFD01 8456 #define REG_PONSTS_RPT2 0xFD02 8457 #define REG_PONSTS_RPT3 0xFD03 8458 #define REG_PONSTS_RPT4 0xFD04 /* 0x84 */ 8459 #define REG_PONSTS_RPT5 0xFD05 /* 0x85 */ 8460 #define REG_8051ERRFLAG 0xFD08 8461 #define REG_8051ERRFLAG_MASK 0xFD09 8462 #define REG_TXADDRH 0xFD10 /* Tx Packet High Address */ 8463 #define REG_RXADDRH 0xFD11 /* Rx Packet High Address */ 8464 #define REG_TXADDRH_EXT 0xFD12 8465 8466 #define REG_U3_STATE 0xFD48 8467 8468 /* for MAILBOX */ 8469 #define REG_OUTDATA0 0xFD50 8470 #define REG_OUTDATA1 0xFD54 8471 #define REG_OUTRDY 0xFD58 /* bit[0] : OutReady, bit[1] : OutEmptyIntEn */ 8472 8473 #define REG_INDATA0 0xFD60 8474 #define REG_INDATA1 0xFD64 8475 #define REG_INRDY 0xFD68 /* bit[0] : InReady, bit[1] : InRdyIntEn */ 8476 8477 /* MCU ERROR debug REG */ 8478 #define REG_MCUERR_PCLSB 0xFD90 /* PC[7:0] */ 8479 #define REG_MCUERR_PCMSB 0xFD91 /* PC[15:8] */ 8480 #define REG_MCUERR_ACC 0xFD92 8481 #define REG_MCUERR_B 0xFD93 8482 #define REG_MCUERR_DPTRLSB 0xFD94 /* DPTR[7:0] */ 8483 #define REG_MCUERR_DPTRMSB 0xFD95 /* DPTR[15:8] */ 8484 #define REG_MCUERR_SP 0xFD96 /* SP[7:0] */ 8485 #define REG_MCUERR_IE 0xFD97 /* IE[7:0] */ 8486 #define REG_MCUERR_EIE 0xFD98 /* EIE[7:0] */ 8487 #define REG_VERA_SIM 0xFD9F 8488 /* 0xFD99~0xFD9F are reserved.. */ 8489 8490 /* ----------------------------------------------------- */ 8491 /* */ 8492 /* 0xFE00h ~ 0xFEFFh USB Configuration */ 8493 /* */ 8494 /* ----------------------------------------------------- */ 8495 8496 /* RTS5101 USB Register Definition */ 8497 #define REG_USB_SETUP_DEC_INT 0xFE00 8498 #define REG_USB_DMACTL 0xFE01 8499 #define REG_USB_IRQSTAT0 0xFE02 8500 #define REG_USB_IRQSTAT1 0xFE03 8501 #define REG_USB_IRQEN0 0xFE04 8502 #define REG_USB_IRQEN1 0xFE05 8503 #define REG_USB_AUTOPTRL 0xFE06 8504 #define REG_USB_AUTOPTRH 0xFE07 8505 #define REG_USB_AUTODAT 0xFE08 8506 8507 #define REG_USB_SCRATCH0 0xFE09 8508 #define REG_USB_SCRATCH1 0xFE0A 8509 #define REG_USB_SEEPROM 0xFE0B 8510 #define REG_USB_GPIO0 0xFE0C 8511 #define REG_USB_GPIO0DIR 0xFE0D 8512 #define REG_USB_CLKSEL 0xFE0E 8513 #define REG_USB_BOOTCTL 0xFE0F 8514 8515 #define REG_USB_USBCTL 0xFE10 8516 #define REG_USB_USBSTAT 0xFE11 8517 #define REG_USB_DEVADDR 0xFE12 8518 #define REG_USB_USBTEST 0xFE13 8519 #define REG_USB_FNUM0 0xFE14 8520 #define REG_USB_FNUM1 0xFE15 8521 8522 #define REG_USB_EP_IDX 0xFE20 8523 #define REG_USB_EP_CFG 0xFE21 8524 #define REG_USB_EP_CTL 0xFE22 8525 #define REG_USB_EP_STAT 0xFE23 8526 #define REG_USB_EP_IRQ 0xFE24 8527 #define REG_USB_EP_IRQEN 0xFE25 8528 #define REG_USB_EP_MAXPKT0 0xFE26 8529 #define REG_USB_EP_MAXPKT1 0xFE27 8530 #define REG_USB_EP_DAT 0xFE28 8531 #define REG_USB_EP_BC0 0xFE29 8532 #define REG_USB_EP_BC1 0xFE2A 8533 #define REG_USB_EP_TC0 0xFE2B 8534 #define REG_USB_EP_TC1 0xFE2C 8535 #define REG_USB_EP_TC2 0xFE2D 8536 #define REG_USB_EP_CTL2 0xFE2E 8537 8538 #define REG_USB_INFO 0xFE17 8539 #define REG_USB_SPECIAL_OPTION 0xFE55 8540 #define REG_USB_DMA_AGG_TO 0xFE5B 8541 #define REG_USB_AGG_TO 0xFE5C 8542 #define REG_USB_AGG_TH 0xFE5D 8543 8544 #define REG_USB_VID 0xFE60 8545 #define REG_USB_PID 0xFE62 8546 #define REG_USB_OPT 0xFE64 8547 #define REG_USB_CONFIG 0xFE65 8548 8549 #define REG_USB_PHY_PARA1 0xFE68 8550 #define REG_USB_PHY_PARA2 0xFE69 8551 #define REG_USB_PHY_PARA3 0xFE6A 8552 #define REG_USB_PHY_PARA4 0xFE6B 8553 #define REG_USB_OPT2 0xFE6C 8554 #define REG_USB_MAC_ADDR 0xFE70 8555 #define REG_USB_MANUFACTURE_SETTING 0xFE80 8556 #define REG_USB_PRODUCT_STRING 0xFEA0 8557 #define REG_USB_SERIAL_NUMBER_STRING 0xFED0 8558 8559 #define REG_USB_ALTERNATE_SETTING 0xFE4F 8560 #define REG_USB_INT_BINTERVAL 0xFE6E 8561 #define REG_USB_GPS_EP_CONFIG 0xFE6D 8562 8563 #endif /* __HALMAC_COM_REG_H__ */ 8564