1 /* 2 * Copyright (c) 2023-2024, Qualcomm Innovation Center, Inc. All rights reserved. 3 * 4 * Permission to use, copy, modify, and/or distribute this software for any 5 * purpose with or without fee is hereby granted, provided that the above 6 * copyright notice and this permission notice appear in all copies. 7 * 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 11 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 13 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15 */ 16 17 #ifndef CONFIG_TO_FEATURE_H 18 #define CONFIG_TO_FEATURE_H 19 20 #ifdef CONFIG_CFG80211_SINGLE_NETDEV_MULTI_LINK_SUPPORT 21 #define CFG80211_SINGLE_NETDEV_MULTI_LINK_SUPPORT (1) 22 #endif 23 24 #ifdef CONFIG_CFG80211_MLO_KEY_OPERATION_SUPPORT 25 #define CFG80211_MLO_KEY_OPERATION_SUPPORT (1) 26 #endif 27 28 #ifdef CONFIG_CFG80211_LINK_STA_PARAMS_PRESENT 29 #define CFG80211_LINK_STA_PARAMS_PRESENT (1) 30 #endif 31 32 #ifdef CONFIG_CFG80211_RU_PUNCT_SUPPORT 33 #define CFG80211_RU_PUNCT_SUPPORT (1) 34 #endif 35 36 #ifdef CONFIG_CFG80211_RU_PUNCT_NOTIFY 37 #define CFG80211_RU_PUNCT_NOTIFY (1) 38 #endif 39 40 #ifdef CONFIG_CFG80211_EXT_FEATURE_AUTH_AND_DEAUTH_RANDOM_TA 41 #define CFG80211_EXT_FEATURE_AUTH_AND_DEAUTH_RANDOM_TA (1) 42 #endif 43 44 #ifdef CONFIG_CFG80211_EXTERNAL_AUTH_MLO_SUPPORT 45 #define CFG80211_EXTERNAL_AUTH_MLO_SUPPORT (1) 46 #endif 47 48 #ifdef CONFIG_CFG80211_EXT_FEATURE_SECURE_NAN 49 #define CFG80211_EXT_FEATURE_SECURE_NAN (1) 50 #endif 51 52 #ifdef CONFIG_CFG80211_MLD_AP_STA_CONNECT_UPSTREAM_SUPPORT 53 #define CFG80211_MLD_AP_STA_CONNECT_UPSTREAM_SUPPORT (1) 54 #endif 55 56 #ifdef CONFIG_CFG80211_SET_KEY_WITH_SRC_MAC 57 #define CFG80211_SET_KEY_WITH_SRC_MAC (1) 58 #endif 59 60 #ifdef CONFIG_CFG80211_KEY_INSTALL_SUPPORT_ON_WDEV 61 #define CFG80211_KEY_INSTALL_SUPPORT_ON_WDEV (1) 62 #endif 63 64 #ifdef CONFIG_ONE_MSI_VECTOR 65 #define WLAN_ONE_MSI_VECTOR (1) 66 #endif 67 68 #ifdef CONFIG_DSC_DEBUG 69 #define WLAN_DSC_DEBUG (1) 70 #endif 71 72 #ifdef CONFIG_DSC_TEST 73 #define WLAN_DSC_TEST (1) 74 #endif 75 76 #ifdef CONFIG_BERYLLIUM 77 #define DP_OFFLOAD_FRAME_WITH_SW_EXCEPTION (1) 78 #endif 79 80 #ifdef CONFIG_TALLOC_DEBUG 81 #define WLAN_TALLOC_DEBUG (1) 82 #endif 83 84 #ifdef CONFIG_QDF_TEST 85 #define WLAN_DELAYED_WORK_TEST (1) 86 #endif 87 88 #ifdef CONFIG_QDF_TEST 89 #define WLAN_HASHTABLE_TEST (1) 90 #endif 91 92 #ifdef CONFIG_QDF_TEST 93 #define WLAN_PERIODIC_WORK_TEST (1) 94 #endif 95 96 #ifdef CONFIG_QDF_TEST 97 #define WLAN_PTR_HASH_TEST (1) 98 #endif 99 100 #ifdef CONFIG_QDF_TEST 101 #define WLAN_SLIST_TEST (1) 102 #endif 103 104 #ifdef CONFIG_QDF_TEST 105 #define WLAN_TALLOC_TEST (1) 106 #endif 107 108 #ifdef CONFIG_QDF_TEST 109 #define WLAN_TRACKER_TEST (1) 110 #endif 111 112 #ifdef CONFIG_QDF_TEST 113 #define WLAN_TYPES_TEST (1) 114 #endif 115 116 #ifdef CONFIG_WLAN_HANG_EVENT 117 #define WLAN_HANG_EVENT (1) 118 #endif 119 120 #ifdef CONFIG_FEATURE_WLAN_PRE_CAC 121 #define PRE_CAC_SUPPORT (1) 122 #endif 123 124 #ifdef CONFIG_WIFI_POS_PASN 125 #define WLAN_FEATURE_RTT_11AZ_SUPPORT (1) 126 #endif 127 128 #ifdef CONFIG_DIRECT_BUF_RX_ENABLE 129 #ifdef CONFIG_DBR_HOLD_LARGE_MEM 130 #define DBR_HOLD_LARGE_MEM (1) 131 #endif 132 #endif 133 #ifdef CONFIG_DP_TRAFFIC_END_INDICATION 134 #define DP_TRAFFIC_END_INDICATION (1) 135 #endif 136 137 #ifdef CONFIG_THERMAL_STATS_SUPPORT 138 #define THERMAL_STATS_SUPPORT (1) 139 #endif 140 141 #ifdef CONFIG_PTT_SOCK_SVC_ENABLE 142 #define PTT_SOCK_SVC_ENABLE (1) 143 #endif 144 145 #ifdef CONFIG_FEATURE_WLAN_WAPI 146 #define FEATURE_WLAN_WAPI (1) 147 #endif 148 149 #ifdef CONFIG_FEATURE_WLAN_WAPI 150 #define ATH_SUPPORT_WAPI (1) 151 #endif 152 153 #ifdef CONFIG_SOFTAP_CHANNEL_RANGE 154 #define SOFTAP_CHANNEL_RANGE (1) 155 #endif 156 157 #ifdef CONFIG_FEATURE_WLAN_SCAN_PNO 158 #define FEATURE_WLAN_SCAN_PNO (1) 159 #endif 160 161 #ifdef CONFIG_WLAN_FEATURE_PACKET_FILTERING 162 #define WLAN_FEATURE_PACKET_FILTERING (1) 163 #endif 164 165 #ifdef CONFIG_DHCP_SERVER_OFFLOAD 166 #define DHCP_SERVER_OFFLOAD (1) 167 #endif 168 169 #ifdef CONFIG_WLAN_NS_OFFLOAD 170 #define WLAN_NS_OFFLOAD (1) 171 #endif 172 173 #ifdef CONFIG_WLAN_DYNAMIC_ARP_NS_OFFLOAD 174 #define FEATURE_WLAN_DYNAMIC_ARP_NS_OFFLOAD (1) 175 #endif 176 177 #ifdef CONFIG_WLAN_FEATURE_ICMP_OFFLOAD 178 #define WLAN_FEATURE_ICMP_OFFLOAD (1) 179 #endif 180 181 #ifdef CONFIG_FEATURE_WLAN_RA_FILTERING 182 #define FEATURE_WLAN_RA_FILTERING (1) 183 #endif 184 185 #ifdef CONFIG_FEATURE_WLAN_LPHB 186 #define FEATURE_WLAN_LPHB (1) 187 #endif 188 189 #ifdef CONFIG_QCA_SUPPORT_TX_THROTTLE 190 #define QCA_SUPPORT_TX_THROTTLE (1) 191 #endif 192 193 #ifdef CONFIG_WMI_INTERFACE_EVENT_LOGGING 194 #define WMI_INTERFACE_EVENT_LOGGING (1) 195 #endif 196 197 #ifdef CONFIG_WLAN_FEATURE_LINK_LAYER_STATS 198 #define WLAN_FEATURE_LINK_LAYER_STATS (1) 199 #endif 200 201 #ifdef CONFIG_FEATURE_CLUB_LL_STATS_AND_GET_STATION 202 #define FEATURE_CLUB_LL_STATS_AND_GET_STATION (1) 203 #endif 204 205 #ifdef CONFIG_WLAN_FEATURE_MIB_STATS 206 #define WLAN_FEATURE_MIB_STATS (1) 207 #endif 208 209 #ifdef CONFIG_FEATURE_WLAN_EXTSCAN 210 #define FEATURE_WLAN_EXTSCAN (1) 211 #endif 212 213 #ifdef CONFIG_WLAN_PMO_ENABLE 214 #define WLAN_PMO_ENABLE (1) 215 #endif 216 217 #ifdef CONFIG_CONVERGED_P2P_ENABLE 218 #define CONVERGED_P2P_ENABLE (1) 219 #endif 220 221 #ifdef CONFIG_WLAN_POLICY_MGR_ENABLE 222 #define WLAN_POLICY_MGR_ENABLE (1) 223 #endif 224 225 #ifdef CONFIG_FEATURE_DENYLIST_MGR 226 #define FEATURE_DENYLIST_MGR (1) 227 #endif 228 229 #ifdef CONFIG_WAPI_BIG_ENDIAN 230 #define FEATURE_WAPI_BIG_ENDIAN (1) 231 #endif 232 233 #ifdef CONFIG_SUPPORT_11AX 234 #define SUPPORT_11AX (1) 235 #endif 236 237 #ifdef CONFIG_WLAN_CONV_SPECTRAL_ENABLE 238 #define WLAN_CONV_SPECTRAL_ENABLE (1) 239 #endif 240 241 #ifdef CONFIG_WLAN_CFR_ENABLE 242 #define WLAN_CFR_ENABLE (1) 243 #endif 244 245 #ifdef CONFIG_WLAN_ENH_CFR_ENABLE 246 #define WLAN_ENH_CFR_ENABLE (1) 247 #endif 248 249 #ifdef CONFIG_WLAN_ENH_CFR_ENABLE 250 #define WLAN_CFR_PM (1) 251 #endif 252 253 #ifdef CONFIG_WLAN_CFR_ADRASTEA 254 #define WLAN_CFR_ADRASTEA (1) 255 #endif 256 257 #ifdef CONFIG_WLAN_CFR_DBR 258 #define WLAN_CFR_DBR (1) 259 #endif 260 261 #ifdef CONFIG_WLAN_CFR_ENABLE 262 #define CFR_USE_FIXED_FOLDER (1) 263 #endif 264 265 #ifdef CONFIG_WLAN_FEATURE_MEDIUM_ASSESS 266 #define WLAN_FEATURE_MEDIUM_ASSESS (1) 267 #endif 268 269 #ifdef CONFIG_FEATURE_RADAR_HISTORY 270 #define FEATURE_RADAR_HISTORY (1) 271 #endif 272 273 #ifdef CONFIG_DIRECT_BUF_RX_ENABLE 274 #define DIRECT_BUF_RX_ENABLE (1) 275 #endif 276 277 #ifdef CONFIG_WMI_DBR_SUPPORT 278 #define WMI_DBR_SUPPORT (1) 279 #endif 280 281 #if !defined(CONFIG_CNSS_QCA6750) && !defined(CONFIG_CNSS_WCN6450) 282 #ifdef CONFIG_DIRECT_BUF_RX_ENABLE 283 #define DBR_MULTI_SRNG_ENABLE (1) 284 #endif 285 #endif 286 287 #ifdef CONFIG_WMI_CMD_STRINGS 288 #define WMI_CMD_STRINGS (1) 289 #endif 290 291 #ifdef CONFIG_WLAN_FEATURE_TWT 292 #define WLAN_SUPPORT_TWT (1) 293 #endif 294 295 #ifdef CONFIG_WLAN_FEATURE_11BE_MLO 296 #ifdef CONFIG_DP_USE_REDUCED_PEER_ID_FIELD_WIDTH 297 #define DP_USE_REDUCED_PEER_ID_FIELD_WIDTH (1) 298 #endif 299 #endif 300 301 #ifdef CONFIG_WLAN_TWT_SAP_STA_COUNT 302 #define WLAN_TWT_SAP_STA_COUNT (32) 303 #endif 304 305 #ifdef CONFIG_WLAN_TWT_SAP_PDEV_COUNT 306 #define WLAN_TWT_AP_PDEV_COUNT_NUM_PHY (1) 307 #endif 308 309 #ifdef CONFIG_WLAN_DISABLE_EXPORT_SYMBOL 310 #define WLAN_DISABLE_EXPORT_SYMBOL (1) 311 #endif 312 313 #ifdef CONFIG_WIFI_POS_CONVERGED 314 #define WIFI_POS_CONVERGED (1) 315 #endif 316 317 #ifdef CONFIG_WLAN_TWT_CONVERGED 318 #define WLAN_TWT_CONV_SUPPORTED (1) 319 #endif 320 321 #ifdef CONFIG_WIFI_POS_LEGACY 322 #define FEATURE_OEM_DATA_SUPPORT (1) 323 #endif 324 325 #ifdef CONFIG_FEATURE_HTC_CREDIT_HISTORY 326 #define FEATURE_HTC_CREDIT_HISTORY (1) 327 #endif 328 329 #ifdef CONFIG_WLAN_FEATURE_P2P_DEBUG 330 #define WLAN_FEATURE_P2P_DEBUG (1) 331 #endif 332 333 #ifdef CONFIG_WLAN_WEXT_SUPPORT_ENABLE 334 #define WLAN_WEXT_SUPPORT_ENABLE (1) 335 #endif 336 337 #ifdef CONFIG_WLAN_LOGGING_SOCK_SVC 338 #define WLAN_LOGGING_SOCK_SVC_ENABLE (1) 339 #endif 340 341 #ifdef CONFIG_WLAN_LOGGING_BUFFERS_DYNAMICALLY 342 #define WLAN_LOGGING_BUFFERS_DYNAMICALLY (1) 343 #endif 344 345 #ifdef CONFIG_WLAN_FEATURE_FILS 346 #define WLAN_FEATURE_FILS_SK (1) 347 #endif 348 349 #ifdef CONFIG_CP_STATS 350 #define WLAN_SUPPORT_INFRA_CTRL_PATH_STATS (1) 351 #endif 352 353 #ifdef CONFIG_QCA_TARGET_IF_MLME 354 #define QCA_TARGET_IF_MLME 355 #endif 356 357 #ifdef CONFIG_CP_STATS 358 #define QCA_SUPPORT_CP_STATS (1) 359 #endif 360 361 #ifdef CONFIG_CP_STATS 362 #define QCA_SUPPORT_MC_CP_STATS (1) 363 #endif 364 365 #ifdef CONFIG_CP_STATS 366 #define WLAN_SUPPORT_LEGACY_CP_STATS_HANDLERS (1) 367 #endif 368 369 #ifdef CONFIG_DCS 370 #define DCS_INTERFERENCE_DETECTION (1) 371 #endif 372 373 #ifdef CONFIG_FEATURE_INTEROP_ISSUES_AP 374 #define WLAN_FEATURE_INTEROP_ISSUES_AP (1) 375 #endif 376 377 #ifdef CONFIG_FEATURE_MEMDUMP_ENABLE 378 #define WLAN_FEATURE_MEMDUMP_ENABLE (1) 379 #endif 380 381 #ifdef CONFIG_FEATURE_FW_LOG_PARSING 382 #define FEATURE_FW_LOG_PARSING (1) 383 #endif 384 385 #ifdef CONFIG_FEATURE_OEM_DATA 386 #define FEATURE_OEM_DATA (1) 387 #endif 388 389 #ifdef CONFIG_FEATURE_MOTION_DETECTION 390 #define WLAN_FEATURE_MOTION_DETECTION (1) 391 #endif 392 393 #ifdef CONFIG_WLAN_FW_OFFLOAD 394 #define WLAN_FW_OFFLOAD (1) 395 #endif 396 397 #ifdef CONFIG_WLAN_FEATURE_ELNA 398 #define WLAN_FEATURE_ELNA (1) 399 #endif 400 401 #ifdef CONFIG_FEATURE_COEX 402 #define FEATURE_COEX (1) 403 #endif 404 405 #ifdef CONFIG_HOST_WAKEUP_OVER_QMI 406 #define HOST_WAKEUP_OVER_QMI (1) 407 #endif 408 409 #ifdef CONFIG_DISABLE_STATUS_RING_TIMER_WAR 410 #define WLAN_DISABLE_STATUS_RING_TIMER_WAR (1) 411 #endif 412 413 #ifdef CONFIG_CE_DISABLE_SRNG_TIMER_IRQ 414 #define WLAN_WAR_CE_DISABLE_SRNG_TIMER_IRQ (1) 415 #endif 416 417 #ifdef CONFIG_PLD_IPCI_ICNSS_FLAG 418 #define CONFIG_PLD_IPCI_ICNSS (1) 419 #endif 420 421 #ifdef CONFIG_PLD_SDIO_CNSS_FLAG 422 #define CONFIG_PLD_SDIO_CNSS (1) 423 #endif 424 425 #ifdef CONFIG_WLAN_RESIDENT_DRIVER 426 #define FEATURE_WLAN_RESIDENT_DRIVER (1) 427 #endif 428 429 #ifdef CONFIG_FEATURE_GPIO_CFG 430 #define WLAN_FEATURE_GPIO_CFG (1) 431 #endif 432 433 #ifdef CONFIG_FEATURE_BUS_BANDWIDTH_MGR 434 #define FEATURE_BUS_BANDWIDTH_MGR (1) 435 #endif 436 437 #ifdef CONFIG_DP_BE_WAR 438 #define DP_BE_WAR (1) 439 #endif 440 441 #ifdef CONFIG_IPCIE_FW_SIM 442 #define CONFIG_PLD_IPCIE_FW_SIM (1) 443 #endif 444 445 #ifdef CONFIG_PLD_PCIE_CNSS_FLAG 446 #ifdef CONFIG_PCIE_FW_SIM 447 #define CONFIG_PLD_PCIE_FW_SIM (1) 448 #else 449 #define CONFIG_PLD_PCIE_CNSS (1) 450 #endif 451 #endif 452 #ifdef CONFIG_PLD_PCIE_INIT_FLAG 453 #define CONFIG_PLD_PCIE_INIT (1) 454 #endif 455 456 #ifdef CONFIG_WLAN_FEATURE_DP_RX_THREADS 457 #define FEATURE_WLAN_DP_RX_THREADS (1) 458 #endif 459 460 #ifdef CONFIG_WLAN_FEATURE_RX_SOFTIRQ_TIME_LIMIT 461 #define WLAN_FEATURE_RX_SOFTIRQ_TIME_LIMIT (1) 462 #endif 463 464 #ifdef CONFIG_FEATURE_HIF_LATENCY_PROFILE_ENABLE 465 #define HIF_LATENCY_PROFILE_ENABLE (1) 466 #endif 467 468 #ifdef CONFIG_FEATURE_HAL_DELAYED_REG_WRITE 469 #define FEATURE_HAL_DELAYED_REG_WRITE (1) 470 #endif 471 472 #ifdef CONFIG_FEATURE_HAL_RECORD_SUSPEND_WRITE 473 #define FEATURE_HAL_RECORD_SUSPEND_WRITE (1) 474 #endif 475 476 #ifdef CONFIG_QCA_OL_DP_SRNG_LOCK_LESS_ACCESS 477 #define QCA_OL_DP_SRNG_LOCK_LESS_ACCESS (1) 478 #endif 479 480 #ifdef CONFIG_SHADOW_WRITE_DELAY 481 #define SHADOW_WRITE_DELAY (1) 482 #endif 483 484 #ifdef CONFIG_WLAN_RECORD_RX_PADDR 485 #define HIF_RECORD_RX_PADDR (1) 486 #endif 487 488 #ifdef CONFIG_FEATURE_WLAN_TIME_SYNC_FTM 489 #define FEATURE_WLAN_TIME_SYNC_FTM (1) 490 #endif 491 492 #ifdef CONFIG_WLAN_FEATURE_LRO_CTX_IN_CB 493 #define WLAN_FEATURE_LRO_CTX_IN_CB (1) 494 #endif 495 496 #ifdef CONFIG_FEATURE_MONITOR_MODE_SUPPORT 497 #define FEATURE_MONITOR_MODE_SUPPORT (1) 498 #ifdef CONFIG_DP_CON_MON_MSI_ENABLED 499 #define DP_CON_MON_MSI_ENABLED (1) 500 #endif 501 #ifdef CONFIG_WLAN_RX_MON_PARSE_CMN_USER_INFO 502 #define WLAN_RX_MON_PARSE_CMN_USER_INFO (1) 503 #endif 504 #ifdef CONFIG_DP_CON_MON_MSI_SKIP_SET 505 #define DP_CON_MON_MSI_SKIP_SET (1) 506 #endif 507 #ifdef CONFIG_QCA_WIFI_MONITOR_MODE_NO_MSDU_START_TLV_SUPPORT 508 #define QCA_WIFI_MONITOR_MODE_NO_MSDU_START_TLV_SUPPORT (1) 509 #endif 510 #else 511 #define DISABLE_MON_CONFIG (1) 512 #endif 513 514 #ifdef CONFIG_NL80211_TESTMODE 515 #define WLAN_NL80211_TESTMODE (1) 516 #endif 517 518 #ifdef CONFIG_BUS_AUTO_SUSPEND 519 #define FEATURE_RUNTIME_PM (1) 520 #endif 521 522 #if defined(CONFIG_ICNSS) || defined(CONFIG_ICNSS_MODULE) 523 #ifdef CONFIG_SNOC_FW_SIM 524 #define CONFIG_PLD_SNOC_FW_SIM (1) 525 #else 526 #define CONFIG_PLD_SNOC_ICNSS (1) 527 #endif 528 #endif 529 530 #ifdef CONFIG_PLD_SNOC_ICNSS_FLAG 531 #define CONFIG_PLD_SNOC_ICNSS (1) 532 #endif 533 534 #ifdef CONFIG_ICNSS2_HELIUM 535 #define CONFIG_PLD_SNOC_ICNSS2 (1) 536 #endif 537 538 #ifdef CONFIG_WIFI_3_0_ADRASTEA 539 #define QCA_WIFI_3_0_ADRASTEA (1) 540 #endif 541 542 #ifdef CONFIG_WIFI_3_0_ADRASTEA 543 #define QCA_WIFI_3_0 (1) 544 #endif 545 546 #ifdef CONFIG_ADRASTEA_SHADOW_REGISTERS 547 #define ADRASTEA_SHADOW_REGISTERS (1) 548 #endif 549 550 #ifdef CONFIG_ADRASTEA_RRI_ON_DDR 551 #define ADRASTEA_RRI_ON_DDR (1) 552 #endif 553 554 #ifndef CONFIG_QMI_SUPPORT 555 #define CONFIG_BYPASS_QMI (1) 556 #endif 557 558 #ifdef CONFIG_WLAN_FASTPATH 559 #define WLAN_FEATURE_FASTPATH (1) 560 #endif 561 562 #ifdef CONFIG_FEATURE_PKTLOG 563 #define FEATURE_PKTLOG (1) 564 #endif 565 566 #ifdef CONFIG_CONNECTIVITY_PKTLOG 567 #define CONNECTIVITY_PKTLOG (1) 568 #endif 569 570 #ifdef CONFIG_WLAN_NAPI 571 #define FEATURE_NAPI (1) 572 #define HIF_IRQ_AFFINITY (1) 573 #ifdef CONFIG_WLAN_NAPI_DEBUG 574 #define FEATURE_NAPI_DEBUG (1) 575 #endif 576 #endif 577 578 #if defined(CONFIG_ARCH_MSM) || defined(CONFIG_ARCH_QCOM) 579 #define MSM_PLATFORM (1) 580 #endif 581 582 #ifdef CONFIG_WLAN_FEATURE_DP_BUS_BANDWIDTH 583 #define WLAN_FEATURE_DP_BUS_BANDWIDTH (1) 584 #endif 585 586 #ifdef CONFIG_WLAN_FEATURE_PERIODIC_STA_STATS 587 #define WLAN_FEATURE_PERIODIC_STA_STATS (1) 588 #endif 589 590 #ifdef CONFIG_WLAN_TX_FLOW_CONTROL_V2 591 #define QCA_LL_TX_FLOW_CONTROL_V2 (1) 592 #endif 593 594 #ifdef CONFIG_WLAN_TX_FLOW_CONTROL_V2 595 #define QCA_LL_TX_FLOW_GLOBAL_MGMT_POOL (1) 596 #endif 597 598 #ifdef CONFIG_WLAN_TX_FLOW_CONTROL_LEGACY 599 #define QCA_LL_LEGACY_TX_FLOW_CONTROL (1) 600 #endif 601 602 #ifdef CONFIG_WLAN_PDEV_TX_FLOW_CONTROL 603 #define QCA_LL_PDEV_TX_FLOW_CONTROL (1) 604 #endif 605 606 #ifdef CONFIG_WLAN_DEBUG_VERSION 607 #define WLAN_DEBUG (1) 608 #ifdef CONFIG_TRACE_RECORD_FEATURE 609 #define TRACE_RECORD (1) 610 #define LIM_TRACE_RECORD (1) 611 #define SME_TRACE_RECORD (1) 612 #define HDD_TRACE_RECORD (1) 613 614 #endif 615 #endif 616 #ifdef CONFIG_UNIT_TEST 617 #define WLAN_UNIT_TEST (1) 618 #endif 619 #ifdef CONFIG_WLAN_SYSFS_RTS_CTS 620 #define WLAN_SYSFS_RTS_CTS (1) 621 #endif 622 #ifdef CONFIG_WLAN_SYSFS_DP_TRACE 623 #define WLAN_SYSFS_DP_TRACE (1) 624 #endif 625 #ifdef CONFIG_WLAN_SYSFS_STATS 626 #define WLAN_SYSFS_STATS (1) 627 #endif 628 #ifdef CONFIG_FEATURE_UNIT_TEST_SUSPEND 629 #define WLAN_SUSPEND_RESUME_TEST (1) 630 #endif 631 #ifdef CONFIG_FEATURE_WLM_STATS 632 #define FEATURE_WLM_STATS (1) 633 #endif 634 #ifdef CONFIG_WLAN_SYSFS_DCM 635 #define WLAN_SYSFS_DCM (1) 636 #endif 637 #ifdef CONFIG_WLAN_SYSFS_HE_BSS_COLOR 638 #define WLAN_SYSFS_HE_BSS_COLOR (1) 639 #endif 640 #ifdef CONFIG_WLAN_SYSFS_STA_INFO 641 #define WLAN_SYSFS_STA_INFO (1) 642 #endif 643 #ifdef CONFIG_WLAN_THERMAL_MULTI_CLIENT_SUPPORT 644 #define FEATURE_WPSS_THERMAL_MITIGATION (1) 645 #endif 646 #ifdef CONFIG_WLAN_SYSFS_DP_STATS 647 #define WLAN_SYSFS_DP_STATS (1) 648 #endif 649 #ifdef CONFIG_WIFI_MONITOR_SUPPORT 650 #define WIFI_MONITOR_SUPPORT (1) 651 #endif 652 653 #ifdef CONFIG_QCA_MONITOR_PKT_SUPPORT 654 #define QCA_MONITOR_PKT_SUPPORT (1) 655 #endif 656 657 #ifdef CONFIG_MONITOR_MODULARIZED_ENABLE 658 #define MONITOR_MODULARIZED_ENABLE (1) 659 #endif 660 661 #ifdef CONFIG_WLAN_PDEV_VDEV_SEND_MULTI_PARAM 662 #define WLAN_PDEV_VDEV_SEND_MULTI_PARAM (1) 663 #endif 664 665 #ifdef CONFIG_WLAN_SYSFS_LOG_BUFFER 666 #define FEATURE_SYSFS_LOG_BUFFER (1) 667 #endif 668 669 #ifdef CONFIG_ENABLE_VALLOC_REPLACE_MALLOC 670 #define ENABLE_VALLOC_REPLACE_MALLOC (1) 671 #endif 672 673 #ifdef CONFIG_LEAK_DETECTION 674 #define CONFIG_HALT_KMEMLEAK (1) 675 #define MEMORY_DEBUG (1) 676 #define NBUF_MEMORY_DEBUG (1) 677 #define NBUF_MAP_UNMAP_DEBUG (1) 678 #define TIMER_MANAGER (1) 679 #define WLAN_DELAYED_WORK_DEBUG (1) 680 #define WLAN_WAKE_LOCK_DEBUG (1) 681 #define WLAN_PERIODIC_WORK_DEBUG (1) 682 683 #endif 684 685 #ifdef CONFIG_QCOM_VOWIFI_11R 686 #define KERNEL_SUPPORT_11R_CFG80211 (1) 687 #define USE_80211_WMMTSPEC_FOR_RIC (1) 688 #endif 689 690 #ifdef CONFIG_QCOM_ESE 691 #define FEATURE_WLAN_ESE (1) 692 #endif 693 694 #ifdef CONFIG_QCOM_TDLS 695 #define FEATURE_WLAN_TDLS (1) 696 #endif 697 698 #ifdef CONFIG_QCOM_TDLS 699 #define WLAN_FEATURE_TDLS_CONCURRENCIES (1) 700 #endif 701 702 #ifdef CONFIG_WLAN_SYSFS_TDLS_PEERS 703 #define WLAN_SYSFS_TDLS_PEERS (1) 704 #endif 705 706 #ifdef CONFIG_WLAN_SYSFS_RANGE_EXT 707 #define WLAN_SYSFS_RANGE_EXT (1) 708 #endif 709 710 #ifdef CONFIG_QCACLD_WLAN_LFR2 711 #define WLAN_FEATURE_PREAUTH_ENABLE (1) 712 #endif 713 714 #ifdef CONFIG_CM_UTF_ENABLE 715 #define FEATURE_CM_UTF_ENABLE (1) 716 #endif 717 718 #ifdef CONFIG_QCACLD_WLAN_LFR3 719 #define WLAN_FEATURE_ROAM_OFFLOAD (1) 720 #endif 721 722 #ifdef CONFIG_WLAN_FEATURE_ROAM_INFO_STATS 723 #define WLAN_FEATURE_ROAM_INFO_STATS (1) 724 #endif 725 726 #ifdef CONFIG_QCACLD_WLAN_CONNECTIVITY_LOGGING 727 #define WLAN_FEATURE_CONNECTIVITY_LOGGING (1) 728 #endif 729 730 #ifdef CONFIG_QCACLD_WLAN_CONNECTIVITY_DIAG_EVENT 731 #define CONNECTIVITY_DIAG_EVENT (1) 732 #endif 733 734 #ifdef CONFIG_OFDM_SCRAMBLER_SEED 735 #define WLAN_FEATURE_OFDM_SCRAMBLER_SEED (1) 736 #endif 737 738 #ifdef CONFIG_WLAN_FEATURE_MBSSID 739 #define WLAN_FEATURE_MBSSID (1) 740 #endif 741 742 #ifdef CONFIG_WLAN_FEATURE_P2P_P2P_STA 743 #define WLAN_FEATURE_P2P_P2P_STA (1) 744 #endif 745 746 #if defined(CONFIG_CNSS_GENL) || defined(CONFIG_CNSS_GENL_MODULE) 747 #define CNSS_GENL (1) 748 #endif 749 750 #if defined(CONFIG_CNSS_UTILS) || defined(CONFIG_CNSS_UTILS_MODULE) 751 #define CNSS_UTILS (1) 752 #endif 753 754 #if defined(CONFIG_WCNSS_MEM_PRE_ALLOC) || defined(CONFIG_WCNSS_MEM_PRE_ALLOC_MODULE) 755 #define CNSS_MEM_PRE_ALLOC (1) 756 #endif 757 758 #ifdef CONFIG_QCACLD_WLAN_LFR2 759 #define WLAN_FEATURE_HOST_ROAM (1) 760 #endif 761 762 #ifdef CONFIG_FEATURE_ROAM_DEBUG 763 #define FEATURE_ROAM_DEBUG (1) 764 #endif 765 766 #ifdef CONFIG_WLAN_POWER_DEBUG 767 #define WLAN_POWER_DEBUG (1) 768 #endif 769 770 #ifdef CONFIG_WLAN_MWS_INFO_DEBUGFS 771 #define WLAN_MWS_INFO_DEBUGFS (1) 772 #endif 773 774 #ifdef CONFIG_WLAN_DEBUG_LINK_VOTE 775 #define WLAN_DEBUG_LINK_VOTE (1) 776 #endif 777 778 #ifdef CONFIG_WLAN_OBJMGR_DEBUG 779 #define WLAN_OBJMGR_DEBUG (1) 780 #endif 781 782 #ifdef CONFIG_WLAN_OBJMGR_DEBUG 783 #define WLAN_OBJMGR_REF_ID_DEBUG (1) 784 #endif 785 786 #ifdef CONFIG_WLAN_OBJMGR_REF_ID_TRACE 787 #define WLAN_OBJMGR_REF_ID_TRACE (1) 788 #endif 789 790 #ifdef CONFIG_FEATURE_DELAYED_PEER_OBJ_DESTROY 791 #define FEATURE_DELAYED_PEER_OBJ_DESTROY (1) 792 #endif 793 794 #ifdef CONFIG_WLAN_FEATURE_SAE 795 #define WLAN_FEATURE_SAE (1) 796 #endif 797 798 #ifdef CONFIG_WLAN_DIAG_VERSION 799 #define FEATURE_WLAN_DIAG_SUPPORT (1) 800 #define FEATURE_WLAN_DIAG_SUPPORT_CSR (1) 801 #define FEATURE_WLAN_DIAG_SUPPORT_LIM (1) 802 #ifdef CONFIG_HIF_PCI 803 #define CONFIG_ATH_PROCFS_DIAG_SUPPORT (1) 804 #endif 805 #ifdef CONFIG_HIF_IPCI 806 #define CONFIG_ATH_PROCFS_DIAG_SUPPORT (1) 807 #endif 808 #endif 809 #ifdef CONFIG_HIF_USB 810 #define CONFIG_ATH_PROCFS_DIAG_SUPPORT (1) 811 #define QCA_SUPPORT_OL_RX_REORDER_TIMEOUT (1) 812 #define CONFIG_ATH_PCIE_MAX_PERF (0) 813 #define CONFIG_ATH_PCIE_AWAKE_WHILE_DRIVER_LOAD (0) 814 #define CONFIG_DISABLE_CDC_MAX_PERF_WAR (0) 815 #endif 816 817 #ifdef CONFIG_QCA_SUPPORT_TXRX_DRIVER_TCP_DEL_ACK 818 #define QCA_SUPPORT_TXRX_DRIVER_TCP_DEL_ACK (1) 819 #endif 820 821 #ifdef CONFIG_QCA_TXDESC_SANITY_CHECKS 822 #define QCA_SUPPORT_TXDESC_SANITY_CHECKS (1) 823 #endif 824 825 #ifdef CONFIG_QCOM_LTE_COEX 826 #define FEATURE_WLAN_CH_AVOID (1) 827 #endif 828 829 #ifdef CONFIG_WLAN_FEATURE_LPSS 830 #define WLAN_FEATURE_LPSS (1) 831 #endif 832 833 #ifdef CONFIG_DESC_DUP_DETECT_DEBUG 834 #define DESC_DUP_DETECT_DEBUG (1) 835 #endif 836 837 #ifdef CONFIG_DEBUG_RX_RING_BUFFER 838 #define DEBUG_RX_RING_BUFFER (1) 839 #endif 840 841 #ifdef CONFIG_DESC_TIMESTAMP_DEBUG_INFO 842 #define DESC_TIMESTAMP_DEBUG_INFO (1) 843 #endif 844 845 #ifdef CONFIG_POWER_MANAGEMENT_OFFLOAD 846 #define WLAN_POWER_MANAGEMENT_OFFLOAD (1) 847 #endif 848 849 #ifdef CONFIG_WLAN_LOG_FATAL 850 #define WLAN_LOG_FATAL (1) 851 #endif 852 853 #ifdef CONFIG_WLAN_LOG_ERROR 854 #define WLAN_LOG_ERROR (1) 855 #endif 856 857 #ifdef CONFIG_WLAN_LOG_WARN 858 #define WLAN_LOG_WARN (1) 859 #endif 860 861 #ifdef CONFIG_WLAN_LOG_INFO 862 #define WLAN_LOG_INFO (1) 863 #endif 864 865 #ifdef CONFIG_WLAN_LOG_DEBUG 866 #define WLAN_LOG_DEBUG (1) 867 #endif 868 869 #ifdef CONFIG_WLAN_LOG_ENTER 870 #define WLAN_LOG_ENTER (1) 871 #endif 872 873 #ifdef CONFIG_WLAN_LOG_EXIT 874 #define WLAN_LOG_EXIT (1) 875 #endif 876 877 #ifdef CONFIG_FEATURE_STATS_EXT 878 #define WLAN_FEATURE_STATS_EXT (1) 879 #endif 880 881 #ifdef CONFIG_QCACLD_FEATURE_NAN 882 #define WLAN_FEATURE_NAN (1) 883 #endif 884 885 #ifdef CONFIG_QCACLD_FEATURE_SON 886 #define WLAN_FEATURE_SON (1) 887 #endif 888 889 #ifdef CONFIG_NDP_SAP_CONCURRENCY_ENABLE 890 #define NDP_SAP_CONCURRENCY_ENABLE (1) 891 #endif 892 893 #ifdef CONFIG_DFS_FCC_TYPE4_DURATION_CHECK 894 #define DFS_FCC_TYPE4_DURATION_CHECK (1) 895 #endif 896 897 #ifdef CONFIG_WLAN_SYSFS 898 #define WLAN_SYSFS (1) 899 #endif 900 901 #ifdef CONFIG_WLAN_SYSFS_CHANNEL 902 #define WLAN_SYSFS_CHANNEL (1) 903 #endif 904 905 #ifdef CONFIG_FEATURE_BECN_STATS 906 #define WLAN_FEATURE_BEACON_RECEPTION_STATS (1) 907 #endif 908 909 #ifdef CONFIG_WLAN_SYSFS_CONNECT_INFO 910 #define WLAN_SYSFS_CONNECT_INFO (1) 911 #endif 912 913 #ifdef CONFIG_WLAN_SYSFS_EHT_RATE 914 #define WLAN_SYSFS_EHT_RATE (1) 915 #endif 916 917 #ifdef CONFIG_WLAN_SYSFS_WDS_MODE 918 #define FEATURE_SYSFS_WDS_MODE (1) 919 #endif 920 921 #ifdef CONFIG_WLAN_SYSFS_ROAM_TRIGGER_BITMAP 922 #define FEATURE_SYSFS_ROAM_TRIGGER_BITMAP (1) 923 #endif 924 925 #ifdef CONFIG_WLAN_SYSFS_RF_TEST_MODE 926 #define FEATURE_SYSFS_RF_TEST_MODE (1) 927 #endif 928 929 #ifdef CONFIG_RX_PERFORMANCE 930 #define RX_PERFORMANCE (1) 931 #endif 932 933 #ifdef CONFIG_MULTI_IF_LOG 934 #define MULTI_IF_LOG (1) 935 #endif 936 937 #ifdef CONFIG_SLUB_MEM_OPTIMIZE 938 #define SLUB_MEM_OPTIMIZE (1) 939 #endif 940 941 #ifdef CONFIG_ARCH_SDXBAAGHA 942 #ifdef CONFIG_WLAN_MEMORY_OPT 943 #define WLAN_MEMORY_OPT (1) 944 #endif 945 #endif 946 947 #ifdef CONFIG_DFS_PRI_MULTIPLIER 948 #define DFS_PRI_MULTIPLIER (1) 949 #endif 950 951 #ifdef CONFIG_DFS_OVERRIDE_RF_THRESHOLD 952 #define DFS_OVERRIDE_RF_THRESHOLD (1) 953 #endif 954 955 #ifdef CONFIG_ATH_PERF_PWR_OFFLOAD 956 #define ATH_PERF_PWR_OFFLOAD (1) 957 #endif 958 959 #ifdef CONFIG_REMOVE_PKT_LOG 960 #define REMOVE_PKT_LOG (1) 961 #endif 962 963 #ifdef CONFIG_ATH_11AC_TXCOMPACT 964 #define ATH_11AC_TXCOMPACT (1) 965 #endif 966 967 #ifdef CONFIG_HIF_PCI 968 #define HIF_PCI (1) 969 #endif 970 971 #ifdef CONFIG_HIF_IPCI 972 #define HIF_IPCI (1) 973 #endif 974 975 #ifdef CONFIG_HIF_SNOC 976 #define HIF_SNOC (1) 977 #endif 978 979 #ifdef CONFIG_HL_DP_SUPPORT 980 #define CONFIG_HL_SUPPORT (1) 981 #endif 982 983 #ifdef CONFIG_HL_DP_SUPPORT 984 #define WLAN_PARTIAL_REORDER_OFFLOAD (1) 985 #endif 986 987 #ifdef CONFIG_HL_DP_SUPPORT 988 #define QCA_COMPUTE_TX_DELAY (1) 989 #endif 990 991 #ifdef CONFIG_HL_DP_SUPPORT 992 #define QCA_COMPUTE_TX_DELAY_PER_TID (1) 993 #endif 994 995 #ifdef CONFIG_LL_DP_SUPPORT 996 #define WLAN_FULL_REORDER_OFFLOAD (1) 997 #endif 998 999 #ifdef CONFIG_WLAN_FEATURE_BIG_DATA_STATS 1000 #define WLAN_FEATURE_BIG_DATA_STATS (1) 1001 #endif 1002 1003 #ifdef CONFIG_WLAN_FEATURE_11AX 1004 #ifdef CONFIG_WLAN_FEATURE_SR 1005 #define WLAN_FEATURE_SR (1) 1006 #endif 1007 #ifdef CONFIG_OBSS_PD 1008 #define OBSS_PD (1) 1009 #endif 1010 #endif 1011 1012 #ifdef CONFIG_WLAN_FEATURE_IGMP_OFFLOAD 1013 #define WLAN_FEATURE_IGMP_OFFLOAD (1) 1014 #endif 1015 1016 #ifdef CONFIG_WLAN_FEATURE_GET_USABLE_CHAN_LIST 1017 #define WLAN_FEATURE_GET_USABLE_CHAN_LIST (1) 1018 #endif 1019 1020 #ifdef CONFIG_PCIE_GEN_SWITCH 1021 #define PCIE_GEN_SWITCH (1) 1022 #endif 1023 1024 #ifdef CONFIG_WLAN_FEATURE_WOW_PULSE 1025 #define WLAN_FEATURE_WOW_PULSE (1) 1026 #endif 1027 1028 #ifdef CONFIG_QCA_WIFI_SDIO 1029 #define CONFIG_AR6320_SUPPORT (1) 1030 #define SDIO_3_0 (1) 1031 #define HIF_SDIO (1) 1032 #define CONFIG_DISABLE_CDC_MAX_PERF_WAR (0) 1033 #define CONFIG_ATH_PROCFS_DIAG_SUPPORT (1) 1034 #define HIF_MBOX_SLEEP_WAR (1) 1035 #define DEBUG_HL_LOGGING (1) 1036 #define QCA_BAD_PEER_TX_FLOW_CL (1) 1037 #define CONFIG_SDIO (1) 1038 #define FEATURE_WLAN_FORCE_SAP_SCC (1) 1039 1040 #ifdef CONFIG_SDIO_TRANSFER 1041 #define CONFIG_SDIO_TRANSFER_ADMA (1) 1042 #else 1043 #define CONFIG_SDIO_TRANSFER_MAILBOX (1) 1044 #endif 1045 #endif 1046 #ifdef CONFIG_WLAN_FEATURE_DSRC 1047 #define WLAN_FEATURE_DSRC (1) 1048 #ifdef CONFIG_OCB_UT_FRAMEWORK 1049 #define WLAN_OCB_UT (1) 1050 #endif 1051 #elif defined CONFIG_WLAN_REG_AUTO 1052 #define WLAN_REG_AUTO (1) 1053 #endif 1054 1055 #ifdef CONFIG_FEATURE_SKB_PRE_ALLOC 1056 #define FEATURE_SKB_PRE_ALLOC (1) 1057 #endif 1058 1059 #ifdef CONFIG_HIF_USB 1060 #define HIF_USB (1) 1061 #define DEBUG_HL_LOGGING (1) 1062 1063 #endif 1064 1065 #ifdef CONFIG_QCA_HL_NETDEV_FLOW_CONTROL 1066 #define QCA_HL_NETDEV_FLOW_CONTROL (1) 1067 #endif 1068 1069 #ifdef CONFIG_FEATURE_HL_GROUP_CREDIT_FLOW_CONTROL 1070 #define FEATURE_HL_GROUP_CREDIT_FLOW_CONTROL (1) 1071 #endif 1072 1073 #ifdef CONFIG_FEATURE_HL_DBS_GROUP_CREDIT_SHARING 1074 #define FEATURE_HL_DBS_GROUP_CREDIT_SHARING (1) 1075 #endif 1076 1077 #ifdef CONFIG_WLAN_SYNC_TSF_TIMER 1078 #define WLAN_FEATURE_TSF_TIMER_SYNC (1) 1079 #endif 1080 1081 #ifdef CONFIG_WLAN_SYNC_TSF_PTP 1082 #define WLAN_FEATURE_TSF_PTP (1) 1083 #endif 1084 1085 #ifdef CONFIG_WLAN_SYNC_TSF_PLUS_EXT_GPIO_IRQ 1086 #define WLAN_FEATURE_TSF_PLUS_EXT_GPIO_IRQ (1) 1087 #endif 1088 1089 #ifdef CONFIG_WLAN_SYNC_TSF_PLUS_EXT_GPIO_SYNC 1090 #define WLAN_FEATURE_TSF_PLUS_EXT_GPIO_SYNC (1) 1091 #endif 1092 1093 #ifdef CONFIG_ATH_BUS_PM 1094 #define ATH_BUS_PM (1) 1095 #endif 1096 1097 #ifdef CONFIG_ATH_SUPPORT_FLOWMAC_MODULE 1098 #define ATH_SUPPORT_FLOWMAC_MODULE (1) 1099 #endif 1100 1101 #ifdef CONFIG_ATH_SUPPORT_SPECTRAL 1102 #define ATH_SUPPORT_SPECTRAL (1) 1103 #endif 1104 1105 #ifdef CONFIG_PKTLOG_LEGACY 1106 #define PKTLOG_LEGACY (1) 1107 #endif 1108 1109 #ifdef CONFIG_WDI_EVENT_ENABLE 1110 #define WDI_EVENT_ENABLE (1) 1111 #endif 1112 1113 #ifdef CONFIG_PKTLOG_HAS_SPECIFIC_DATA 1114 #define PKTLOG_HAS_SPECIFIC_DATA (1) 1115 #endif 1116 1117 #ifdef CONFIG_LITTLE_ENDIAN 1118 #define ANI_LITTLE_BYTE_ENDIAN (1) 1119 #define ANI_LITTLE_BIT_ENDIAN (1) 1120 #define DOT11F_LITTLE_ENDIAN_HOST (1) 1121 #else 1122 #define ANI_BIG_BYTE_ENDIAN (1) 1123 #define BIG_ENDIAN_HOST (1) 1124 #endif 1125 1126 #ifdef CONFIG_TX_CREDIT_RECLAIM_SUPPORT 1127 #define TX_CREDIT_RECLAIM_SUPPORT (1) 1128 #endif 1129 1130 #ifdef CONFIG_QCA_WIFI_FTM 1131 #define QCA_WIFI_FTM (1) 1132 #endif 1133 1134 #ifdef CONFIG_NL80211_TESTMODE 1135 #define QCA_WIFI_FTM_NL80211 (1) 1136 #endif 1137 1138 #ifdef CONFIG_LINUX_QCMBR 1139 #define LINUX_QCMBR (1) 1140 #define QCA_WIFI_FTM_IOCTL (1) 1141 #endif 1142 1143 #ifdef CONFIG_CHECKSUM_OFFLOAD 1144 #define CHECKSUM_OFFLOAD (1) 1145 #endif 1146 1147 #ifdef CONFIG_IPA_OFFLOAD 1148 #define IPA_OFFLOAD (1) 1149 #endif 1150 1151 #ifdef CONFIG_IPA_OPT_WIFI_DP 1152 #ifdef CONFIG_IPA_OFFLOAD 1153 #define IPA_OPT_WIFI_DP (1) 1154 #endif 1155 #endif 1156 #ifdef CONFIG_WDI3_IPA_OVER_GSI 1157 #define IPA_WDI3_GSI (1) 1158 #endif 1159 1160 #ifdef CONFIG_WDI2_IPA_OVER_GSI 1161 #define IPA_WDI2_GSI (1) 1162 #endif 1163 1164 #ifdef CONFIG_WLAN_FEATURE_WMI_DIAG_OVER_CE7 1165 #define WLAN_FEATURE_WMI_DIAG_OVER_CE7 (1) 1166 #endif 1167 1168 #ifdef CONFIG_WLAN_DP_FEATURE_DEFERRED_REO_QDESC_DESTROY 1169 #define WLAN_DP_FEATURE_DEFERRED_REO_QDESC_DESTROY (1) 1170 #endif 1171 1172 #ifdef CONFIG_ARCH_SDX20 1173 #define SYNC_IPA_READY (1) 1174 #endif 1175 1176 #ifdef CONFIG_FEATURE_SG 1177 #define FEATURE_SG (1) 1178 #endif 1179 1180 #ifdef CONFIG_RX_THREAD_PRIORITY 1181 #define RX_THREAD_PRIORITY (1) 1182 #endif 1183 1184 #ifdef CONFIG_SUPPORT_P2P_BY_ONE_INTF_WLAN 1185 #define SUPPORT_P2P_BY_ONE_INTF_WLAN (1) 1186 #else 1187 #ifdef CONFIG_WLAN_OPEN_P2P_INTERFACE 1188 #define WLAN_OPEN_P2P_INTERFACE (1) 1189 #endif 1190 #endif 1191 1192 #ifdef CONFIG_WMI_BCN_OFFLOAD 1193 #define WLAN_WMI_BCN (1) 1194 #endif 1195 1196 #ifdef CONFIG_WLAN_WBUFF 1197 #define WLAN_FEATURE_WBUFF (1) 1198 #endif 1199 1200 #ifdef CONFIG_GTK_OFFLOAD 1201 #define WLAN_FEATURE_GTK_OFFLOAD (1) 1202 #endif 1203 1204 #ifdef CONFIG_EXT_WOW 1205 #define WLAN_FEATURE_EXTWOW_SUPPORT (1) 1206 #endif 1207 1208 #ifdef CONFIG_SMP 1209 #define QCA_CONFIG_SMP (1) 1210 #endif 1211 1212 #ifdef CONFIG_RPS 1213 #define QCA_CONFIG_RPS (1) 1214 #endif 1215 1216 #ifdef CONFIG_CHNL_MATRIX_RESTRICTION 1217 #define WLAN_ENABLE_CHNL_MATRIX_RESTRICTION (1) 1218 #endif 1219 1220 #ifdef CONFIG_ICMP_DISABLE_PS 1221 #define WLAN_ICMP_DISABLE_PS (1) 1222 #endif 1223 1224 #ifdef CONFIG_FEATURE_WLAN_MCC_TO_SCC_SWITCH 1225 #define FEATURE_WLAN_MCC_TO_SCC_SWITCH (1) 1226 #endif 1227 1228 #ifdef CONFIG_FEATURE_WLAN_AUTO_SHUTDOWN 1229 #define FEATURE_WLAN_AUTO_SHUTDOWN (1) 1230 #endif 1231 1232 #ifdef CONFIG_FEATURE_WLAN_AP_AP_ACS_OPTIMIZE 1233 #define FEATURE_WLAN_AP_AP_ACS_OPTIMIZE (1) 1234 #endif 1235 1236 #ifdef CONFIG_FEATURE_WLAN_STA_4ADDR_SCHEME 1237 #define FEATURE_WLAN_STA_4ADDR_SCHEME (1) 1238 #endif 1239 1240 #ifdef CONFIG_FEATURE_WLAN_GC_SKIP_JOIN 1241 #define FEATURE_WLAN_GC_SKIP_JOIN (1) 1242 #endif 1243 1244 #ifdef CONFIG_MDM_PLATFORM 1245 #define MDM_PLATFORM (1) 1246 #endif 1247 1248 #ifdef CONFIG_FEATURE_WLAN_STA_AP_MODE_DFS_DISABLE 1249 #define FEATURE_WLAN_STA_AP_MODE_DFS_DISABLE (1) 1250 #endif 1251 1252 #ifdef CONFIG_WLAN_ENABLE_SOCIAL_CHANNELS_5G_ONLY 1253 #define WLAN_ENABLE_SOCIAL_CHANNELS_5G_ONLY (1) 1254 #endif 1255 1256 #ifdef CONFIG_QCACLD_FEATURE_GREEN_AP 1257 #define WLAN_SUPPORT_GREEN_AP (1) 1258 #endif 1259 1260 #ifdef CONFIG_QCACLD_FEATURE_GAP_LL_PS_MODE 1261 #define WLAN_SUPPORT_GAP_LL_PS_MODE (1) 1262 #endif 1263 1264 #ifdef CONFIG_QCACLD_FEATURE_APF 1265 #define FEATURE_WLAN_APF (1) 1266 #endif 1267 1268 #ifdef CONFIG_WLAN_FEATURE_SARV1_TO_SARV2 1269 #define WLAN_FEATURE_SARV1_TO_SARV2 (1) 1270 #endif 1271 1272 #ifdef CONFIG_FEATURE_WLAN_FT_IEEE8021X 1273 #define FEATURE_WLAN_FT_IEEE8021X (1) 1274 #endif 1275 1276 #ifdef CONFIG_FEATURE_WLAN_FT_PSK 1277 #define FEATURE_WLAN_FT_PSK (1) 1278 #endif 1279 1280 #ifdef CONFIG_HOST_11D_SCAN 1281 #define HOST_11D_SCAN (1) 1282 #endif 1283 1284 #ifdef CONFIG_IPA_OFFLOAD 1285 #ifdef CONFIG_QCACLD_FEATURE_METERING 1286 #define FEATURE_METERING (1) 1287 #endif 1288 #endif 1289 #ifdef CONFIG_IPA_OFFLOAD 1290 #ifdef CONFIG_NUM_IPA_IFACE 1291 #define MAX_IPA_IFACE (CONFIG_NUM_IPA_IFACE) 1292 #else 1293 #ifndef NUM_IPA_IFACE 1294 #define NUM_IPA_IFACE (3) 1295 #endif 1296 #define MAX_IPA_IFACE (NUM_IPA_IFACE) 1297 #endif 1298 #endif 1299 #ifdef CONFIG_CHANNEL_HOPPING_ALL_BANDS 1300 #define CHANNEL_HOPPING_ALL_BANDS (1) 1301 #endif 1302 1303 #ifdef CONFIG_QCA_SIGNED_SPLIT_BINARY_SUPPORT 1304 #define QCA_SIGNED_SPLIT_BINARY_SUPPORT (1) 1305 #endif 1306 1307 #ifdef CONFIG_QCA_SINGLE_BINARY_SUPPORT 1308 #define QCA_SINGLE_BINARY_SUPPORT (1) 1309 #endif 1310 1311 #ifdef CONFIG_TARGET_RAMDUMP_AFTER_KERNEL_PANIC 1312 #define TARGET_RAMDUMP_AFTER_KERNEL_PANIC (1) 1313 #endif 1314 1315 #ifdef CONFIG_FEATURE_SECURE_FIRMWARE 1316 #define FEATURE_SECURE_FIRMWARE (1) 1317 #endif 1318 1319 #ifdef CONFIG_WLAN_SYNC_TSF 1320 #define WLAN_FEATURE_TSF (1) 1321 #endif 1322 1323 #ifdef CONFIG_WLAN_SYNC_TSF_PLUS 1324 #define WLAN_FEATURE_TSF_PLUS (1) 1325 #ifdef CONFIG_WLAN_SYNC_TSF_ACCURACY 1326 #define WLAN_FEATURE_TSF_ACCURACY (1) 1327 #endif 1328 #ifndef CONFIG_WLAN_SYNC_TSF_PLUS_DISABLE_SOCK_TS 1329 #define WLAN_FEATURE_TSF_PLUS_SOCK_TS (1) 1330 #endif 1331 #endif 1332 1333 #ifdef CONFIG_WLAN_SYNC_TSF_PLUS_NOIRQ 1334 #define WLAN_FEATURE_TSF_PLUS_NOIRQ (1) 1335 #endif 1336 1337 #ifdef CONFIG_WLAN_TSF_AUTO_REPORT 1338 #define WLAN_FEATURE_TSF_AUTO_REPORT (1) 1339 #endif 1340 1341 #ifdef CONFIG_WLAN_TX_LATENCY_STATS 1342 #define WLAN_FEATURE_TX_LATENCY_STATS (1) 1343 #endif 1344 1345 #ifdef CONFIG_WLAN_TSF_UPLINK_DELAY 1346 #define WLAN_FEATURE_TSF_UPLINK_DELAY (1) 1347 #endif 1348 1349 #ifdef CONFIG_HELIUMPLUS 1350 #define HELIUMPLUS (1) 1351 #endif 1352 1353 #ifdef CONFIG_RX_OL 1354 #define RECEIVE_OFFLOAD (1) 1355 #endif 1356 1357 #ifdef CONFIG_TX_TID_OVERRIDE 1358 #define ATH_TX_PRI_OVERRIDE (1) 1359 #endif 1360 1361 #ifdef CONFIG_AR900B 1362 #define AR900B (1) 1363 #endif 1364 1365 #ifdef CONFIG_HTT_PADDR64 1366 #define HTT_PADDR64 (1) 1367 #endif 1368 1369 #ifdef CONFIG_OL_RX_INDICATION_RECORD 1370 #define OL_RX_INDICATION_RECORD (1) 1371 #endif 1372 1373 #ifdef CONFIG_TSOSEG_DEBUG 1374 #define TSOSEG_DEBUG (1) 1375 #endif 1376 1377 #ifdef CONFIG_ALLOW_PKT_DROPPING 1378 #define FEATURE_ALLOW_PKT_DROPPING (1) 1379 #endif 1380 1381 #ifdef CONFIG_ATH_DIAG_EXT_DIRECT 1382 #define ATH_DIAG_EXT_DIRECT (1) 1383 #endif 1384 1385 #ifdef CONFIG_ENABLE_DEBUG_ADDRESS_MARKING 1386 #define ENABLE_DEBUG_ADDRESS_MARKING (1) 1387 #endif 1388 1389 #ifdef CONFIG_FEATURE_TSO 1390 #define FEATURE_TSO (1) 1391 #endif 1392 1393 #ifdef CONFIG_FEATURE_TSO_DEBUG 1394 #define FEATURE_TSO_DEBUG (1) 1395 #endif 1396 1397 #ifdef CONFIG_FEATURE_TSO_STATS 1398 #define FEATURE_TSO_STATS (1) 1399 #endif 1400 1401 #ifdef CONFIG_FEATURE_FORCE_WAKE 1402 #define FORCE_WAKE (1) 1403 #endif 1404 1405 #ifdef CONFIG_WLAN_LRO 1406 #define FEATURE_LRO (1) 1407 #endif 1408 1409 #ifdef CONFIG_FEATURE_AP_MCC_CH_AVOIDANCE 1410 #define FEATURE_AP_MCC_CH_AVOIDANCE (1) 1411 #endif 1412 1413 #ifdef CONFIG_FEATURE_EPPING 1414 #define WLAN_FEATURE_EPPING (1) 1415 #endif 1416 1417 #ifdef CONFIG_WLAN_OFFLOAD_PACKETS 1418 #define WLAN_FEATURE_OFFLOAD_PACKETS (1) 1419 #endif 1420 1421 #ifdef CONFIG_WLAN_FEATURE_DISA 1422 #define WLAN_FEATURE_DISA (1) 1423 #endif 1424 1425 #ifdef CONFIG_WLAN_FEATURE_ACTION_OUI 1426 #define WLAN_FEATURE_ACTION_OUI (1) 1427 #endif 1428 1429 #ifdef CONFIG_WLAN_FEATURE_FIPS 1430 #define WLAN_FEATURE_FIPS (1) 1431 #endif 1432 1433 #ifdef CONFIG_LFR_SUBNET_DETECTION 1434 #define FEATURE_LFR_SUBNET_DETECTION (1) 1435 #endif 1436 1437 #ifdef CONFIG_MCC_TO_SCC_SWITCH 1438 #define FEATURE_WLAN_MCC_TO_SCC_SWITCH (1) 1439 #endif 1440 1441 #ifdef CONFIG_FEATURE_WLAN_D0WOW 1442 #define FEATURE_WLAN_D0WOW (1) 1443 #endif 1444 1445 #ifdef CONFIG_WLAN_FEATURE_PKT_CAPTURE 1446 #define WLAN_FEATURE_PKT_CAPTURE (1) 1447 #endif 1448 1449 #ifdef CONFIG_WLAN_FEATURE_PKT_CAPTURE_V2 1450 #define WLAN_FEATURE_PKT_CAPTURE_V2 (1) 1451 #endif 1452 1453 #ifdef CONFIG_DP_RX_UDP_OVER_PEER_ROAM 1454 #define DP_RX_UDP_OVER_PEER_ROAM (1) 1455 #endif 1456 1457 #ifdef CONFIG_QCA_WIFI_EMULATION 1458 #define QCA_WIFI_EMULATION (1) 1459 #endif 1460 1461 #ifdef CONFIG_SAP_MULTI_LINK_EMULATION 1462 #define SAP_MULTI_LINK_EMULATION (1) 1463 #endif 1464 1465 #ifdef CONFIG_QCA6290_HEADERS_DEF 1466 #define QCA6290_HEADERS_DEF (1) 1467 #endif 1468 1469 #ifdef CONFIG_QCA_WIFI_QCA6290 1470 #define QCA_WIFI_QCA6290 (1) 1471 #endif 1472 1473 #ifdef CONFIG_QCA6390_HEADERS_DEF 1474 #define QCA6390_HEADERS_DEF (1) 1475 #endif 1476 1477 #ifdef CONFIG_QCA6750_HEADERS_DEF 1478 #define QCA6750_HEADERS_DEF (1) 1479 #endif 1480 1481 #ifdef CONFIG_QCA_WIFI_QCA6390 1482 #define QCA_WIFI_QCA6390 (1) 1483 #endif 1484 1485 #ifdef CONFIG_QCA6490_HEADERS_DEF 1486 #define QCA6490_HEADERS_DEF (1) 1487 #endif 1488 1489 #ifdef CONFIG_KIWI_HEADERS_DEF 1490 #define KIWI_HEADERS_DEF (1) 1491 #endif 1492 1493 #ifdef CONFIG_WCN6450_HEADERS_DEF 1494 #define WCN6450_HEADERS_DEF (1) 1495 #endif 1496 1497 #ifdef CONFIG_QCA_WIFI_QCA6490 1498 #define QCA_WIFI_QCA6490 (1) 1499 #endif 1500 1501 #ifdef CONFIG_QCA_WIFI_QCA6750 1502 #define QCA_WIFI_QCA6750 (1) 1503 #endif 1504 1505 #ifdef CONFIG_QCA_WIFI_KIWI 1506 #define QCA_WIFI_KIWI (1) 1507 #endif 1508 1509 #ifdef CONFIG_QCA_WIFI_WCN6450 1510 #define QCA_WIFI_WCN6450 (1) 1511 #endif 1512 1513 #ifdef CONFIG_QCA_WIFI_WCN6450 1514 #define WLAN_40BIT_ADDRESSING_SUPPORT (1) 1515 #endif 1516 1517 #ifdef CONFIG_QCA_WIFI_WCN6450 1518 #define WLAN_64BIT_DATA_SUPPORT (1) 1519 #endif 1520 1521 #ifdef CONFIG_CE_LEGACY_MSI_SUPPORT 1522 #define CE_LEGACY_MSI_SUPPORT (1) 1523 #endif 1524 1525 #ifdef CONFIG_HIF_HAL_REG_ACCESS_SUPPORT 1526 #define HIF_HAL_REG_ACCESS_SUPPORT (1) 1527 #endif 1528 1529 #ifdef CONFIG_CNSS_KIWI_V2 1530 #define QCA_WIFI_KIWI_V2 (1) 1531 #endif 1532 1533 #ifdef CONFIG_CNSS_MANGO 1534 #define QCA_WIFI_MANGO (1) 1535 #endif 1536 1537 #ifdef CONFIG_CNSS_PEACH 1538 #define QCA_WIFI_PEACH (1) 1539 #endif 1540 1541 #ifdef CONFIG_QCA_WIFI_QCA8074 1542 #define QCA_WIFI_QCA8074 (1) 1543 #endif 1544 1545 #ifdef CONFIG_SCALE_INCLUDES 1546 #define SCALE_INCLUDES (1) 1547 #endif 1548 1549 #ifdef CONFIG_QCA_WIFI_QCA8074_VP 1550 #define QCA_WIFI_QCA8074_VP (1) 1551 #endif 1552 1553 #ifdef CONFIG_DP_INTR_POLL_BASED 1554 #define DP_INTR_POLL_BASED (1) 1555 #endif 1556 1557 #ifdef CONFIG_TX_PER_PDEV_DESC_POOL 1558 #define TX_PER_PDEV_DESC_POOL (1) 1559 #endif 1560 1561 #ifdef CONFIG_FEATURE_TSO 1562 #define FEATURE_TSO (1) 1563 #endif 1564 1565 #ifdef CONFIG_TSO_DEBUG_LOG_ENABLE 1566 #define TSO_DEBUG_LOG_ENABLE (1) 1567 #endif 1568 1569 #ifdef CONFIG_DP_LFR 1570 #define DP_LFR (1) 1571 #endif 1572 1573 #ifdef CONFIG_DUP_RX_DESC_WAR 1574 #define DUP_RX_DESC_WAR (1) 1575 #endif 1576 1577 #ifdef CONFIG_DP_MEM_PRE_ALLOC 1578 #define DP_MEM_PRE_ALLOC (1) 1579 #endif 1580 1581 #ifdef CONFIG_DP_TXRX_SOC_ATTACH 1582 #define DP_TXRX_SOC_ATTACH (1) 1583 #endif 1584 1585 #ifdef CONFIG_QCA_TX_PADDING_CREDIT_SUPPORT 1586 #define QCA_TX_PADDING_CREDIT_SUPPORT (1) 1587 #endif 1588 1589 #ifdef CONFIG_QCN7605_SUPPORT 1590 #define QCN7605_SUPPORT (1) 1591 #define PLATFORM_GENOA (1) 1592 #endif 1593 1594 #ifdef CONFIG_HIF_REG_WINDOW_SUPPORT 1595 #define HIF_REG_WINDOW_SUPPORT (1) 1596 #endif 1597 1598 #ifdef CONFIG_WLAN_ALLOCATE_GLOBAL_BUFFERS_DYNAMICALLY 1599 #define WLAN_ALLOCATE_GLOBAL_BUFFERS_DYNAMICALLY (1) 1600 #endif 1601 1602 #ifdef CONFIG_HIF_CE_DEBUG_DATA_BUF 1603 #define HIF_CE_DEBUG_DATA_BUF (1) 1604 #endif 1605 1606 #ifdef CONFIG_IPA_DISABLE_OVERRIDE 1607 #define IPA_DISABLE_OVERRIDE (1) 1608 #endif 1609 1610 #ifdef CONFIG_QCA_LL_TX_FLOW_CONTROL_RESIZE 1611 #define QCA_LL_TX_FLOW_CONTROL_RESIZE (1) 1612 #endif 1613 1614 #ifdef CONFIG_HIF_PCI 1615 #define CE_SVC_CMN_INIT (1) 1616 #endif 1617 1618 #ifdef CONFIG_HIF_IPCI 1619 #define CE_SVC_CMN_INIT (1) 1620 #endif 1621 1622 #ifdef CONFIG_HIF_SNOC 1623 #define CE_SVC_CMN_INIT (1) 1624 #endif 1625 1626 #ifdef CONFIG_RX_DESC_SANITY_WAR 1627 #define RX_DESC_SANITY_WAR (1) 1628 #endif 1629 1630 #ifdef CONFIG_WBM_IDLE_LSB_WR_CNF_WAR 1631 #define WBM_IDLE_LSB_WRITE_CONFIRM_WAR (1) 1632 #endif 1633 1634 #ifdef CONFIG_DYNAMIC_RX_AGGREGATION 1635 #define WLAN_FEATURE_DYNAMIC_RX_AGGREGATION (1) 1636 #endif 1637 1638 #ifdef CONFIG_DP_FEATURE_HW_COOKIE_CONVERSION 1639 #define DP_FEATURE_HW_COOKIE_CONVERSION (1) 1640 #endif 1641 1642 #ifdef CONFIG_DP_HW_COOKIE_CONVERT_EXCEPTION 1643 #define DP_HW_COOKIE_CONVERT_EXCEPTION (1) 1644 #endif 1645 1646 #ifdef CONFIG_TX_ADDR_INDEX_SEARCH 1647 #define TX_ADDR_INDEX_SEARCH (1) 1648 #endif 1649 1650 #ifdef CONFIG_QCA_SUPPORT_TX_MIN_RATES_FOR_SPECIAL_FRAMES 1651 #define QCA_SUPPORT_TX_MIN_RATES_FOR_SPECIAL_FRAMES (1) 1652 #endif 1653 1654 #ifdef CONFIG_QCA_GET_TSF_VIA_REG 1655 #define QCA_GET_TSF_VIA_REG (1) 1656 #endif 1657 1658 #ifdef CONFIG_DP_TX_COMP_RING_DESC_SANITY_CHECK 1659 #define DP_TX_COMP_RING_DESC_SANITY_CHECK (1) 1660 #endif 1661 1662 #ifdef CONFIG_HAL_SRNG_REG_HIS_DEBUG 1663 #define HAL_SRNG_REG_HIS_DEBUG (1) 1664 #endif 1665 1666 #ifdef CONFIG_RX_HASH_DEBUG 1667 #define RX_HASH_DEBUG (1) 1668 #endif 1669 1670 #ifdef CONFIG_DP_PKT_STATS_PER_LMAC 1671 #define DP_PKT_STATS_PER_LMAC (1) 1672 #endif 1673 1674 #ifdef CONFIG_NO_RX_PKT_HDR_TLV 1675 #define NO_RX_PKT_HDR_TLV (1) 1676 #endif 1677 1678 #ifdef CONFIG_QCA6290_11AX 1679 #define QCA_WIFI_QCA6290_11AX (1) 1680 #define QCA_WIFI_QCA6290_11AX_MU_UL (1) 1681 #endif 1682 1683 #ifdef CONFIG_WLAN_TX_FLOW_CONTROL_V2 1684 #define QCA_AC_BASED_FLOW_CONTROL (1) 1685 #endif 1686 1687 #ifdef CONFIG_FEATURE_NO_DBS_INTRABAND_MCC_SUPPORT 1688 #define FEATURE_NO_DBS_INTRABAND_MCC_SUPPORT (1) 1689 #endif 1690 1691 #ifdef CONFIG_HAL_DISABLE_NON_BA_2K_JUMP_ERROR 1692 #define HAL_DISABLE_NON_BA_2K_JUMP_ERROR (1) 1693 #endif 1694 1695 #ifdef CONFIG_ENABLE_HAL_SOC_STATS 1696 #define ENABLE_HAL_SOC_STATS (1) 1697 #endif 1698 1699 #ifdef CONFIG_DP_RX_DESC_COOKIE_INVALIDATE 1700 #define DP_RX_DESC_COOKIE_INVALIDATE (1) 1701 #endif 1702 1703 #ifdef CONFIG_MON_ENABLE_DROP_FOR_MAC 1704 #define MON_ENABLE_DROP_FOR_MAC (1) 1705 #endif 1706 1707 #ifdef CONFIG_MON_ENABLE_DROP_FOR_NON_MON_PMAC 1708 #define MON_ENABLE_DROP_FOR_NON_MON_PMAC (1) 1709 #endif 1710 1711 #ifdef CONFIG_DP_WAR_INVALID_FIRST_MSDU_FLAG 1712 #define DP_WAR_INVALID_FIRST_MSDU_FLAG (1) 1713 #endif 1714 1715 #ifdef CONFIG_LITHIUM 1716 #define DISABLE_MON_RING_MSI_CFG (1) 1717 #endif 1718 1719 #ifdef CONFIG_LITHIUM 1720 #define FEATURE_IRQ_AFFINITY (1) 1721 #endif 1722 1723 #ifdef CONFIG_RHINE 1724 #define DISABLE_MON_RING_MSI_CFG (1) 1725 #endif 1726 1727 #ifdef CONFIG_RHINE 1728 #define FEATURE_IRQ_AFFINITY (1) 1729 #endif 1730 1731 #ifdef CONFIG_RHINE 1732 #define WLAN_SOFTUMAC_SUPPORT (1) 1733 #endif 1734 1735 #ifdef CONFIG_BERYLLIUM 1736 #define FEATURE_IRQ_AFFINITY (1) 1737 #endif 1738 1739 #ifdef CONFIG_TX_MULTIQ_PER_AC 1740 #define TX_MULTIQ_PER_AC (1) 1741 #endif 1742 1743 #ifdef CONFIG_PCI_LINK_STATUS_SANITY 1744 #define PCI_LINK_STATUS_SANITY (1) 1745 #endif 1746 1747 #ifdef CONFIG_DDP_MON_RSSI_IN_DBM 1748 #define DP_MON_RSSI_IN_DBM (1) 1749 #endif 1750 1751 #ifdef CONFIG_SYSTEM_PM_CHECK 1752 #define SYSTEM_PM_CHECK (1) 1753 #endif 1754 1755 #ifdef CONFIG_DISABLE_EAPOL_INTRABSS_FWD 1756 #define DISABLE_EAPOL_INTRABSS_FWD (1) 1757 #endif 1758 1759 #ifdef CONFIG_TX_AGGREGATION_SIZE_ENABLE 1760 #define TX_AGGREGATION_SIZE_ENABLE (1) 1761 #endif 1762 1763 #ifdef CONFIG_TX_MULTI_TCL 1764 #define TX_MULTI_TCL (1) 1765 #endif 1766 1767 #ifdef CONFIG_WLAN_DP_DISABLE_TCL_CMD_CRED_SRNG 1768 #define WLAN_DP_DISABLE_TCL_CMD_CRED_SRNG (1) 1769 #endif 1770 1771 #ifdef CONFIG_WLAN_DP_DISABLE_TCL_STATUS_SRNG 1772 #define WLAN_DP_DISABLE_TCL_STATUS_SRNG (1) 1773 #endif 1774 1775 #ifdef CONFIG_DP_WAR_VALIDATE_RX_ERR_MSDU_COOKIE 1776 #define DP_WAR_VALIDATE_RX_ERR_MSDU_COOKIE (1) 1777 #endif 1778 1779 #ifdef CONFIG_WLAN_DP_SRNG_USAGE_WM_TRACKING 1780 #define WLAN_DP_SRNG_USAGE_WM_TRACKING (1) 1781 #endif 1782 1783 #ifdef CONFIG_WLAN_FEATURE_DP_CFG_EVENT_HISTORY 1784 #define WLAN_FEATURE_DP_CFG_EVENT_HISTORY (1) 1785 #endif 1786 1787 #ifdef CONFIG_WLAN_FEATURE_LL_MODE 1788 #define WLAN_FEATURE_LL_MODE (1) 1789 #endif 1790 1791 #ifdef CONFIG_WLAN_CLD_PM_QOS 1792 #define CLD_PM_QOS (1) 1793 #endif 1794 1795 #ifdef CONFIG_WLAN_CLD_DEV_PM_QOS 1796 #define CLD_DEV_PM_QOS (1) 1797 #endif 1798 1799 #ifdef CONFIG_REO_DESC_DEFER_FREE 1800 #define REO_DESC_DEFER_FREE (1) 1801 #endif 1802 1803 #ifdef CONFIG_WLAN_FEATURE_11AX 1804 #define WLAN_FEATURE_11AX (1) 1805 #endif 1806 1807 #ifdef CONFIG_WLAN_FEATURE_11AX 1808 #define WLAN_FEATURE_11AX_BSS_COLOR (1) 1809 #endif 1810 1811 #ifdef CONFIG_WLAN_FEATURE_11AX 1812 #define SUPPORT_11AX_D3 (1) 1813 #endif 1814 1815 #ifdef CONFIG_RXDMA_ERR_PKT_DROP 1816 #define RXDMA_ERR_PKT_DROP (1) 1817 #endif 1818 1819 #ifdef CONFIG_MAX_ALLOC_PAGE_SIZE 1820 #define MAX_ALLOC_PAGE_SIZE (1) 1821 #endif 1822 1823 #ifdef CONFIG_DELIVERY_TO_STACK_STATUS_CHECK 1824 #define DELIVERY_TO_STACK_STATUS_CHECK (1) 1825 #endif 1826 1827 #ifdef CONFIG_WLAN_TRACE_HIDE_SSID 1828 #define WLAN_TRACE_HIDE_SSID (1) 1829 #endif 1830 1831 #ifdef CONFIG_WLAN_FEATURE_11BE 1832 #define WLAN_FEATURE_11BE (1) 1833 #endif 1834 1835 #ifdef CONFIG_WLAN_FEATURE_11BE_MLO 1836 #define WLAN_FEATURE_11BE_MLO (1) 1837 #endif 1838 1839 #ifdef CONFIG_WLAN_FEATURE_11BE_MLO 1840 #define WLAN_FEATURE_11BE_MLO_ADV_FEATURE (1) 1841 #endif 1842 1843 #ifdef CONFIG_WLAN_FEATURE_11BE_MLO 1844 #define WLAN_SUPPORT_11BE_D3_0 (1) 1845 #endif 1846 1847 #ifdef CONFIG_FIX_TXDMA_LIMITATION 1848 #define FIX_TXDMA_LIMITATION (1) 1849 #endif 1850 1851 #ifdef CONFIG_FEATURE_AST 1852 #define FEATURE_AST (1) 1853 #endif 1854 1855 #ifdef CONFIG_PEER_PROTECTED_ACCESS 1856 #define PEER_PROTECTED_ACCESS (1) 1857 #endif 1858 1859 #ifdef CONFIG_SERIALIZE_QUEUE_SETUP 1860 #define SERIALIZE_QUEUE_SETUP (1) 1861 #endif 1862 1863 #ifdef CONFIG_DP_RX_PKT_NO_PEER_DELIVER 1864 #define DP_RX_PKT_NO_PEER_DELIVER (1) 1865 #endif 1866 1867 #ifdef CONFIG_DP_RX_DROP_RAW_FRM 1868 #define DP_RX_DROP_RAW_FRM (1) 1869 #endif 1870 1871 #ifdef CONFIG_FEATURE_ALIGN_STATS_FROM_DP 1872 #define FEATURE_ALIGN_STATS_FROM_DP (1) 1873 #endif 1874 1875 #ifdef CONFIG_DP_RX_SPECIAL_FRAME_NEED 1876 #define DP_RX_SPECIAL_FRAME_NEED (1) 1877 #endif 1878 1879 #ifdef CONFIG_FEATURE_STATS_EXT_V2 1880 #define FEATURE_STATS_EXT_V2 (1) 1881 #endif 1882 1883 #ifdef CONFIG_WLAN_FEATURE_CAL_FAILURE_TRIGGER 1884 #define WLAN_FEATURE_CAL_FAILURE_TRIGGER (1) 1885 #endif 1886 1887 #ifdef CONFIG_WLAN_FEATURE_DYNAMIC_MAC_ADDR_UPDATE 1888 #define WLAN_FEATURE_DYNAMIC_MAC_ADDR_UPDATE (1) 1889 #endif 1890 1891 #ifdef CONFIG_WLAN_FEATURE_SAP_ACS_OPTIMIZE 1892 #define WLAN_FEATURE_SAP_ACS_OPTIMIZE (1) 1893 #endif 1894 1895 #ifdef CONFIG_WLAN_FEATURE_NO_STA_SAP_CONCURRENCY 1896 #define WLAN_FEATURE_NO_STA_SAP_CONCURRENCY (1) 1897 #endif 1898 1899 #ifdef CONFIG_WLAN_FEATURE_NO_STA_NAN_CONCURRENCY 1900 #define WLAN_FEATURE_NO_STA_NAN_CONCURRENCY (1) 1901 #endif 1902 1903 #ifdef CONFIG_WLAN_FEATURE_NO_P2P_CONCURRENCY 1904 #define WLAN_FEATURE_NO_P2P_CONCURRENCY (1) 1905 #endif 1906 1907 #ifdef CONFIG_WLAN_FEATURE_NO_SAP_NAN_CONCURRENCY 1908 #define WLAN_FEATURE_NO_SAP_NAN_CONCURRENCY (1) 1909 #endif 1910 1911 #ifdef CONFIG_VERBOSE_DEBUG 1912 #define ENABLE_VERBOSE_DEBUG (1) 1913 #endif 1914 1915 #ifdef CONFIG_RX_DESC_DEBUG_CHECK 1916 #define RX_DESC_DEBUG_CHECK (1) 1917 #endif 1918 1919 #ifdef CONFIG_REGISTER_OP_DEBUG 1920 #define HAL_REGISTER_WRITE_DEBUG (1) 1921 #endif 1922 1923 #ifdef CONFIG_ENABLE_QDF_PTR_HASH_DEBUG 1924 #define ENABLE_QDF_PTR_HASH_DEBUG (1) 1925 #endif 1926 1927 #ifdef CONFIG_SM_ENG_HIST 1928 #define SM_ENG_HIST_ENABLE (1) 1929 #endif 1930 1931 #ifdef CONFIG_FEATURE_VDEV_OPS_WAKELOCK 1932 #define FEATURE_VDEV_OPS_WAKELOCK (1) 1933 #endif 1934 1935 #ifdef CONFIG_FEATURE_RSSI_MONITOR 1936 #define FEATURE_RSSI_MONITOR (1) 1937 #endif 1938 1939 #ifdef CONFIG_FEATURE_BSS_TRANSITION 1940 #define FEATURE_BSS_TRANSITION (1) 1941 #endif 1942 1943 #ifdef CONFIG_FEATURE_STATION_INFO 1944 #define FEATURE_STATION_INFO (1) 1945 #endif 1946 1947 #ifdef CONFIG_FEATURE_TX_POWER 1948 #define FEATURE_TX_POWER (1) 1949 #endif 1950 1951 #ifdef CONFIG_FEATURE_OTA_TEST 1952 #define FEATURE_OTA_TEST (1) 1953 #endif 1954 1955 #ifdef CONFIG_FEATURE_ACTIVE_TOS 1956 #define FEATURE_ACTIVE_TOS (1) 1957 #endif 1958 1959 #ifdef CONFIG_FEATURE_SAR_LIMITS 1960 #define FEATURE_SAR_LIMITS (1) 1961 #endif 1962 1963 #ifdef CONFIG_FEATURE_CONCURRENCY_MATRIX 1964 #define FEATURE_CONCURRENCY_MATRIX (1) 1965 #endif 1966 1967 #ifdef CONFIG_FEATURE_SAP_COND_CHAN_SWITCH 1968 #define FEATURE_SAP_COND_CHAN_SWITCH (1) 1969 #endif 1970 1971 #ifdef CONFIG_FEATURE_WLAN_CH_AVOID_EXT 1972 #define FEATURE_WLAN_CH_AVOID_EXT (1) 1973 #endif 1974 1975 #ifdef CONFIG_WLAN_FEATURE_MDNS_OFFLOAD 1976 #define WLAN_FEATURE_MDNS_OFFLOAD (1) 1977 #endif 1978 1979 #ifdef CONFIG_CONVERGED_P2P_ENABLE 1980 #ifdef CONFIG_FEATURE_P2P_LISTEN_OFFLOAD 1981 #define FEATURE_P2P_LISTEN_OFFLOAD (1) 1982 #endif 1983 #endif 1984 1985 #ifdef CONFIG_ANI_LEVEL_REQUEST 1986 #define FEATURE_ANI_LEVEL_REQUEST (1) 1987 #endif 1988 1989 #ifdef CONFIG_WMI_ROAM_SUPPORT 1990 #define WMI_ROAM_SUPPORT (1) 1991 #endif 1992 1993 #ifdef CONFIG_WMI_CONCURRENCY_SUPPORT 1994 #define WMI_CONCURRENCY_SUPPORT (1) 1995 #endif 1996 1997 #ifdef CONFIG_WMI_STA_SUPPORT 1998 #define WMI_STA_SUPPORT (1) 1999 #endif 2000 2001 #ifdef CONFIG_HIF_LARGE_CE_RING_HISTORY 2002 #define HIF_CE_HISTORY_MAX (CONFIG_HIF_LARGE_CE_RING_HISTORY) 2003 #endif 2004 2005 #ifdef CONFIG_WLAN_HANG_EVENT 2006 #define HIF_CE_LOG_INFO (1) 2007 #endif 2008 2009 #ifdef CONFIG_WLAN_HANG_EVENT 2010 #define HIF_BUS_LOG_INFO (1) 2011 #endif 2012 2013 #ifdef CONFIG_WLAN_HANG_EVENT 2014 #define DP_SUPPORT_RECOVERY_NOTIFY (1) 2015 #endif 2016 2017 #ifdef CONFIG_WLAN_DFS_STATIC_MEM_ALLOC 2018 #define WLAN_DFS_STATIC_MEM_ALLOC (1) 2019 #endif 2020 2021 #ifdef CONFIG_WLAN_DFS_MASTER_ENABLE 2022 #define MOBILE_DFS_SUPPORT (1) 2023 #endif 2024 2025 #ifdef CONFIG_WLAN_FEATURE_DFS_OFFLOAD 2026 #ifdef CONFIG_WLAN_DFS_MASTER_ENABLE 2027 #define WLAN_DFS_FULL_OFFLOAD (1) 2028 #endif 2029 #else 2030 #ifdef CONFIG_WLAN_DFS_MASTER_ENABLE 2031 #define WLAN_DFS_PARTIAL_OFFLOAD (1) 2032 #endif 2033 #endif 2034 2035 #ifdef CONFIG_WLAN_DFS_MASTER_ENABLE 2036 #define DFS_COMPONENT_ENABLE (1) 2037 #endif 2038 2039 #ifdef CONFIG_WLAN_DFS_MASTER_ENABLE 2040 #define QCA_DFS_USE_POLICY_MANAGER (1) 2041 #endif 2042 2043 #ifdef CONFIG_WLAN_DFS_MASTER_ENABLE 2044 #define QCA_DFS_NOL_PLATFORM_DRV_SUPPORT (1) 2045 #endif 2046 2047 #ifdef CONFIG_QCA_DFS_BW_PUNCTURE 2048 #define QCA_DFS_BW_PUNCTURE (1) 2049 #endif 2050 2051 #ifdef CONFIG_WLAN_DEBUGFS 2052 #define WLAN_DEBUGFS (1) 2053 #endif 2054 2055 #ifdef CONFIG_WLAN_DEBUGFS 2056 #define WLAN_DBGLOG_DEBUGFS (1) 2057 #endif 2058 2059 #ifdef CONFIG_WLAN_STREAMFS 2060 #define WLAN_STREAMFS (1) 2061 #endif 2062 2063 #ifdef CONFIG_DYNAMIC_DEBUG 2064 #define FEATURE_MULTICAST_HOST_FW_MSGS (1) 2065 #endif 2066 2067 #ifdef CONFIG_WLAN_CHIPSET_STATS 2068 #define WLAN_CHIPSET_STATS (1) 2069 #endif 2070 2071 #ifdef CONFIG_ENABLE_SMMU_S1_TRANSLATION 2072 #define ENABLE_SMMU_S1_TRANSLATION (1) 2073 #endif 2074 2075 #ifdef CONFIG_LOG_LINE_NUMBER 2076 #define LOG_LINE_NUMBER (1) 2077 #endif 2078 2079 #ifdef CONFIG_ENABLE_MTRACE_LOG 2080 #define ENABLE_MTRACE_LOG (1) 2081 #endif 2082 2083 #ifdef CONFIG_FUNC_CALL_MAP 2084 #define FUNC_CALL_MAP (1) 2085 #endif 2086 2087 #ifdef CONFIG_ADAPTIVE_11R 2088 #define WLAN_ADAPTIVE_11R (1) 2089 #endif 2090 2091 #ifdef CONFIG_SAE_SINGLE_PMK 2092 #define WLAN_SAE_SINGLE_PMK (1) 2093 #endif 2094 2095 #ifdef CONFIG_MULTI_CLIENT_LL_SUPPORT 2096 #define MULTI_CLIENT_LL_SUPPORT (1) 2097 #endif 2098 2099 #ifdef CONFIG_WLAN_VENDOR_HANDOFF_CONTROL 2100 #define WLAN_VENDOR_HANDOFF_CONTROL (1) 2101 #endif 2102 2103 #ifdef CONFIG_FEATURE_MSCS 2104 #define WLAN_FEATURE_MSCS (1) 2105 #endif 2106 2107 #ifdef CONFIG_WLAN_NUD_TRACKING 2108 #define WLAN_NUD_TRACKING (1) 2109 #endif 2110 2111 #ifdef CONFIG_DISABLE_CHANNEL_LIST 2112 #define DISABLE_CHANNEL_LIST (1) 2113 #endif 2114 2115 #ifdef CONFIG_WLAN_BCN_RECV_FEATURE 2116 #define WLAN_BCN_RECV_FEATURE (1) 2117 #endif 2118 2119 #ifdef CONFIG_FW_THERMAL_THROTTLE 2120 #define FW_THERMAL_THROTTLE (1) 2121 #endif 2122 2123 #ifdef CONFIG_LTE_COEX 2124 #define LTE_COEX (1) 2125 #endif 2126 2127 #ifdef CONFIG_HOST_OPCLASS 2128 #define HOST_OPCLASS (1) 2129 #endif 2130 2131 #ifdef CONFIG_HOST_OPCLASS 2132 #define HOST_OPCLASS_EXT (1) 2133 #endif 2134 2135 #ifdef CONFIG_TARGET_11D_SCAN 2136 #define TARGET_11D_SCAN (1) 2137 #endif 2138 2139 #ifdef CONFIG_SAP_AVOID_ACS_FREQ_LIST 2140 #define SAP_AVOID_ACS_FREQ_LIST (1) 2141 #endif 2142 2143 #ifdef CONFIG_WLAN_DYNAMIC_CVM 2144 #define FEATURE_WLAN_DYNAMIC_CVM (1) 2145 #endif 2146 2147 #ifdef CONFIG_QCACLD_FEATURE_FW_STATE 2148 #define FEATURE_FW_STATE (1) 2149 #endif 2150 2151 #ifdef CONFIG_QCACLD_FEATURE_COEX_CONFIG 2152 #define FEATURE_COEX_CONFIG (1) 2153 #endif 2154 2155 #ifdef CONFIG_QCACLD_FEATURE_MPTA_HELPER 2156 #define FEATURE_MPTA_HELPER (1) 2157 #endif 2158 2159 #ifdef CONFIG_QCACLD_FEATURE_HW_CAPABILITY 2160 #define FEATURE_HW_CAPABILITY (1) 2161 #endif 2162 2163 #ifdef CONFIG_QCACLD_FEATURE_BTC_CHAIN_MODE 2164 #define FEATURE_BTC_CHAIN_MODE (1) 2165 #endif 2166 2167 #ifdef CONFIG_DATA_CE_SW_INDEX_NO_INLINE_UPDATE 2168 #define DATA_CE_SW_INDEX_NO_INLINE_UPDATE (1) 2169 #endif 2170 2171 #ifdef CONFIG_QCACLD_RX_DESC_MULTI_PAGE_ALLOC 2172 #define RX_DESC_MULTI_PAGE_ALLOC (1) 2173 #endif 2174 2175 #ifdef CONFIG_SAR_SAFETY_FEATURE 2176 #define SAR_SAFETY_FEATURE (1) 2177 #endif 2178 2179 #ifdef CONFIG_CONNECTION_ROAMING_CFG 2180 #define CONNECTION_ROAMING_CFG (1) 2181 #endif 2182 2183 #ifdef CONFIG_FEATURE_SET 2184 #define FEATURE_SET (1) 2185 #endif 2186 2187 #ifdef CONFIG_WLAN_FEATURE_NEAR_FULL_IRQ 2188 #define WLAN_FEATURE_NEAR_FULL_IRQ (1) 2189 #endif 2190 2191 #ifdef CONFIG_WLAN_FEATURE_DP_EVENT_HISTORY 2192 #define WLAN_FEATURE_DP_EVENT_HISTORY (1) 2193 #endif 2194 2195 #ifdef CONFIG_WLAN_FEATURE_DP_RX_RING_HISTORY 2196 #define WLAN_FEATURE_DP_RX_RING_HISTORY (1) 2197 #endif 2198 2199 #ifdef CONFIG_WLAN_FEATURE_DP_MON_STATUS_RING_HISTORY 2200 #define WLAN_FEATURE_DP_MON_STATUS_RING_HISTORY (1) 2201 #endif 2202 2203 #ifdef CONFIG_WLAN_FEATURE_DP_TX_DESC_HISTORY 2204 #define WLAN_FEATURE_DP_TX_DESC_HISTORY (1) 2205 #endif 2206 2207 #ifdef CONFIG_REO_QDESC_HISTORY 2208 #define REO_QDESC_HISTORY (1) 2209 #endif 2210 2211 #ifdef CONFIG_DP_TX_HW_DESC_HISTORY 2212 #define DP_TX_HW_DESC_HISTORY (1) 2213 #endif 2214 2215 #ifdef CONFIG_QDF_NBUF_HISTORY_SIZE 2216 #define QDF_NBUF_HISTORY_SIZE (CONFIG_QDF_NBUF_HISTORY_SIZE) 2217 #endif 2218 2219 #ifdef CONFIG_WLAN_DP_PER_RING_TYPE_CONFIG 2220 #define WLAN_DP_PER_RING_TYPE_CONFIG (1) 2221 #endif 2222 2223 #ifdef CONFIG_WLAN_CE_INTERRUPT_THRESHOLD_CONFIG 2224 #define WLAN_CE_INTERRUPT_THRESHOLD_CONFIG (1) 2225 #endif 2226 2227 #ifdef CONFIG_SAP_DHCP_FW_IND 2228 #define SAP_DHCP_FW_IND (1) 2229 #endif 2230 2231 #ifdef CONFIG_WLAN_DP_PENDING_MEM_FLUSH 2232 #define WLAN_DP_PENDING_MEM_FLUSH (1) 2233 #endif 2234 2235 #ifdef CONFIG_WLAN_SUPPORT_DATA_STALL 2236 #define WLAN_SUPPORT_DATA_STALL (1) 2237 #endif 2238 2239 #ifdef CONFIG_WLAN_SUPPORT_TXRX_HL_BUNDLE 2240 #define WLAN_SUPPORT_TXRX_HL_BUNDLE (1) 2241 #endif 2242 2243 #ifdef CONFIG_QCN7605_PCIE_SHADOW_REG_SUPPORT 2244 #define QCN7605_PCIE_SHADOW_REG_SUPPORT (1) 2245 #endif 2246 2247 #ifdef CONFIG_QCN7605_PCIE_GOLBAL_RESET_SUPPORT 2248 #define QCN7605_PCIE_GOLBAL_RESET_SUPPORT (1) 2249 #endif 2250 2251 #ifdef CONFIG_MARK_ICMP_REQ_TO_FW 2252 #define WLAN_DP_FEATURE_MARK_ICMP_REQ_TO_FW (1) 2253 #endif 2254 2255 #ifdef CONFIG_EMULATION_2_0 2256 #define CONFIG_KIWI_EMULATION_2_0 (1) 2257 #endif 2258 2259 #ifdef CONFIG_WLAN_SKIP_BAR_UPDATE 2260 #define WLAN_SKIP_BAR_UPDATE (1) 2261 #endif 2262 2263 #ifdef CONFIG_WLAN_TRACEPOINTS 2264 #define WLAN_TRACEPOINTS (1) 2265 #endif 2266 2267 #ifdef CONFIG_QCACLD_FEATURE_SON 2268 #define FEATURE_PERPKT_INFO (1) 2269 #endif 2270 2271 #ifdef CONFIG_QCACLD_FEATURE_SON 2272 #define QCA_ENHANCED_STATS_SUPPORT (1) 2273 #endif 2274 2275 #ifdef CONFIG_QMI_COMPONENT_ENABLE 2276 #define QMI_COMPONENT_ENABLE (1) 2277 #ifdef CONFIG_QMI_WFDS 2278 #define QMI_WFDS (1) 2279 #endif 2280 #endif 2281 #if defined(CONFIG_MAX_LOGS_PER_SEC) && defined(CONFIG_ENABLE_MAX_LOGS_PER_SEC) 2282 #define WLAN_MAX_LOGS_PER_SEC (CONFIG_MAX_LOGS_PER_SEC) 2283 #endif 2284 2285 #ifdef CONFIG_NON_QC_PLATFORM 2286 #define WLAN_DUMP_LOG_BUF_CNT (CONFIG_DUMP_LOG_BUF_CNT) 2287 #endif 2288 2289 #if defined(CONFIG_SCHED_HISTORY_SIZE) && \ 2290 defined(CONFIG_ENABLE_SCHED_HISTORY_SIZE) 2291 #define WLAN_SCHED_HISTORY_SIZE (CONFIG_SCHED_HISTORY_SIZE) 2292 #endif 2293 2294 #ifdef CONFIG_DP_LEGACY_MODE_CSM_DEFAULT_DISABLE 2295 #define DP_LEGACY_MODE_CSM_DEFAULT_DISABLE (CONFIG_DP_LEGACY_MODE_CSM_DEFAULT_DISABLE) 2296 #endif 2297 2298 #ifdef CONFIG_HANDLE_RX_REROUTE_ERR 2299 #define HANDLE_RX_REROUTE_ERR (1) 2300 #endif 2301 2302 #ifdef CONFIG_CFG_NUM_DP_TRACE_RECORD 2303 #define MAX_QDF_DP_TRACE_RECORDS (CONFIG_CFG_NUM_DP_TRACE_RECORD) 2304 #endif 2305 2306 #ifdef CONFIG_CFG_NUM_HTC_CREDIT_HISTORY 2307 #define HTC_CREDIT_HISTORY_MAX (CONFIG_CFG_NUM_HTC_CREDIT_HISTORY) 2308 #endif 2309 2310 #ifdef CONFIG_CFG_NUM_WMI_EVENT_HISTORY 2311 #define WMI_EVENT_DEBUG_MAX_ENTRY (CONFIG_CFG_NUM_WMI_EVENT_HISTORY) 2312 #endif 2313 2314 #ifdef CONFIG_CFG_NUM_WMI_MGMT_EVENT_HISTORY 2315 #define WMI_MGMT_EVENT_DEBUG_MAX_ENTRY (CONFIG_CFG_NUM_WMI_MGMT_EVENT_HISTORY) 2316 #endif 2317 2318 #ifdef CONFIG_CFG_NUM_TX_RX_HISTOGRAM 2319 #define NUM_TX_RX_HISTOGRAM (CONFIG_CFG_NUM_TX_RX_HISTOGRAM) 2320 #endif 2321 2322 #ifdef CONFIG_CFG_NUM_RX_IND_RECORD 2323 #define OL_RX_INDICATION_MAX_RECORDS (CONFIG_CFG_NUM_RX_IND_RECORD) 2324 #endif 2325 2326 #ifdef CONFIG_CFG_NUM_ROAM_DEBUG_RECORD 2327 #define WLAN_ROAM_DEBUG_MAX_REC (CONFIG_CFG_NUM_ROAM_DEBUG_RECORD) 2328 #endif 2329 2330 #ifdef CONFIG_CFG_PMO_WOW_FILTERS_MAX 2331 #define PMO_WOW_FILTERS_MAX (CONFIG_CFG_PMO_WOW_FILTERS_MAX) 2332 #endif 2333 2334 #ifdef CONFIG_CFG_GTK_OFFLOAD_MAX_VDEV 2335 #define CFG_TGT_DEFAULT_GTK_OFFLOAD_MAX_VDEV (CONFIG_CFG_GTK_OFFLOAD_MAX_VDEV) 2336 #endif 2337 2338 #ifdef CONFIG_TGT_NUM_MSDU_DESC 2339 #define CFG_TGT_NUM_MSDU_DESC (CONFIG_TGT_NUM_MSDU_DESC) 2340 #endif 2341 2342 #ifdef CONFIG_HTC_MAX_MSG_PER_BUNDLE_TX 2343 #define CFG_HTC_MAX_MSG_PER_BUNDLE_TX (CONFIG_HTC_MAX_MSG_PER_BUNDLE_TX) 2344 #endif 2345 2346 #ifdef CONFIG_CFG_BMISS_OFFLOAD_MAX_VDEV 2347 #define CFG_TGT_DEFAULT_BMISS_OFFLOAD_MAX_VDEV (CONFIG_CFG_BMISS_OFFLOAD_MAX_VDEV) 2348 #endif 2349 2350 #ifdef CONFIG_WLAN_UMAC_MLO_MAX_DEV 2351 #define WLAN_UMAC_MLO_MAX_DEV (CONFIG_WLAN_UMAC_MLO_MAX_DEV) 2352 #endif 2353 2354 #ifdef CONFIG_CFG_ROAM_OFFLOAD_MAX_VDEV 2355 #define CFG_TGT_DEFAULT_ROAM_OFFLOAD_MAX_VDEV (CONFIG_CFG_ROAM_OFFLOAD_MAX_VDEV) 2356 #endif 2357 2358 #ifdef CONFIG_CFG_MAX_PERIODIC_TX_PTRNS 2359 #define MAXNUM_PERIODIC_TX_PTRNS (CONFIG_CFG_MAX_PERIODIC_TX_PTRNS) 2360 #endif 2361 2362 #ifdef CONFIG_CFG_MAX_STA_VDEVS 2363 #define CFG_TGT_DEFAULT_MAX_STA_VDEVS (CONFIG_CFG_MAX_STA_VDEVS) 2364 #endif 2365 2366 #ifdef CONFIG_CFG_NUM_OF_ADDITIONAL_FW_PEERS 2367 #define NUM_OF_ADDITIONAL_FW_PEERS (CONFIG_CFG_NUM_OF_ADDITIONAL_FW_PEERS) 2368 #endif 2369 2370 #ifdef CONFIG_CFG_NUM_OF_TDLS_CONN_TABLE_ENTRIES 2371 #define CFG_TGT_NUM_TDLS_CONN_TABLE_ENTRIES (CONFIG_CFG_NUM_OF_TDLS_CONN_TABLE_ENTRIES) 2372 #endif 2373 2374 #ifdef CONFIG_CFG_TGT_AST_SKID_LIMIT 2375 #define CFG_TGT_AST_SKID_LIMIT (CONFIG_CFG_TGT_AST_SKID_LIMIT) 2376 #endif 2377 2378 #ifdef CONFIG_TX_RESOURCE_HIGH_TH_IN_PER 2379 #define TX_RESOURCE_HIGH_TH_IN_PER (CONFIG_TX_RESOURCE_HIGH_TH_IN_PER) 2380 #endif 2381 2382 #ifdef CONFIG_TX_RESOURCE_LOW_TH_IN_PER 2383 #define TX_RESOURCE_LOW_TH_IN_PER (CONFIG_TX_RESOURCE_LOW_TH_IN_PER) 2384 #endif 2385 2386 #ifndef CONFIG_WLAN_MAX_PSOCS 2387 #define CONFIG_WLAN_MAX_PSOCS (1) 2388 #endif 2389 #define WLAN_MAX_PSOCS (CONFIG_WLAN_MAX_PSOCS) 2390 2391 #ifndef CONFIG_WLAN_MAX_PDEVS 2392 #define CONFIG_WLAN_MAX_PDEVS (1) 2393 #endif 2394 #define WLAN_MAX_PDEVS (CONFIG_WLAN_MAX_PDEVS) 2395 2396 #ifdef CONFIG_WLAN_FEATURE_11BE_MLO 2397 #ifndef CONFIG_WLAN_MAX_ML_VDEVS 2398 #define CONFIG_WLAN_MAX_ML_VDEVS (3) 2399 #endif 2400 #else 2401 #ifndef CONFIG_WLAN_MAX_ML_VDEVS 2402 #define CONFIG_WLAN_MAX_ML_VDEVS (0) 2403 #endif 2404 #endif 2405 2406 #define WLAN_MAX_ML_VDEVS (CONFIG_WLAN_MAX_ML_VDEVS) 2407 2408 #ifndef CONFIG_WLAN_MAX_VDEVS 2409 #define CONFIG_WLAN_MAX_VDEVS (6) 2410 #endif 2411 #define WLAN_MAX_VDEVS (CONFIG_WLAN_MAX_VDEVS) 2412 2413 #ifdef CONFIG_WLAN_FEATURE_11BE_MLO 2414 #ifndef CONFIG_WLAN_MAX_MLD 2415 #define CONFIG_WLAN_MAX_MLD (2) 2416 #endif 2417 #else 2418 #ifndef CONFIG_WLAN_MAX_MLD 2419 #define CONFIG_WLAN_MAX_MLD (1) 2420 #endif 2421 #endif 2422 2423 #define WLAN_MAX_MLD (CONFIG_WLAN_MAX_MLD) 2424 2425 #ifdef CONFIG_SIR_SAP_MAX_NUM_PEERS 2426 #ifndef CONFIG_WLAN_SER_MAX_PENDING_CMDS_AP 2427 #define CONFIG_WLAN_SER_MAX_PENDING_CMDS_AP (CONFIG_SIR_SAP_MAX_NUM_PEERS) 2428 #endif 2429 #else 2430 #ifndef CONFIG_WLAN_SER_MAX_PENDING_CMDS_AP 2431 #define CONFIG_WLAN_SER_MAX_PENDING_CMDS_AP (32) 2432 #endif 2433 #endif 2434 2435 #ifndef WLAN_SER_MAX_PENDING_CMDS_AP 2436 #define WLAN_SER_MAX_PENDING_CMDS_AP (CONFIG_WLAN_SER_MAX_PENDING_CMDS_AP + 3) 2437 #endif 2438 2439 #ifndef CONFIG_WLAN_SER_MAX_PENDING_CMDS_STA 2440 #define CONFIG_WLAN_SER_MAX_PENDING_CMDS_STA (4) 2441 #endif 2442 #define WLAN_SER_MAX_PENDING_CMDS_STA (CONFIG_WLAN_SER_MAX_PENDING_CMDS_STA) 2443 2444 #ifndef CONFIG_WLAN_MAX_PENDING_CMDS 2445 #define CONFIG_WLAN_MAX_PENDING_CMDS (CONFIG_WLAN_SER_MAX_PENDING_CMDS_AP * 3 + CONFIG_WLAN_SER_MAX_PENDING_CMDS_STA * 2) 2446 #endif 2447 #define WLAN_SER_MAX_PENDING_CMDS (CONFIG_WLAN_MAX_PENDING_CMDS) 2448 2449 #ifndef CONFIG_WLAN_PDEV_MAX_VDEVS 2450 #define CONFIG_WLAN_PDEV_MAX_VDEVS (CONFIG_WLAN_MAX_VDEVS) 2451 #endif 2452 #define WLAN_PDEV_MAX_VDEVS (CONFIG_WLAN_PDEV_MAX_VDEVS) 2453 2454 #ifndef CONFIG_WLAN_PSOC_MAX_VDEVS 2455 #define CONFIG_WLAN_PSOC_MAX_VDEVS (CONFIG_WLAN_MAX_VDEVS) 2456 #endif 2457 #define WLAN_PSOC_MAX_VDEVS (CONFIG_WLAN_PSOC_MAX_VDEVS) 2458 2459 #ifndef CONFIG_MAX_SCAN_CACHE_SIZE 2460 #define CONFIG_MAX_SCAN_CACHE_SIZE (500) 2461 #endif 2462 #define MAX_SCAN_CACHE_SIZE (CONFIG_MAX_SCAN_CACHE_SIZE) 2463 2464 #ifndef CONFIG_SCAN_MAX_REST_TIME 2465 #define CONFIG_SCAN_MAX_REST_TIME (0) 2466 #endif 2467 #define SCAN_MAX_REST_TIME (CONFIG_SCAN_MAX_REST_TIME) 2468 2469 #ifndef CONFIG_SCAN_MIN_REST_TIME 2470 #define CONFIG_SCAN_MIN_REST_TIME (0) 2471 #endif 2472 #define SCAN_MIN_REST_TIME (CONFIG_SCAN_MIN_REST_TIME) 2473 2474 #ifndef CONFIG_SCAN_BURST_DURATION 2475 #define CONFIG_SCAN_BURST_DURATION (0) 2476 #endif 2477 #define SCAN_BURST_DURATION (CONFIG_SCAN_BURST_DURATION) 2478 2479 #ifndef CONFIG_SCAN_PROBE_SPACING_TIME 2480 #define CONFIG_SCAN_PROBE_SPACING_TIME (0) 2481 #endif 2482 #define SCAN_PROBE_SPACING_TIME (CONFIG_SCAN_PROBE_SPACING_TIME) 2483 2484 #ifndef CONFIG_SCAN_PROBE_DELAY 2485 #define CONFIG_SCAN_PROBE_DELAY (0) 2486 #endif 2487 #define SCAN_PROBE_DELAY (CONFIG_SCAN_PROBE_DELAY) 2488 2489 #ifndef CONFIG_SCAN_MAX_SCAN_TIME 2490 #define CONFIG_SCAN_MAX_SCAN_TIME (30000) 2491 #endif 2492 #define SCAN_MAX_SCAN_TIME (CONFIG_SCAN_MAX_SCAN_TIME) 2493 2494 #ifndef CONFIG_SCAN_NETWORK_IDLE_TIMEOUT 2495 #define CONFIG_SCAN_NETWORK_IDLE_TIMEOUT (0) 2496 #endif 2497 #define SCAN_NETWORK_IDLE_TIMEOUT (CONFIG_SCAN_NETWORK_IDLE_TIMEOUT) 2498 2499 #ifndef CONFIG_HIDDEN_SSID_TIME 2500 #define CONFIG_HIDDEN_SSID_TIME (0xFFFFFFFF) 2501 #endif 2502 #define HIDDEN_SSID_TIME (CONFIG_HIDDEN_SSID_TIME) 2503 2504 #ifndef CONFIG_SCAN_CHAN_STATS_EVENT_ENAB 2505 #define CONFIG_SCAN_CHAN_STATS_EVENT_ENAB (false) 2506 #endif 2507 #define SCAN_CHAN_STATS_EVENT_ENAB (CONFIG_SCAN_CHAN_STATS_EVENT_ENAB) 2508 2509 #ifndef CONFIG_MAX_BCN_PROBE_IN_SCAN_QUEUE 2510 #define CONFIG_MAX_BCN_PROBE_IN_SCAN_QUEUE (150) 2511 #endif 2512 #define MAX_BCN_PROBE_IN_SCAN_QUEUE (CONFIG_MAX_BCN_PROBE_IN_SCAN_QUEUE) 2513 2514 #ifndef CONFIG_RX_DIAG_WQ_MAX_SIZE 2515 #define CONFIG_RX_DIAG_WQ_MAX_SIZE (1000) 2516 #endif 2517 #define RX_DIAG_WQ_MAX_SIZE (CONFIG_RX_DIAG_WQ_MAX_SIZE) 2518 2519 #ifndef CONFIG_MGMT_DESC_POOL_MAX 2520 #define CONFIG_MGMT_DESC_POOL_MAX (64) 2521 #endif 2522 #define MGMT_DESC_POOL_MAX (CONFIG_MGMT_DESC_POOL_MAX) 2523 2524 #ifdef CONFIG_SIR_SAP_MAX_NUM_PEERS 2525 #define SIR_SAP_MAX_NUM_PEERS (CONFIG_SIR_SAP_MAX_NUM_PEERS) 2526 #endif 2527 2528 #ifdef CONFIG_BEACON_TX_OFFLOAD_MAX_VDEV 2529 #define CFG_TGT_DEFAULT_BEACON_TX_OFFLOAD_MAX_VDEV (CONFIG_BEACON_TX_OFFLOAD_MAX_VDEV) 2530 #endif 2531 2532 #ifdef CONFIG_LIMIT_IPA_TX_BUFFER 2533 #define LIMIT_IPA_TX_BUFFER (CONFIG_LIMIT_IPA_TX_BUFFER) 2534 #endif 2535 2536 #ifdef CONFIG_LOCK_STATS_ON 2537 #define QDF_LOCK_STATS (1) 2538 #define QDF_LOCK_STATS_DESTROY_PRINT (0) 2539 #ifndef CONFIG_ARCH_SDXPRAIRIE 2540 #define QDF_LOCK_STATS_BUG_ON (1) 2541 #endif 2542 #ifdef CONFIG_VCPU_TIMESTOLEN 2543 #define VCPU_TIMESTOLEN (1) 2544 #endif 2545 #define QDF_LOCK_STATS_LIST (1) 2546 #define QDF_LOCK_STATS_LIST_SIZE (256) 2547 #endif 2548 #ifdef CONFIG_FW_THERMAL_THROTTLE 2549 #define FW_THERMAL_THROTTLE_SUPPORT (1) 2550 #endif 2551 2552 #ifdef CONFIG_FEATURE_RX_LINKSPEED_ROAM_TRIGGER 2553 #define FEATURE_RX_LINKSPEED_ROAM_TRIGGER (1) 2554 #endif 2555 2556 #ifdef CONFIG_FEATURE_RX_LINKSPEED_ROAM_TRIGGER 2557 #define DP_RATETABLE_SUPPORT (1) 2558 #endif 2559 2560 #ifdef CONFIG_6G_SCAN_CHAN_SORT_ALGO 2561 #define FEATURE_6G_SCAN_CHAN_SORT_ALGO (1) 2562 #endif 2563 2564 #ifdef CONFIG_WLAN_FEATURE_AFC_DCS_SKIP_ACS_RANGE 2565 #define WLAN_FEATURE_AFC_DCS_SKIP_ACS_RANGE (1) 2566 #endif 2567 2568 #ifdef CONFIG_RX_FISA 2569 #define WLAN_SUPPORT_RX_FISA (1) 2570 #endif 2571 2572 #ifdef CONFIG_RX_FISA_HISTORY 2573 #define WLAN_SUPPORT_RX_FISA_HIST (1) 2574 #endif 2575 2576 #ifdef CONFIG_DP_SWLM 2577 #define WLAN_DP_FEATURE_SW_LATENCY_MGR (1) 2578 #endif 2579 2580 #ifdef CONFIG_RX_DEFRAG_DO_NOT_REINJECT 2581 #define RX_DEFRAG_DO_NOT_REINJECT (1) 2582 #endif 2583 2584 #ifdef CONFIG_HANDLE_BC_EAP_TX_FRM 2585 #define HANDLE_BROADCAST_EAPOL_TX_FRAME (1) 2586 #endif 2587 2588 #ifdef CONFIG_HASTINGS_BT_WAR 2589 #define HASTINGS_BT_WAR (1) 2590 #endif 2591 2592 #ifdef CONFIG_HIF_DEBUG 2593 #define HIF_CONFIG_SLUB_DEBUG_ON (1) 2594 #endif 2595 2596 #ifdef CONFIG_HAL_DEBUG 2597 #define HAL_CONFIG_SLUB_DEBUG_ON (1) 2598 #endif 2599 2600 #ifdef CONFIG_FOURTH_CONNECTION 2601 #define FEATURE_FOURTH_CONNECTION (1) 2602 #endif 2603 2604 #ifdef CONFIG_FOURTH_CONNECTION_AUTO 2605 #define FOURTH_CONNECTION_AUTO (1) 2606 #endif 2607 2608 #ifdef CONFIG_WMI_SEND_RECV_QMI 2609 #define WLAN_FEATURE_WMI_SEND_RECV_QMI (1) 2610 #endif 2611 2612 #ifdef CONFIG_WDI3_STATS_UPDATE 2613 #define WDI3_STATS_UPDATE (1) 2614 #endif 2615 2616 #ifdef CONFIG_WDI3_STATS_BW_MONITOR 2617 #define WDI3_STATS_BW_MONITOR (1) 2618 #endif 2619 2620 #ifdef CONFIG_IPA_P2P_SUPPORT 2621 #define IPA_P2P_SUPPORT (1) 2622 #endif 2623 2624 #ifdef CONFIG_WLAN_CUSTOM_DSCP_UP_MAP 2625 #define WLAN_CUSTOM_DSCP_UP_MAP (1) 2626 #endif 2627 2628 #ifdef CONFIG_WLAN_SEND_DSCP_UP_MAP_TO_FW 2629 #define WLAN_SEND_DSCP_UP_MAP_TO_FW (1) 2630 #endif 2631 2632 #ifdef CONFIG_HIF_CPU_PERF_AFFINE_MASK 2633 #define HIF_CPU_PERF_AFFINE_MASK (1) 2634 #endif 2635 2636 #ifdef CONFIG_HIF_CPU_CLEAR_AFFINITY 2637 #define HIF_CPU_CLEAR_AFFINITY (1) 2638 #endif 2639 2640 #ifdef CONFIG_GENERIC_SHADOW_REGISTER_ACCESS_ENABLE 2641 #define GENERIC_SHADOW_REGISTER_ACCESS_ENABLE (1) 2642 #endif 2643 2644 #ifdef CONFIG_IPA_SET_RESET_TX_DB_PA 2645 #define IPA_SET_RESET_TX_DB_PA (1) 2646 #endif 2647 2648 #ifdef CONFIG_DEVICE_FORCE_WAKE_ENABLE 2649 #define DEVICE_FORCE_WAKE_ENABLE (1) 2650 #endif 2651 2652 #ifdef CONFIG_WINDOW_REG_PLD_LOCK_ENABLE 2653 #define WINDOW_REG_PLD_LOCK_ENABLE (1) 2654 #endif 2655 2656 #ifdef CONFIG_DUMP_REO_QUEUE_INFO_IN_DDR 2657 #define DUMP_REO_QUEUE_INFO_IN_DDR (1) 2658 #endif 2659 2660 #ifdef CONFIG_DP_RX_REFILL_CPU_PERF_AFFINE_MASK 2661 #define DP_RX_REFILL_CPU_PERF_AFFINE_MASK (1) 2662 #endif 2663 2664 #ifdef CONFIG_MAX_CLIENTS_ALLOWED 2665 #define WLAN_MAX_CLIENTS_ALLOWED (CONFIG_MAX_CLIENTS_ALLOWED) 2666 #endif 2667 2668 #ifdef CONFIG_WLAN_FEATURE_RX_BUFFER_POOL 2669 #define WLAN_FEATURE_RX_PREALLOC_BUFFER_POOL (1) 2670 #ifdef CONFIG_DP_RX_BUFFER_POOL_SIZE 2671 #define DP_RX_BUFFER_POOL_SIZE (CONFIG_DP_RX_BUFFER_POOL_SIZE) 2672 #endif 2673 #ifdef CONFIG_DP_RX_BUFFER_POOL_ALLOC_THRES 2674 #define DP_RX_BUFFER_POOL_ALLOC_THRES (CONFIG_DP_RX_BUFFER_POOL_ALLOC_THRES) 2675 #endif 2676 #ifdef CONFIG_DP_RX_REFILL_BUFF_POOL_SIZE 2677 #define DP_RX_REFILL_BUFF_POOL_SIZE (CONFIG_DP_RX_REFILL_BUFF_POOL_SIZE) 2678 #endif 2679 #ifdef CONFIG_DP_RX_REFILL_THRD_THRESHOLD 2680 #define DP_RX_REFILL_THRD_THRESHOLD (CONFIG_DP_RX_REFILL_THRD_THRESHOLD) 2681 #endif 2682 #endif 2683 #ifdef CONFIG_DP_FT_LOCK_HISTORY 2684 #define DP_FT_LOCK_HISTORY (1) 2685 #endif 2686 2687 #ifdef CONFIG_INTRA_BSS_FWD_OFFLOAD 2688 #define INTRA_BSS_FWD_OFFLOAD (1) 2689 #endif 2690 2691 #ifdef CONFIG_GET_DRIVER_MODE 2692 #define FEATURE_GET_DRIVER_MODE (1) 2693 #endif 2694 2695 #ifdef CONFIG_FEATURE_IPA_PIPE_CHANGE_WDI1 2696 #define FEATURE_IPA_PIPE_CHANGE_WD (1) 2697 #endif 2698 2699 #ifdef CONFIG_WLAN_BOOTUP_MARKER 2700 #define WLAN_BOOTUP_MARKER (1) 2701 #endif 2702 2703 #ifdef CONFIG_WLAN_PLACEMARKER_PREFIX 2704 #define WLAN_PLACEMARKER_PREFIX (CONFIG_WLAN_PLACEMARKER_PREFIX) 2705 #endif 2706 2707 #ifdef CONFIG_FEATURE_STA_MODE_VOTE_LINK 2708 #define FEATURE_STA_MODE_VOTE_LINK (1) 2709 #endif 2710 2711 #ifdef CONFIG_WLAN_ENABLE_GPIO_WAKEUP 2712 #define WLAN_ENABLE_GPIO_WAKEUP (1) 2713 #endif 2714 2715 #ifdef CONFIG_WLAN_MAC_ADDR_UPDATE_DISABLE 2716 #define WLAN_MAC_ADDR_UPDATE_DISABLE (1) 2717 #endif 2718 2719 #ifdef CONFIG_SMP 2720 #ifdef CONFIG_HIF_DETECTION_LATENCY_ENABLE 2721 #define HIF_DETECTION_LATENCY_ENABLE (1) 2722 #define DETECTION_TIMER_TIMEOUT (4000) 2723 #define DETECTION_LATENCY_THRESHOLD (3900) 2724 #endif 2725 #endif 2726 #ifdef CONFIG_FEATURE_WDS 2727 #define FEATURE_WDS (1) 2728 #endif 2729 2730 #ifdef CONFIG_FEATURE_MEC 2731 #define FEATURE_MEC (1) 2732 #endif 2733 2734 #ifdef CONFIG_FEATURE_MCL_REPEATER 2735 #define FEATURE_MCL_REPEATER (1) 2736 #endif 2737 2738 #ifdef CONFIG_WDS_CONV_TARGET_IF_OPS_ENABLE 2739 #define WDS_CONV_TARGET_IF_OPS_ENABLE (1) 2740 #endif 2741 2742 #ifdef CONFIG_BYPASS_WDS_OL_OPS 2743 #define BYPASS_OL_OPS (1) 2744 #endif 2745 2746 #ifdef CONFIG_IPA_WDI3_TX_TWO_PIPES 2747 #define IPA_WDI3_TX_TWO_PIPES (1) 2748 #endif 2749 2750 #ifdef CONFIG_DP_TX_TRACKING 2751 #define DP_TX_TRACKING (1) 2752 #endif 2753 2754 #ifdef CONFIG_CHIP_VERSION 2755 #define CHIP_VERSION (CONFIG_CHIP_VERSION) 2756 #endif 2757 2758 #ifdef CONFIG_WLAN_FEATURE_MARK_FIRST_WAKEUP_PACKET 2759 #define WLAN_FEATURE_MARK_FIRST_WAKEUP_PACKET (1) 2760 #endif 2761 2762 #ifdef CONFIG_SHUTDOWN_WLAN_IN_SYSTEM_SUSPEND 2763 #define SHUTDOWN_WLAN_IN_SYSTEM_SUSPEND (1) 2764 #endif 2765 2766 #ifdef CONFIG_WLAN_FEATURE_MCC_QUOTA 2767 #define WLAN_FEATURE_MCC_QUOTA (1) 2768 #ifdef CONFIG_WLAN_MCC_MIN_CHANNEL_QUOTA 2769 #define WLAN_MCC_MIN_CHANNEL_QUOTA (CONFIG_WLAN_MCC_MIN_CHANNEL_QUOTA) 2770 #endif 2771 #endif 2772 #ifdef CONFIG_WLAN_FEATURE_PEER_TXQ_FLUSH_CONF 2773 #define WLAN_FEATURE_PEER_TXQ_FLUSH_CONF (1) 2774 #endif 2775 2776 #ifdef CONFIG_DP_HW_TX_DELAY_STATS_ENABLE 2777 #define HW_TX_DELAY_STATS_ENABLE (1) 2778 #endif 2779 2780 #ifdef CONFIG_CNSS_HW_SECURE_DISABLE 2781 #define FEATURE_CNSS_HW_SECURE_DISABLE (1) 2782 #endif 2783 2784 #ifdef CONFIG_FEATURE_COEX 2785 #ifdef CONFIG_WLAN_FEATURE_COEX_DBAM 2786 #define WLAN_FEATURE_DBAM_CONFIG (1) 2787 #endif 2788 #endif 2789 2790 #ifdef CONFIG_WLAN_FEATURE_COAP 2791 #define WLAN_FEATURE_COAP (1) 2792 #endif 2793 2794 #ifdef CONFIG_CNSS2_SSR_DRIVER_DUMP 2795 #define WLAN_FEATURE_SSR_DRIVER_DUMP (1) 2796 #endif 2797 2798 #ifdef CONFIG_WLAN_CTRL_NAME 2799 #define WLAN_CTRL_NAME (CONFIG_WLAN_CTRL_NAME) 2800 #endif 2801 2802 #ifdef CONFIG_ENABLE_CE4_COMP_DISABLE_HTT_HTC_MISC_LIST 2803 #define ENABLE_CE4_COMP_DISABLE_HTT_HTC_MISC_LIST 2804 #endif 2805 2806 #if defined(CONFIG_LITHIUM) || defined(CONFIG_BERYLLIUM) 2807 #ifdef CONFIG_QCOM_TDLS 2808 #define TDLS_WOW_ENABLED (1) 2809 #endif 2810 #endif 2811 2812 #ifdef CONFIG_MORE_TX_DESC 2813 #define TX_TO_NPEERS_INC_TX_DESCS 2814 #endif 2815 2816 #ifdef CONFIG_WLAN_HOST_ARCH_ARM 2817 #define WLAN_HOST_ARCH_ARM (1) 2818 #else 2819 #define WLAN_HOST_ARCH_ARM (0) 2820 #endif 2821 2822 #ifdef CONFIG_PANIC_ON_BUG 2823 #define PANIC_ON_BUG (1) 2824 #endif 2825 2826 #ifdef CONFIG_WLAN_WARN_ON_ASSERT 2827 #define WLAN_WARN_ON_ASSERT (1) 2828 #endif 2829 2830 #ifdef CONFIG_WLAN_DP_LOCAL_PKT_CAPTURE 2831 #define WLAN_FEATURE_LOCAL_PKT_CAPTURE (1) 2832 #endif 2833 2834 #ifdef CONFIG_WIFI_MONITOR_SUPPORT_Y_WLAN_TX_MON_2_0 2835 #define WLAN_PKT_CAPTURE_TX_2_0 (1) 2836 #define WLAN_TX_PKT_CAPTURE_ENH_BE (1) 2837 #define QDF_FRAG_CACHE_SUPPORT (1) 2838 #endif 2839 2840 #ifdef CONFIG_DP_TX_PACKET_INSPECT_FOR_ILP 2841 #define DP_TX_PACKET_INSPECT_FOR_ILP (1) 2842 #endif 2843 2844 #ifdef CONFIG_NUM_SOC_PERF_CLUSTER 2845 #define NUM_SOC_PERF_CLUSTER (CONFIG_NUM_SOC_PERF_CLUSTER) 2846 #endif 2847 2848 #ifdef CONFIG_WLAN_OPEN_SOURCE 2849 #define WLAN_OPEN_SOURCE (1) 2850 #endif 2851 2852 #ifdef CONFIG_DP_MULTIPASS_SUPPORT 2853 #define QCA_MULTIPASS_SUPPORT (1) 2854 #define WLAN_REPEATER_NOT_SUPPORTED (1) 2855 #define QCA_SUPPORT_PEER_ISOLATION (1) 2856 #endif 2857 2858 #ifdef CONFIG_WLAN_FEATURE_LL_LT_SAP 2859 #define WLAN_FEATURE_LL_LT_SAP (1) 2860 #endif 2861 2862 #ifdef CONFIG_WLAN_FEATURE_AFFINITY_MGR 2863 #define WLAN_FEATURE_AFFINITY_MGR (1) 2864 #endif 2865 2866 #ifdef CONFIG_WLAN_DP_VDEV_NO_SELF_PEER 2867 #define WLAN_DP_VDEV_NO_SELF_PEER (1) 2868 #endif 2869 2870 #ifdef CONFIG_NL80211_EXT_FEATURE_PUNCT_SUPPORT 2871 #define NL80211_EXT_FEATURE_PUNCT_SUPPORT (1) 2872 #endif 2873 2874 #ifdef CONFIG_DP_MLO_LINK_STATS_SUPPORT 2875 #define DP_MLO_LINK_STATS_SUPPORT (1) 2876 #endif 2877 2878 #ifdef CONFIG_MULTI_IF_NAME 2879 #define MULTI_IF_NAME CONFIG_MULTI_IF_NAME 2880 #endif 2881 2882 #ifdef CONFIG_FEATURE_HIF_DELAYED_REG_WRITE 2883 #define FEATURE_HIF_DELAYED_REG_WRITE (1) 2884 #endif 2885 2886 #ifdef CONFIG_WLAN_FEATURE_11BE_MLO 2887 #ifndef CONFIG_WLAN_MAX_ML_DEFAULT_LINK 2888 #define CONFIG_WLAN_MAX_ML_DEFAULT_LINK (2) 2889 #endif 2890 #else 2891 #ifndef CONFIG_WLAN_MAX_ML_DEFAULT_LINK 2892 #define CONFIG_WLAN_MAX_ML_DEFAULT_LINK (1) 2893 #endif 2894 #endif 2895 2896 #ifdef CONFIG_WLAN_MAX_ML_DEFAULT_LINK 2897 #define WLAN_MAX_ML_DEFAULT_LINK CONFIG_WLAN_MAX_ML_DEFAULT_LINK 2898 #endif 2899 2900 #ifdef CONFIG_WLAN_FEATURE_11BE_MLO 2901 #ifndef CONFIG_WLAN_DEFAULT_REC_LINK_VALUE 2902 #define CONFIG_WLAN_DEFAULT_REC_LINK_VALUE (2) 2903 #endif 2904 #else 2905 #ifndef CONFIG_WLAN_DEFAULT_REC_LINK_VALUE 2906 #define CONFIG_WLAN_DEFAULT_REC_LINK_VALUE (2) 2907 #endif 2908 #endif 2909 2910 #ifdef CONFIG_WLAN_DEFAULT_REC_LINK_VALUE 2911 #define WLAN_DEFAULT_REC_LINK_VALUE CONFIG_WLAN_DEFAULT_REC_LINK_VALUE 2912 #endif 2913 2914 #ifdef CONFIG_WLAN_FEATURE_11BE_MLO 2915 #ifndef CONFIG_WLAN_MAX_ML_BSS_LINKS 2916 #define CONFIG_WLAN_MAX_ML_BSS_LINKS (3) 2917 #endif 2918 #else 2919 #ifndef CONFIG_WLAN_MAX_ML_BSS_LINKS 2920 #define CONFIG_WLAN_MAX_ML_BSS_LINKS (1) 2921 #endif 2922 #endif 2923 2924 #ifdef CONFIG_WLAN_MAX_ML_BSS_LINKS 2925 #define WLAN_MAX_ML_BSS_LINKS CONFIG_WLAN_MAX_ML_BSS_LINKS 2926 #endif 2927 2928 #ifdef CONFIG_WALT_GET_CPU_TAKEN_SUPPORT 2929 #define WALT_GET_CPU_TAKEN_SUPPORT (1) 2930 #endif 2931 2932 #ifdef CONFIG_WLAN_HDD_MULTI_VDEV_SINGLE_NDEV 2933 #define WLAN_HDD_MULTI_VDEV_SINGLE_NDEV (1) 2934 #endif 2935 2936 #ifdef CONFIG_WLAN_FEATURE_CE_RX_BUFFER_REUSE 2937 #define WLAN_FEATURE_CE_RX_BUFFER_REUSE (1) 2938 #endif 2939 2940 #ifndef CONFIG_WLAN_TRACE_HIDE_MAC_ADDRESS_DISABLE 2941 #define WLAN_TRACE_HIDE_MAC_ADDRESS (1) 2942 #endif 2943 2944 #ifdef CONFIG_ENABLE_HAL_REG_WR_HISTORY 2945 #define ENABLE_HAL_REG_WR_HISTORY (1) 2946 #endif 2947 2948 #ifdef CONFIG_BCN_RATECODE_ENABLE 2949 #define WLAN_BCN_RATECODE_ENABLE (1) 2950 #endif 2951 2952 #ifdef CONFIG_QDF_TIMER_MULTIPLIER_FRAC_ENABLE 2953 #ifdef CONFIG_QDF_TIMER_MULTIPLIER_FRAC 2954 #define QDF_TIMER_MULTIPLIER_FRAC CONFIG_QDF_TIMER_MULTIPLIER_FRAC 2955 #endif 2956 #endif 2957 2958 #ifdef CONFIG_DP_RX_MSDU_DONE_FAIL_HISTORY 2959 #define DP_RX_MSDU_DONE_FAIL_HISTORY (1) 2960 #endif 2961 2962 #ifdef CONFIG_DP_RX_PEEK_MSDU_DONE_WAR 2963 #define DP_RX_PEEK_MSDU_DONE_WAR (1) 2964 #endif 2965 2966 #ifdef CONFIG_QDF_MAX_NO_OF_SAP_MODE 2967 #define QDF_MAX_NO_OF_SAP_MODE CONFIG_QDF_MAX_NO_OF_SAP_MODE 2968 #endif 2969 2970 #endif /* CONFIG_TO_FEATURE_H */ 2971