1 /****************************************************************************** 2 * 3 * Copyright(c) 2007 - 2019 Realtek Corporation. 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 #ifndef __HAL_IC_CFG_H__ 16 #define __HAL_IC_CFG_H__ 17 18 #define RTL8188E_SUPPORT 0 19 #define RTL8812A_SUPPORT 0 20 #define RTL8821A_SUPPORT 0 21 #define RTL8723B_SUPPORT 0 22 #define RTL8723D_SUPPORT 0 23 #define RTL8192E_SUPPORT 0 24 #define RTL8192F_SUPPORT 0 25 #define RTL8814A_SUPPORT 0 26 #define RTL8195A_SUPPORT 0 27 #define RTL8197F_SUPPORT 0 28 #define RTL8703B_SUPPORT 0 29 #define RTL8188F_SUPPORT 0 30 #define RTL8822B_SUPPORT 0 31 #define RTL8821B_SUPPORT 0 32 #define RTL8821C_SUPPORT 0 33 #define RTL8710B_SUPPORT 0 34 #define RTL8814B_SUPPORT 0 35 #define RTL8824B_SUPPORT 0 36 #define RTL8198F_SUPPORT 0 37 #define RTL8195B_SUPPORT 0 38 #define RTL8822C_SUPPORT 0 39 #define RTL8721D_SUPPORT 0 40 #define RTL8812F_SUPPORT 0 41 #define RTL8197G_SUPPORT 0 42 #define RTL8710C_SUPPORT 0 43 44 45 /*#if (RTL8188E_SUPPORT==1)*/ 46 #define RATE_ADAPTIVE_SUPPORT 0 47 #define POWER_TRAINING_ACTIVE 0 48 49 #ifdef CONFIG_MULTIDRV 50 #endif 51 52 #ifdef CONFIG_RTL8188E 53 #undef RTL8188E_SUPPORT 54 #undef RATE_ADAPTIVE_SUPPORT 55 #undef POWER_TRAINING_ACTIVE 56 57 #define RTL8188E_SUPPORT 1 58 #define RATE_ADAPTIVE_SUPPORT 1 59 #define POWER_TRAINING_ACTIVE 1 60 61 #ifndef CONFIG_TXPWR_PG_WITH_PWR_IDX 62 #define CONFIG_TXPWR_PG_WITH_PWR_IDX 63 #endif 64 #endif 65 66 #ifdef CONFIG_RTL8812A 67 #undef RTL8812A_SUPPORT 68 #define RTL8812A_SUPPORT 1 69 #ifndef CONFIG_FW_C2H_PKT 70 #define CONFIG_FW_C2H_PKT 71 #endif 72 #ifdef CONFIG_BEAMFORMING 73 #define CONFIG_BEAMFORMER_FW_NDPA 74 #define BEAMFORMING_SUPPORT 1 /*for phydm beamforming*/ 75 #define SUPPORT_MU_BF 0 76 #endif /*CONFIG_BEAMFORMING*/ 77 #define CONFIG_RTS_FULL_BW 78 79 #ifndef CONFIG_TXPWR_PG_WITH_PWR_IDX 80 #define CONFIG_TXPWR_PG_WITH_PWR_IDX 81 #endif 82 #endif 83 84 #ifdef CONFIG_RTL8821A 85 #undef RTL8821A_SUPPORT 86 #define RTL8821A_SUPPORT 1 87 #ifndef CONFIG_FW_C2H_PKT 88 #define CONFIG_FW_C2H_PKT 89 #endif 90 #ifdef CONFIG_BEAMFORMING 91 #define CONFIG_BEAMFORMER_FW_NDPA 92 #define BEAMFORMING_SUPPORT 1 /*for phydm beamforming*/ 93 #define SUPPORT_MU_BF 0 94 #endif 95 #define CONFIG_RTS_FULL_BW 96 97 #ifndef CONFIG_TXPWR_PG_WITH_PWR_IDX 98 #define CONFIG_TXPWR_PG_WITH_PWR_IDX 99 #endif 100 #endif 101 102 #ifdef CONFIG_RTL8192E 103 #undef RTL8192E_SUPPORT 104 #define RTL8192E_SUPPORT 1 105 #ifndef CONFIG_FW_C2H_PKT 106 #define CONFIG_FW_C2H_PKT 107 #endif 108 #define CONFIG_RTS_FULL_BW 109 110 #ifndef CONFIG_TXPWR_PG_WITH_PWR_IDX 111 #define CONFIG_TXPWR_PG_WITH_PWR_IDX 112 #endif 113 #endif 114 115 #ifdef CONFIG_RTL8192F 116 #undef RTL8192F_SUPPORT 117 #define RTL8192F_SUPPORT 1 118 #ifndef CONFIG_FW_C2H_PKT 119 #define CONFIG_FW_C2H_PKT 120 #endif 121 #ifndef CONFIG_RTW_MAC_HIDDEN_RPT 122 #define CONFIG_RTW_MAC_HIDDEN_RPT 123 #endif 124 /*#define CONFIG_AMPDU_PRETX_CD*/ 125 /*#define DBG_LA_MODE*/ 126 #ifdef CONFIG_P2P_PS 127 #define CONFIG_P2P_PS_NOA_USE_MACID_SLEEP 128 #endif 129 #define CONFIG_RTS_FULL_BW 130 /* #define CONFIG_NARROWBAND_SUPPORTING */ 131 #ifdef CONFIG_NARROWBAND_SUPPORTING 132 #define CONFIG_NB_VALUE RTW_NB_CONFIG_NONE /*RTW_NB_CONFIG_WIDTH_10 or RTW_NB_CONFIG_WIDTH_5 */ 133 #endif 134 #ifdef CONFIG_WOWLAN 135 #define CONFIG_WOW_PATTERN_IN_TXFIFO 136 #endif 137 138 #ifndef CONFIG_TXPWR_PG_WITH_PWR_IDX 139 #define CONFIG_TXPWR_PG_WITH_PWR_IDX 140 #endif 141 #endif 142 143 #ifdef CONFIG_RTL8723B 144 #undef RTL8723B_SUPPORT 145 #define RTL8723B_SUPPORT 1 146 #ifndef CONFIG_FW_C2H_PKT 147 #define CONFIG_FW_C2H_PKT 148 #endif 149 #define CONFIG_RTS_FULL_BW 150 151 #ifndef CONFIG_TXPWR_PG_WITH_PWR_IDX 152 #define CONFIG_TXPWR_PG_WITH_PWR_IDX 153 #endif 154 #endif 155 156 #ifdef CONFIG_RTL8723D 157 #undef RTL8723D_SUPPORT 158 #define RTL8723D_SUPPORT 1 159 #ifndef CONFIG_FW_C2H_PKT 160 #define CONFIG_FW_C2H_PKT 161 #endif 162 #ifndef CONFIG_RTW_MAC_HIDDEN_RPT 163 #define CONFIG_RTW_MAC_HIDDEN_RPT 164 #endif 165 #ifndef CONFIG_RTW_CUSTOMER_STR 166 #define CONFIG_RTW_CUSTOMER_STR 167 #endif 168 #define CONFIG_RTS_FULL_BW 169 170 #ifndef CONFIG_TXPWR_PG_WITH_PWR_IDX 171 #define CONFIG_TXPWR_PG_WITH_PWR_IDX 172 #endif 173 #endif 174 175 #ifdef CONFIG_RTL8814A 176 #undef RTL8814A_SUPPORT 177 #define RTL8814A_SUPPORT 1 178 #ifndef CONFIG_FW_C2H_PKT 179 #define CONFIG_FW_C2H_PKT 180 #endif 181 #define CONFIG_FW_CORRECT_BCN 182 #ifdef CONFIG_BEAMFORMING 183 #define BEAMFORMING_SUPPORT 1 /*for phydm beamforming*/ 184 #define SUPPORT_MU_BF 0 185 #endif 186 #define CONFIG_RTS_FULL_BW 187 188 #ifndef CONFIG_TXPWR_PG_WITH_PWR_IDX 189 #define CONFIG_TXPWR_PG_WITH_PWR_IDX 190 #endif 191 #endif 192 193 #ifdef CONFIG_RTL8703B 194 #undef RTL8703B_SUPPORT 195 #define RTL8703B_SUPPORT 1 196 #ifndef CONFIG_FW_C2H_PKT 197 #define CONFIG_FW_C2H_PKT 198 #endif 199 #ifndef CONFIG_RTW_MAC_HIDDEN_RPT 200 #define CONFIG_RTW_MAC_HIDDEN_RPT 201 #endif 202 #define CONFIG_RTS_FULL_BW 203 204 #ifndef CONFIG_TXPWR_PG_WITH_PWR_IDX 205 #define CONFIG_TXPWR_PG_WITH_PWR_IDX 206 #endif 207 #endif 208 209 #ifdef CONFIG_RTL8188F 210 #undef RTL8188F_SUPPORT 211 #define RTL8188F_SUPPORT 1 212 #ifndef CONFIG_FW_C2H_PKT 213 #define CONFIG_FW_C2H_PKT 214 #endif 215 #ifndef CONFIG_RTW_MAC_HIDDEN_RPT 216 #define CONFIG_RTW_MAC_HIDDEN_RPT 217 #endif 218 #ifndef CONFIG_RTW_CUSTOMER_STR 219 #define CONFIG_RTW_CUSTOMER_STR 220 #endif 221 #define CONFIG_RTS_FULL_BW 222 223 #ifndef CONFIG_TXPWR_PG_WITH_PWR_IDX 224 #define CONFIG_TXPWR_PG_WITH_PWR_IDX 225 #endif 226 #endif 227 228 #ifdef CONFIG_RTL8188GTV 229 #undef RTL8188F_SUPPORT 230 #define RTL8188F_SUPPORT 1 231 #ifndef CONFIG_FW_C2H_PKT 232 #define CONFIG_FW_C2H_PKT 233 #endif 234 #ifndef CONFIG_RTW_MAC_HIDDEN_RPT 235 #define CONFIG_RTW_MAC_HIDDEN_RPT 236 #endif 237 #ifndef CONFIG_RTW_CUSTOMER_STR 238 #define CONFIG_RTW_CUSTOMER_STR 239 #endif 240 #define CONFIG_RTS_FULL_BW 241 242 #ifndef CONFIG_TXPWR_PG_WITH_PWR_IDX 243 #define CONFIG_TXPWR_PG_WITH_PWR_IDX 244 #endif 245 246 #if defined(CONFIG_USB_HCI) && !defined(CONFIG_FW_OFFLOAD_SET_TXPWR_IDX) 247 #define CONFIG_FW_OFFLOAD_SET_TXPWR_IDX 248 #endif 249 #endif 250 251 #ifdef CONFIG_RTL8822B 252 #undef RTL8822B_SUPPORT 253 #define RTL8822B_SUPPORT 1 254 #ifndef CONFIG_FW_C2H_PKT 255 #define CONFIG_FW_C2H_PKT 256 #endif /* CONFIG_FW_C2H_PKT */ 257 #define RTW_TX_PA_BIAS /* Adjust TX PA Bias from eFuse */ 258 #define RTW_AMPDU_AGG_RETRY_AND_NEW 259 260 #ifdef CONFIG_WOWLAN 261 #define CONFIG_GTK_OL 262 /*#define CONFIG_ARP_KEEP_ALIVE*/ 263 264 #ifdef CONFIG_GPIO_WAKEUP 265 #ifndef WAKEUP_GPIO_IDX 266 #define WAKEUP_GPIO_IDX 6 /* WIFI Chip Side */ 267 #endif /* !WAKEUP_GPIO_IDX */ 268 #endif /* CONFIG_GPIO_WAKEUP */ 269 #endif /* CONFIG_WOWLAN */ 270 271 #ifdef CONFIG_CONCURRENT_MODE 272 #define CONFIG_AP_PORT_SWAP 273 #define CONFIG_FW_MULTI_PORT_SUPPORT 274 #endif /* CONFIG_CONCURRENT_MODE */ 275 276 /* 277 * Beamforming related definition 278 */ 279 /* Only support new beamforming mechanism */ 280 #ifdef CONFIG_BEAMFORMING 281 #define RTW_BEAMFORMING_VERSION_2 282 #endif /* CONFIG_BEAMFORMING */ 283 284 #ifndef CONFIG_RTW_MAC_HIDDEN_RPT 285 #define CONFIG_RTW_MAC_HIDDEN_RPT 286 #endif /* CONFIG_RTW_MAC_HIDDEN_RPT */ 287 288 #ifndef DBG_RX_DFRAME_RAW_DATA 289 #define DBG_RX_DFRAME_RAW_DATA 290 #endif /* DBG_RX_DFRAME_RAW_DATA */ 291 292 #ifndef RTW_IQK_FW_OFFLOAD 293 #define RTW_IQK_FW_OFFLOAD 294 #endif /* RTW_IQK_FW_OFFLOAD */ 295 296 /* Checksum offload feature */ 297 /*#define CONFIG_TCP_CSUM_OFFLOAD_TX*/ 298 #if defined(CONFIG_TCP_CSUM_OFFLOAD_TX) && !defined(CONFIG_RTW_NETIF_SG) 299 #define CONFIG_RTW_NETIF_SG 300 #endif 301 #define CONFIG_TCP_CSUM_OFFLOAD_RX 302 303 #define CONFIG_ADVANCE_OTA 304 305 #ifdef CONFIG_MCC_MODE 306 #define CONFIG_MCC_MODE_V2 307 #define CONFIG_MCC_PHYDM_OFFLOAD 308 #endif /* CONFIG_MCC_MODE */ 309 310 #if defined(CONFIG_TDLS) && defined(CONFIG_TDLS_CH_SW) 311 #define CONFIG_TDLS_CH_SW_V2 312 #endif 313 314 #ifndef RTW_CHANNEL_SWITCH_OFFLOAD 315 #ifdef CONFIG_TDLS_CH_SW_V2 316 #define RTW_CHANNEL_SWITCH_OFFLOAD 317 #endif 318 #endif /* RTW_CHANNEL_SWITCH_OFFLOAD */ 319 320 #if defined(CONFIG_RTW_MESH) && !defined(RTW_PER_CMD_SUPPORT_FW) 321 /* Supported since fw v22.1 */ 322 #define RTW_PER_CMD_SUPPORT_FW 323 #endif /* RTW_PER_CMD_SUPPORT_FW */ 324 #define CONFIG_SUPPORT_FIFO_DUMP 325 #define CONFIG_HW_P0_TSF_SYNC 326 #define CONFIG_BCN_RECV_TIME 327 #ifdef CONFIG_P2P_PS 328 #define CONFIG_P2P_PS_NOA_USE_MACID_SLEEP 329 #endif 330 #define CONFIG_RTS_FULL_BW 331 332 #ifdef CONFIG_LPS 333 #define CONFIG_LPS_ACK /* Supported after FW v30 & v27.9 */ 334 #endif 335 336 #ifndef CONFIG_TXPWR_PG_WITH_PWR_IDX 337 #define CONFIG_TXPWR_PG_WITH_PWR_IDX 338 #endif 339 #endif /* CONFIG_RTL8822B */ 340 341 #ifdef CONFIG_RTL8822C 342 #undef RTL8822C_SUPPORT 343 #define RTL8822C_SUPPORT 1 344 /*#define DBG_LA_MODE*/ 345 #ifndef CONFIG_FW_C2H_PKT 346 #define CONFIG_FW_C2H_PKT 347 #endif /* CONFIG_FW_C2H_PKT */ 348 #define RTW_TX_PA_BIAS /* Adjust TX PA Bias from eFuse */ 349 350 #ifdef CONFIG_WOWLAN 351 #define CONFIG_GTK_OL 352 /*#define CONFIG_ARP_KEEP_ALIVE*/ 353 354 #ifdef CONFIG_GPIO_WAKEUP 355 #ifndef WAKEUP_GPIO_IDX 356 #define WAKEUP_GPIO_IDX 6 /* WIFI Chip Side */ 357 #endif /* !WAKEUP_GPIO_IDX */ 358 #endif /* CONFIG_GPIO_WAKEUP */ 359 #endif /* CONFIG_WOWLAN */ 360 361 #ifdef CONFIG_CONCURRENT_MODE 362 #define CONFIG_AP_PORT_SWAP 363 #define CONFIG_FW_MULTI_PORT_SUPPORT 364 #endif /* CONFIG_CONCURRENT_MODE */ 365 366 /* 367 * Beamforming related definition 368 */ 369 /* Only support new beamforming mechanism */ 370 #ifdef CONFIG_BEAMFORMING 371 #define RTW_BEAMFORMING_VERSION_2 372 #endif /* CONFIG_BEAMFORMING */ 373 374 #ifdef CONFIG_NO_FW 375 #ifdef CONFIG_RTW_MAC_HIDDEN_RPT 376 #undef CONFIG_RTW_MAC_HIDDEN_RPT 377 #endif 378 #else 379 #ifndef CONFIG_RTW_MAC_HIDDEN_RPT 380 #define CONFIG_RTW_MAC_HIDDEN_RPT 381 #endif 382 #endif 383 384 #ifndef DBG_RX_DFRAME_RAW_DATA 385 #define DBG_RX_DFRAME_RAW_DATA 386 #endif /* DBG_RX_DFRAME_RAW_DATA */ 387 388 #ifndef RTW_IQK_FW_OFFLOAD 389 /* #define RTW_IQK_FW_OFFLOAD */ 390 #endif /* RTW_IQK_FW_OFFLOAD */ 391 #define CONFIG_ADVANCE_OTA 392 393 #ifdef CONFIG_MCC_MODE 394 #define CONFIG_MCC_MODE_V2 395 #define CONFIG_MCC_PHYDM_OFFLOAD 396 #endif /* CONFIG_MCC_MODE */ 397 398 #if defined(CONFIG_TDLS) && defined(CONFIG_TDLS_CH_SW) 399 #define CONFIG_TDLS_CH_SW_V2 400 #endif 401 402 #ifndef RTW_CHANNEL_SWITCH_OFFLOAD 403 #ifdef CONFIG_TDLS_CH_SW_V2 404 #define RTW_CHANNEL_SWITCH_OFFLOAD 405 #endif 406 #endif /* RTW_CHANNEL_SWITCH_OFFLOAD */ 407 408 #if defined(CONFIG_RTW_MESH) && !defined(RTW_PER_CMD_SUPPORT_FW) 409 /* Supported since fw v22.1 */ 410 #define RTW_PER_CMD_SUPPORT_FW 411 #endif /* RTW_PER_CMD_SUPPORT_FW */ 412 #define CONFIG_SUPPORT_FIFO_DUMP 413 #define CONFIG_HW_P0_TSF_SYNC 414 #define CONFIG_BCN_RECV_TIME 415 416 /*#define CONFIG_TCP_CSUM_OFFLOAD_TX*/ 417 #if defined(CONFIG_TCP_CSUM_OFFLOAD_TX) && !defined(CONFIG_RTW_NETIF_SG) 418 #define CONFIG_RTW_NETIF_SG 419 #endif 420 #define CONFIG_TCP_CSUM_OFFLOAD_RX 421 422 #ifdef CONFIG_P2P_PS 423 #define CONFIG_P2P_PS_NOA_USE_MACID_SLEEP 424 #endif 425 #define CONFIG_RTS_FULL_BW 426 427 #ifdef CONFIG_LPS 428 #define CONFIG_LPS_ACK /* Supported after FW v07 */ 429 #define CONFIG_LPS_1T1R /* Supported after FW v07 */ 430 #endif 431 432 #define CONFIG_BT_EFUSE_MASK 433 434 #ifndef CONFIG_TXPWR_PG_WITH_PWR_IDX 435 #define CONFIG_TXPWR_PG_WITH_PWR_IDX 436 #endif 437 #ifndef CONFIG_TXPWR_PG_WITH_TSSI_OFFSET 438 #define CONFIG_TXPWR_PG_WITH_TSSI_OFFSET 439 #endif 440 441 #define CONFIG_RTL8822C_XCAP_NEW_POLICY 442 #endif /* CONFIG_RTL8822C */ 443 444 #ifdef CONFIG_RTL8821C 445 #undef RTL8821C_SUPPORT 446 #define RTL8821C_SUPPORT 1 447 #ifndef CONFIG_FW_C2H_PKT 448 #define CONFIG_FW_C2H_PKT 449 #endif 450 #ifdef CONFIG_NO_FW 451 #ifdef CONFIG_RTW_MAC_HIDDEN_RPT 452 #undef CONFIG_RTW_MAC_HIDDEN_RPT 453 #endif 454 #else 455 #ifndef CONFIG_RTW_MAC_HIDDEN_RPT 456 #define CONFIG_RTW_MAC_HIDDEN_RPT 457 #endif 458 #endif 459 #define LOAD_FW_HEADER_FROM_DRIVER 460 #define CONFIG_PHY_CAPABILITY_QUERY 461 #ifdef CONFIG_CONCURRENT_MODE 462 #define CONFIG_AP_PORT_SWAP 463 #define CONFIG_FW_MULTI_PORT_SUPPORT 464 #endif 465 #define CONFIG_SUPPORT_FIFO_DUMP 466 #ifndef RTW_IQK_FW_OFFLOAD 467 #define RTW_IQK_FW_OFFLOAD 468 #endif /* RTW_IQK_FW_OFFLOAD */ 469 /*#define CONFIG_AMPDU_PRETX_CD*/ 470 /*#define DBG_PRE_TX_HANG*/ 471 472 /* Beamforming related definition */ 473 /* Only support new beamforming mechanism */ 474 #ifdef CONFIG_BEAMFORMING 475 #define RTW_BEAMFORMING_VERSION_2 476 #endif /* CONFIG_BEAMFORMING */ 477 #define CONFIG_HW_P0_TSF_SYNC 478 #define CONFIG_BCN_RECV_TIME 479 #ifdef CONFIG_P2P_PS 480 #define CONFIG_P2P_PS_NOA_USE_MACID_SLEEP 481 #endif 482 #define CONFIG_RTS_FULL_BW 483 484 #ifdef CONFIG_LPS 485 /* #define CONFIG_LPS_ACK */ /* Supported after FW v25 */ 486 #endif 487 488 #ifndef CONFIG_TXPWR_PG_WITH_PWR_IDX 489 #define CONFIG_TXPWR_PG_WITH_PWR_IDX 490 #endif 491 492 #define CONFIG_BT_EFUSE_MASK 493 #endif /*CONFIG_RTL8821C*/ 494 495 #ifdef CONFIG_RTL8710B 496 #undef RTL8710B_SUPPORT 497 #define RTL8710B_SUPPORT 1 498 #ifndef CONFIG_FW_C2H_PKT 499 #define CONFIG_FW_C2H_PKT 500 #endif 501 #define CONFIG_RTS_FULL_BW 502 503 #ifndef CONFIG_TXPWR_PG_WITH_PWR_IDX 504 #define CONFIG_TXPWR_PG_WITH_PWR_IDX 505 #endif 506 #endif 507 508 #ifdef CONFIG_RTL8814B 509 #undef RTL8814B_SUPPORT 510 #define RTL8814B_SUPPORT 1 511 #ifndef CONFIG_FW_C2H_PKT 512 #define CONFIG_FW_C2H_PKT 513 #endif /* CONFIG_FW_C2H_PKT */ 514 #define RTW_TX_PA_BIAS /* Adjust TX PA Bias from eFuse */ 515 #define RTW_AMPDU_AGG_RETRY_AND_NEW 516 517 #ifdef CONFIG_WOWLAN 518 #define CONFIG_GTK_OL 519 /*#define CONFIG_ARP_KEEP_ALIVE*/ 520 521 #ifdef CONFIG_GPIO_WAKEUP 522 #ifndef WAKEUP_GPIO_IDX 523 #define WAKEUP_GPIO_IDX 6 /* WIFI Chip Side */ 524 #endif /* !WAKEUP_GPIO_IDX */ 525 #endif /* CONFIG_GPIO_WAKEUP */ 526 #endif /* CONFIG_WOWLAN */ 527 528 #ifdef CONFIG_CONCURRENT_MODE 529 /*#define CONFIG_AP_PORT_SWAP*/ 530 #define CONFIG_FW_MULTI_PORT_SUPPORT 531 #endif /* CONFIG_CONCURRENT_MODE */ 532 533 /* 534 * Beamforming related definition 535 */ 536 /* Only support new beamforming mechanism */ 537 #ifdef CONFIG_BEAMFORMING 538 #define RTW_BEAMFORMING_VERSION_2 539 #endif /* CONFIG_BEAMFORMING */ 540 541 #ifndef DBG_RX_DFRAME_RAW_DATA 542 #define DBG_RX_DFRAME_RAW_DATA 543 #endif /* DBG_RX_DFRAME_RAW_DATA */ 544 545 #ifndef RTW_IQK_FW_OFFLOAD 546 #define RTW_IQK_FW_OFFLOAD 547 #endif /* RTW_IQK_FW_OFFLOAD */ 548 549 /* Checksum offload feature */ 550 /*#define CONFIG_TCP_CSUM_OFFLOAD_TX*/ /* not ready */ 551 #define CONFIG_TCP_CSUM_OFFLOAD_RX 552 553 #define CONFIG_ADVANCE_OTA 554 555 #ifdef CONFIG_MCC_MODE 556 #define CONFIG_MCC_MODE_V2 557 #define CONFIG_MCC_PHYDM_OFFLOAD 558 #endif /* CONFIG_MCC_MODE */ 559 560 #if defined(CONFIG_TDLS) && defined(CONFIG_TDLS_CH_SW) 561 #define CONFIG_TDLS_CH_SW_V2 562 #endif 563 564 #ifndef RTW_CHANNEL_SWITCH_OFFLOAD 565 #ifdef CONFIG_TDLS_CH_SW_V2 566 #define RTW_CHANNEL_SWITCH_OFFLOAD 567 #endif 568 #endif /* RTW_CHANNEL_SWITCH_OFFLOAD */ 569 570 #if defined(CONFIG_RTW_MESH) && !defined(RTW_PER_CMD_SUPPORT_FW) 571 /* Supported since fw v22.1 */ 572 #define RTW_PER_CMD_SUPPORT_FW 573 #endif /* RTW_PER_CMD_SUPPORT_FW */ 574 #define CONFIG_SUPPORT_FIFO_DUMP 575 #define CONFIG_HW_P0_TSF_SYNC 576 #define CONFIG_BCN_RECV_TIME 577 #ifdef CONFIG_P2P_PS 578 #define CONFIG_P2P_PS_NOA_USE_MACID_SLEEP 579 #endif 580 #define CONFIG_RTS_FULL_BW 581 582 #define CONFIG_PROTSEL_PORT 583 #define CONFIG_PROTSEL_ATIMDTIM 584 #define CONFIG_PROTSEL_MACSLEEP 585 586 #define CONFIG_HAS_HW_VAR_BCN_CTRL_ADDR 587 #define CONFIG_HAS_HW_VAR_BCN_FUNC 588 #define CONFIG_HAS_HW_VAR_MLME_DISCONNECT 589 #define CONFIG_HAS_HW_VAR_MLME_JOIN 590 #define CONFIG_HAS_HW_VAR_CORRECT_TSF 591 #define CONFIG_HAS_TX_BEACON_PAUSE 592 593 #define CONFIG_RTW_TX_NPATH_EN /* 8814B is always 4TX */ 594 595 #ifdef CONFIG_LPS 596 #define CONFIG_LPS_ACK /* Supported after FW v04 */ 597 #endif 598 599 #ifndef CONFIG_TXPWR_PG_WITH_PWR_IDX 600 #define CONFIG_TXPWR_PG_WITH_PWR_IDX 601 #endif 602 #ifndef CONFIG_TXPWR_PG_WITH_TSSI_OFFSET 603 #define CONFIG_TXPWR_PG_WITH_TSSI_OFFSET 604 #endif 605 #endif /* CONFIG_RTL8814B */ 606 607 #endif /*__HAL_IC_CFG_H__*/ 608