1CONFIG_CNSS_QCA6390 := y 2CONFIG_BUS_AUTO_SUSPEND := y 3CONFIG_DIRECT_BUF_RX_ENABLE := y 4CONFIG_WMI_DBR_SUPPORT := y 5CONFIG_TX_AGGREGATION_SIZE_ENABLE := y 6CONFIG_RX_PERFORMANCE := y 7#Flag to enable pre cac feature 8CONFIG_FEATURE_WLAN_PRE_CAC := y 9 10ifeq ($(CONFIG_CNSS_QCA6390), y) 11 ifeq ($(CONFIG_CNSS_EMULATION), y) 12 CONFIG_QCA_WIFI_NAPIER_EMULATION := y 13 endif 14 CONFIG_LITHIUM := y 15 CONFIG_WLAN_FEATURE_11AX := y 16 CONFIG_WLAN_FEATURE_DFS_OFFLOAD := y 17 CONFIG_SCALE_INCLUDES := y 18 CONFIG_MORE_TX_DESC := y 19 CONFIG_FW_THERMAL_THROTTLE := y 20 CONFIG_WLAN_FEATURE_MBSSID := y 21endif 22 23ifeq ($(CONFIG_ENABLE_IPA), y) 24 CONFIG_IPA3 := y 25 CONFIG_WDI3_IPA_OVER_GSI := y 26else 27 ifeq ($(CONFIG_ENABLE_IPA), n) 28 CONFIG_IPA3 := n 29 endif 30endif 31 32ifeq ($(CONFIG_CLD_HL_SDIO_CORE), y) 33 CONFIG_QCA_WIFI_SDIO := y 34ifndef CONFIG_SDIO_TRANSFER 35 CONFIG_SDIO_TRANSFER = mailbox 36endif 37endif 38 39ifeq ($(CONFIG_QCA_WIFI_SDIO), y) 40 CONFIG_ROME_IF = sdio 41endif 42 43ifdef CONFIG_ICNSS 44 CONFIG_ROME_IF = snoc 45endif 46 47ifeq (y,$(findstring y,$(CONFIG_CNSS) $(CONFIG_CNSS2))) 48ifndef CONFIG_ROME_IF 49 #use pci as default interface 50 CONFIG_ROME_IF = pci 51endif 52endif 53 54ifeq (m,$(findstring m,$(CONFIG_CNSS) $(CONFIG_CNSS2))) 55ifndef CONFIG_ROME_IF 56 #use pci as default interface 57 CONFIG_ROME_IF = pci 58endif 59endif 60 61# Make WLAN as open-source driver by default 62WLAN_OPEN_SOURCE := y 63 64ifeq ($(CONFIG_ICNSS), y) 65 CONFIG_HELIUMPLUS := y 66 CONFIG_64BIT_PADDR := y 67 CONFIG_FEATURE_TSO := y 68 CONFIG_FEATURE_TSO_DEBUG := y 69 ifeq ($(CONFIG_INET_LRO), y) 70 CONFIG_WLAN_LRO := y 71 else 72 CONFIG_WLAN_LRO := n 73 endif 74endif 75 76ifneq ($(DEVELOPER_DISABLE_BUILD_TIMESTAMP), y) 77ifneq ($(WLAN_DISABLE_BUILD_TAG), y) 78CONFIG_BUILD_TAG := y 79endif 80endif 81 82ifeq ($(CONFIG_ARCH_MDM9630), y) 83CONFIG_MOBILE_ROUTER := y 84endif 85 86ifeq ($(CONFIG_ARCH_MDM9640), y) 87CONFIG_MOBILE_ROUTER := y 88endif 89 90ifeq ($(CONFIG_ARCH_SDX20), y) 91CONFIG_MOBILE_ROUTER := y 92endif 93 94ifeq (y, $(filter y, $(CONFIG_ARCH_SDXPRAIRIE) $(CONFIG_ARCH_SA515) $(CONFIG_ARCH_SDXPOORWILLS))) 95CONFIG_MOBILE_ROUTER := y 96endif 97 98ifeq ($(CONFIG_ARCH_MSM8917), y) 99 ifeq ($(CONFIG_ROME_IF), sdio) 100 CONFIG_WLAN_SYNC_TSF_PLUS := y 101 endif 102endif 103 104ifeq ($(CONFIG_ARCH_QCS405), y) 105 CONFIG_WLAN_SYNC_TSF_PLUS := y 106 CONFIG_WLAN_SYNC_TSF_PLUS_NOIRQ := y 107endif 108 109#Flag to enable Legacy Fast Roaming3(LFR3) 110ifeq (y,$(findstring y,$(CONFIG_HELIUMPLUS) $(CONFIG_LITHIUM))) 111 CONFIG_QCACLD_WLAN_LFR3 := y 112else 113 CONFIG_QCACLD_WLAN_LFR2 := y 114endif 115 116ifeq ($(CONFIG_LITHIUM), y) 117CONFIG_WIFI_MONITOR_SUPPORT := y 118CONFIG_QCA_MONITOR_PKT_SUPPORT := y 119CONFIG_MONITOR_MODULARIZED_ENABLE := n 120endif 121 122ifneq ($(CONFIG_MOBILE_ROUTER), y) 123#Flag to enable TDLS feature 124CONFIG_QCOM_TDLS := y 125 126CONFIG_WLAN_SYSFS := y 127endif 128 129CONFIG_QCACLD_FEATURE_GREEN_AP := y 130#Flag to enable Android Packet Filtering 131CONFIG_QCACLD_FEATURE_APF := y 132 133#Flag to enable SARv1 -> SARv2 conversion 134CONFIG_WLAN_FEATURE_SARV1_TO_SARV2 := n 135 136ifeq ($(CONFIG_ARCH_MSM8998), y) 137CONFIG_QCACLD_FEATURE_METERING := y 138endif 139 140ifeq ($(CONFIG_ARCH_SDM660), y) 141CONFIG_QCACLD_FEATURE_METERING := y 142endif 143 144ifeq ($(CONFIG_ARCH_SDM630), y) 145CONFIG_QCACLD_FEATURE_METERING := y 146endif 147 148ifeq ($(CONFIG_ARCH_SDM845), y) 149CONFIG_QCACLD_FEATURE_METERING := y 150endif 151 152ifeq ($(CONFIG_ARCH_SM8150), y) 153CONFIG_QCACLD_FEATURE_METERING := y 154endif 155 156ifeq ($(CONFIG_ARCH_SDM670), y) 157CONFIG_QCACLD_FEATURE_METERING := y 158endif 159 160ifeq ($(CONFIG_ARCH_SM6150), y) 161CONFIG_QCACLD_FEATURE_METERING := y 162endif 163 164#Flag to enable Fast Transition (11r) feature 165CONFIG_QCOM_VOWIFI_11R := y 166 167#Flag to enable disable ACTION OUI feature 168CONFIG_WLAN_FEATURE_ACTION_OUI := y 169 170#Flag to enable FILS Feature (11ai) 171CONFIG_WLAN_FEATURE_FILS := y 172ifneq ($(CONFIG_QCA_CLD_WLAN),) 173 ifeq (y,$(findstring y,$(CONFIG_CNSS) $(CONFIG_CNSS2) $(CONFIG_ICNSS))) 174 #Flag to enable LTE CoEx feature 175 CONFIG_QCOM_LTE_COEX := y 176 ifneq ($(CONFIG_MOBILE_ROUTER), y) 177 #Flag to enable LPSS feature 178 CONFIG_WLAN_FEATURE_LPSS := y 179 endif 180 endif 181 182 ifeq (m,$(findstring m,$(CONFIG_CNSS2))) 183 #Flag to enable LTE CoEx feature 184 CONFIG_QCOM_LTE_COEX := y 185 ifneq ($(CONFIG_MOBILE_ROUTER), y) 186 #Flag to enable LPSS feature 187 CONFIG_WLAN_FEATURE_LPSS := y 188 endif 189 endif 190endif 191 192#Flag to enable the tx desc sanity check 193ifeq ($(CONFIG_ROME_IF),usb) 194 CONFIG_QCA_TXDESC_SANITY_CHECKS := y 195endif 196 197ifneq ($(CONFIG_MOBILE_ROUTER), y) 198 #Flag to enable NAN 199 CONFIG_QCACLD_FEATURE_NAN := y 200 CONFIG_NDP_SAP_CONCURRENCY_ENABLE := y 201endif 202 203#Flag to enable Linux QCMBR feature as default feature 204ifeq ($(CONFIG_ROME_IF),usb) 205 CONFIG_LINUX_QCMBR :=y 206endif 207 208 209CONFIG_FEATURE_EPPING := y 210 211#Flag to enable offload packets feature 212CONFIG_WLAN_OFFLOAD_PACKETS := y 213 214#enable TSF get feature 215CONFIG_WLAN_SYNC_TSF := y 216#Enable DSRC feature 217ifeq ($(CONFIG_QCA_WIFI_SDIO), y) 218 #Enable DSRC feature 219 CONFIG_WLAN_FEATURE_DSRC := y 220else 221 CONFIG_WLAN_REG_AUTO := y 222endif 223 224ifneq ($(CONFIG_ROME_IF),usb) 225 #Flag to enable SAE 226 CONFIG_WLAN_FEATURE_SAE := y 227 228ifneq ($(CONFIG_ROME_IF),sdio) 229 #Flag to enable DISA 230 CONFIG_WLAN_FEATURE_DISA := y 231 232 #Flag to enable FIPS 233 CONFIG_WLAN_FEATURE_FIPS := y 234 235 #Flag to enable Fast Path feature 236 ifneq ($(CONFIG_LITHIUM), y) 237 CONFIG_WLAN_FASTPATH := y 238 endif 239 240 # Flag to enable NAPI 241 CONFIG_WLAN_NAPI := y 242 CONFIG_WLAN_NAPI_DEBUG := n 243 244 # Flag to enable FW based TX Flow control 245 ifeq ($(CONFIG_LITHIUM), y) 246 CONFIG_WLAN_TX_FLOW_CONTROL_V2 := y 247 else 248 CONFIG_WLAN_TX_FLOW_CONTROL_V2 := n 249 endif 250 251endif 252endif 253 254CONFIG_POWER_MANAGEMENT_OFFLOAD := y 255 256ifeq ($(CONFIG_ROME_IF), snoc) 257 CONFIG_WLAN_TX_FLOW_CONTROL_V2 := y 258endif 259 260# Flag to enable LFR Subnet Detection 261CONFIG_LFR_SUBNET_DETECTION := y 262 263# Flag to enable MCC to SCC switch feature 264CONFIG_MCC_TO_SCC_SWITCH := y 265 266ifeq ($(CONFIG_SLUB_DEBUG), y) 267 # Enable Obj Mgr Degug services if slub build 268 CONFIG_WLAN_OBJMGR_DEBUG:= y 269 CONFIG_LOCK_STATS_ON:= y 270endif 271 272ifeq (y,$(findstring y,$(CONFIG_QCA_WIFI_SDIO) $(CONFIG_HIF_USB))) 273CONFIG_HL_DP_SUPPORT := y 274else 275CONFIG_LL_DP_SUPPORT := y 276endif 277 278ifeq ($(CONFIG_ROME_IF),pci) 279ifneq ($(CONFIG_WLAN_TX_FLOW_CONTROL_V2), y) 280ifneq ($(CONFIG_LITHIUM), y) 281CONFIG_WLAN_TX_FLOW_CONTROL_LEGACY := y 282endif 283endif 284endif 285 286#Whether have QMI support 287CONFIG_QMI_SUPPORT := y 288 289ifeq ($(CONFIG_ICNSS), y) 290CONFIG_WIFI_3_0_ADRASTEA := y 291CONFIG_ADRASTEA_RRI_ON_DDR := y 292# Enable athdiag procfs debug support for adrastea 293CONFIG_ATH_PROCFS_DIAG_SUPPORT := y 294# Enable 11AC TX compact feature for adrastea 295CONFIG_ATH_11AC_TXCOMPACT := y 296ifeq ($(CONFIG_QMI_SUPPORT), y) 297CONFIG_ADRASTEA_SHADOW_REGISTERS := y 298endif 299endif 300 301# Enable fw stats version 2 302ifeq (y,$(findstring y,$(CONFIG_HELIUMPLUS) $(CONFIG_LITHIUM))) 303CONFIG_AR900B := y 304endif 305 306# NOTE: CONFIG_64BIT_PADDR requires CONFIG_HELIUMPLUS 307ifeq ($(CONFIG_HELIUMPLUS), y) 308 309ifeq ($(CONFIG_64BIT_PADDR), y) 310CONFIG_HTT_PADDR64 := y 311endif 312 313ifeq ($(CONFIG_SLUB_DEBUG_ON), y) 314CONFIG_OL_RX_INDICATION_RECORD := y 315CONFIG_TSOSEG_DEBUG := y 316endif 317 318endif #CONFIG_HELIUMPLUS 319 320ifeq ($(CONFIG_LITHIUM), y) 321# 322# Enable Shadow V2 for all lithium platform 323# 324CONFIG_SHADOW_V2 := y 325 326ifeq ($(CONFIG_CNSS_QCA6390), y) 327 CONFIG_QCA6390_HEADERS_DEF := y 328 CONFIG_QCA_WIFI_QCA6390 := y 329endif 330 331ifeq ($(CONFIG_PCI_MSM), $(filter $(CONFIG_PCI_MSM), m y)) 332 CONFIG_FEATURE_HAL_DELAYED_REG_WRITE := y 333ifeq ($(CONFIG_CNSS_QCA6390), y) 334 CONFIG_SHADOW_WRITE_DELAY := y 335endif 336endif 337 338CONFIG_DEVICE_FORCE_WAKE_ENABLE :=y 339CONFIG_HIF_REG_WINDOW_SUPPORT :=y 340CONFIG_FEATURE_FORCE_WAKE := y 341 342CONFIG_QCA_WIFI_QCA8074 := y 343CONFIG_QCA_WIFI_QCA8074_VP := y 344CONFIG_DP_INTR_POLL_BASED := y 345CONFIG_TX_PER_PDEV_DESC_POOL := y 346CONFIG_DP_TRACE := y 347CONFIG_FEATURE_TSO := y 348CONFIG_TSO_DEBUG_LOG_ENABLE := y 349CONFIG_DP_LFR := y 350CONFIG_HTT_PADDR64 := y 351CONFIG_RX_OL := y 352CONFIG_TX_TID_OVERRIDE := y 353CONFIG_DP_TXRX_SOC_ATTACH := y 354CONFIG_REO_DESC_DEFER_FREE := y 355endif #CONFIG_LITHIUM 356 357# As per target team, build is done as follows: 358# Defconfig : build with default flags 359# Slub : defconfig + CONFIG_SLUB_DEBUG=y + 360# CONFIG_SLUB_DEBUG_ON=y + CONFIG_PAGE_POISONING=y 361# Perf : Using appropriate msmXXXX-perf_defconfig 362# 363# Shipment builds (user variants) should not have any debug feature 364# enabled. This is identified using 'TARGET_BUILD_VARIANT'. Slub builds 365# are identified using the CONFIG_SLUB_DEBUG_ON configuration. Since 366# there is no other way to identify defconfig builds, QCOMs internal 367# representation of perf builds (identified using the string 'perf'), 368# is used to identify if the build is a slub or defconfig one. This 369# way no critical debug feature will be enabled for perf and shipment 370# builds. Other OEMs are also protected using the TARGET_BUILD_VARIANT 371# config. 372ifneq ($(TARGET_BUILD_VARIANT),user) 373 ifeq ($(CONFIG_LITHIUM), y) 374 CONFIG_FEATURE_PKTLOG := n 375 else 376 CONFIG_FEATURE_PKTLOG := y 377 endif 378 CONFIG_WLAN_DEBUG_CRASH_INJECT := y 379endif 380 381#Enable WLAN/Power debugfs feature only if debug_fs is enabled 382ifeq ($(CONFIG_DEBUG_FS), y) 383 # Flag to enable debugfs. Depends on CONFIG_DEBUG_FS in kernel 384 # configuration. 385 CONFIG_WLAN_DEBUGFS := y 386 387 CONFIG_WLAN_POWER_DEBUGFS := y 388ifeq ($(CONFIG_RELAY), y) 389 CONFIG_WLAN_STREAMFS := y 390endif 391endif 392 393#Whether to build debug version 394CONFIG_WLAN_DEBUG_VERSION := y 395 396#Enable this flag to build driver in diag version 397CONFIG_WLAN_DIAG_VERSION := y 398 399ifeq ($(CONFIG_SLUB_DEBUG), y) 400 PANIC_ON_BUG := y 401 WLAN_WARN_ON_ASSERT := y 402else ifeq ($(CONFIG_PERF_DEBUG), y) 403 PANIC_ON_BUG := y 404 WLAN_WARN_ON_ASSERT := y 405else 406 PANIC_ON_BUG := n 407 WLAN_WARN_ON_ASSERT := n 408endif 409 410# Compile all log levels by default 411CONFIG_WLAN_LOG_FATAL := y 412CONFIG_WLAN_LOG_ERROR := y 413CONFIG_WLAN_LOG_WARN := y 414CONFIG_WLAN_LOG_INFO := y 415CONFIG_WLAN_LOG_DEBUG := y 416CONFIG_WLAN_LOG_ENTER := y 417CONFIG_WLAN_LOG_EXIT := y 418 419#Enable OL debug and wmi unified functions 420CONFIG_ATH_PERF_PWR_OFFLOAD := y 421 422#Disable packet log 423CONFIG_REMOVE_PKT_LOG := n 424 425#Enable 11AC TX 426ifeq ($(CONFIG_ROME_IF),pci) 427 CONFIG_ATH_11AC_TXCOMPACT := y 428endif 429 430ifeq ($(CONFIG_ROME_IF),usb) 431 CONFIG_ATH_11AC_TXCOMPACT := n 432endif 433 434#Enable PCI specific APIS (dma, etc) 435ifeq ($(CONFIG_ROME_IF),pci) 436 CONFIG_HIF_PCI := y 437endif 438 439#Enable USB specific APIS 440ifeq ($(CONFIG_ROME_IF),usb) 441 CONFIG_HIF_USB := y 442endif 443 444#Enable SDIO specific APIS 445ifeq ($(CONFIG_ROME_IF),sdio) 446 CONFIG_HIF_SDIO := y 447 CONFIG_TX_DESC_HI_PRIO_RESERVE := y 448 CONFIG_PER_VDEV_TX_DESC_POOL := y 449 CONFIG_FEATURE_HL_GROUP_CREDIT_FLOW_CONTROL := y 450endif 451 452ifeq ($(CONFIG_ROME_IF),snoc) 453 CONFIG_HIF_SNOC:= y 454endif 455 456# enable/disable feature flags based upon mobile router profile 457ifeq ($(CONFIG_MOBILE_ROUTER), y) 458CONFIG_FEATURE_WLAN_MCC_TO_SCC_SWITCH := y 459CONFIG_FEATURE_WLAN_AUTO_SHUTDOWN := y 460CONFIG_FEATURE_WLAN_AP_AP_ACS_OPTIMIZE := y 461CONFIG_FEATURE_WLAN_STA_4ADDR_SCHEME := y 462CONFIG_MDM_PLATFORM := y 463CONFIG_FEATURE_WLAN_STA_AP_MODE_DFS_DISABLE := y 464CONFIG_FEATURE_AP_MCC_CH_AVOIDANCE := y 465else 466CONFIG_QCOM_ESE := y 467CONFIG_WLAN_OPEN_P2P_INTERFACE := y 468CONFIG_WLAN_ENABLE_SOCIAL_CHANNELS_5G_ONLY := y 469endif 470 471#enable 4addr support for QCS405 472ifeq ($(CONFIG_ARCH_QCS405), y) 473CONFIG_FEATURE_WLAN_STA_4ADDR_SCHEME := y 474endif 475 476#Enable power management suspend/resume functionality to PCI 477CONFIG_ATH_BUS_PM := y 478 479#Enable FLOWMAC module support 480CONFIG_ATH_SUPPORT_FLOWMAC_MODULE := n 481 482#Enable spectral support 483CONFIG_ATH_SUPPORT_SPECTRAL := n 484 485#Enable WDI Event support 486ifeq ($(CONFIG_REMOVE_PKT_LOG), y) 487CONFIG_WDI_EVENT_ENABLE := n 488else 489CONFIG_WDI_EVENT_ENABLE := y 490endif 491 492#Enable the type_specific_data in the ath_pktlog_arg 493ifeq ($(CONFIG_REMOVE_PKT_LOG), n) 494CONFIG_PKTLOG_HAS_SPECIFIC_DATA := y 495endif 496 497#Endianness selection 498CONFIG_LITTLE_ENDIAN := y 499 500#Enable TX reclaim support 501CONFIG_TX_CREDIT_RECLAIM_SUPPORT := n 502 503#Enable FTM support 504CONFIG_QCA_WIFI_FTM := y 505 506ifeq ($(CONFIG_QCA_WIFI_FTM), y) 507 508ifeq ($(CONFIG_NL80211_TESTMODE), y) 509 QCA_WIFI_FTM_NL80211 :=y 510else 511 QCA_WIFI_FTM_NL80211 :=n 512endif 513 CONFIG_LINUX_QCMBR :=y 514 515else 516 QCA_WIFI_FTM_NL80211 :=n 517 CONFIG_LINUX_QCMBR :=n 518endif 519 520 521#Enable Checksum Offload 522CONFIG_CHECKSUM_OFFLOAD := y 523 524#Enable GTK offload 525CONFIG_GTK_OFFLOAD := y 526 527#Set this to 1 to catch erroneous Target accesses during debug. 528CONFIG_ATH_PCIE_ACCESS_DEBUG := n 529 530#Enable IPA offload 531ifeq ($(CONFIG_IPA), y) 532CONFIG_IPA_OFFLOAD := y 533endif 534ifeq ($(CONFIG_IPA3), y) 535CONFIG_IPA_OFFLOAD := y 536endif 537 538ifeq ($(CONFIG_IPA_OFFLOAD), y) 539CONFIG_SMMU_S1_UNMAP := y 540endif 541 542#Flag to enable SMMU S1 support 543ifeq ($(CONFIG_ARCH_SDM845), y) 544ifeq ($(CONFIG_IPA_OFFLOAD), y) 545CONFIG_ENABLE_SMMU_S1_TRANSLATION := y 546endif 547endif 548 549ifeq ($(CONFIG_ARCH_SM8150), y) 550ifeq ($(CONFIG_IPA_OFFLOAD), y) 551CONFIG_ENABLE_SMMU_S1_TRANSLATION := y 552endif 553endif 554 555#Flag to enable SMMU S1 support 556ifeq (y, $(filter y, $(CONFIG_ARCH_SDXPRAIRIE) $(CONFIG_ARCH_SA515))) 557ifeq ($(CONFIG_IPA_OFFLOAD), y) 558CONFIG_ENABLE_SMMU_S1_TRANSLATION := y 559endif 560endif 561 562ifeq ($(CONFIG_IPA_OFFLOAD), y) 563CONFIG_IPA_P2P_SUPPORT := y 564endif 565 566ifeq ($(CONFIG_ARCH_SDX20), y) 567ifeq ($(CONFIG_QCA_WIFI_SDIO), y) 568ifeq ($(CONFIG_WCNSS_SKB_PRE_ALLOC), y) 569CONFIG_FEATURE_SKB_PRE_ALLOC := y 570endif 571endif 572endif 573 574#Enable Signed firmware support for split binary format 575CONFIG_QCA_SIGNED_SPLIT_BINARY_SUPPORT := n 576 577#Enable single firmware binary format 578CONFIG_QCA_SINGLE_BINARY_SUPPORT := n 579 580#Enable collecting target RAM dump after kernel panic 581CONFIG_TARGET_RAMDUMP_AFTER_KERNEL_PANIC := y 582 583#Flag to enable/disable secure firmware feature 584CONFIG_FEATURE_SECURE_FIRMWARE := n 585 586#Flag to enable Stats Ext implementation 587CONFIG_FEATURE_STATS_EXT := y 588 589#Flag to allocate memory dynamically for different buffers 590CONFIG_WLAN_LOGGING_BUFFERS_DYNAMICALLY := n 591CONFIG_WLAN_DFS_STATIC_MEM_ALLOC := y 592 593#Flag to enable HTC credit history feature 594CONFIG_FEATURE_HTC_CREDIT_HISTORY := y 595 596#Flag to enable MTRACE feature 597CONFIG_TRACE_RECORD_FEATURE := y 598 599#Flag to enable p2p debug feature 600CONFIG_WLAN_FEATURE_P2P_DEBUG := y 601 602#Flag to enable roam debug log 603CONFIG_FEATURE_ROAM_DEBUG := y 604 605#Flag to enable DFS Master feature 606CONFIG_WLAN_DFS_MASTER_ENABLE := y 607 608#Flag to enable WEXT support for STA/AP/P2P interfaces 609ifeq ($(CONFIG_WIRELESS_EXT), y) 610CONFIG_WLAN_WEXT_SUPPORT_ENABLE := y 611endif 612 613#Flag to enable/disable MTRACE feature 614CONFIG_ENABLE_MTRACE_LOG := y 615 616#Flag to enable nud tracking feature 617CONFIG_WLAN_NUD_TRACKING := y 618 619#Flag to enable wbuff feature 620CONFIG_WLAN_WBUFF := y 621 622#Flag to enable set and get disable channel list feature 623CONFIG_DISABLE_CHANNEL_LIST :=y 624 625#Flag to enable Dynamic Voltage WDCVS (Config Voltage Mode) 626CONFIG_WLAN_DYNAMIC_CVM := y 627 628CONFIG_FEATURE_SET := y 629 630CONFIG_WIFI_POS_CONVERGED := y 631ifneq ($(CONFIG_WIFI_POS_CONVERGED), y) 632CONFIG_WIFI_POS_LEGACY := y 633endif 634 635CONFIG_CP_STATS := y 636CONFIG_QCA_TARGET_IF_MLME := y 637 638#Flag to enable compilation of DCS module 639CONFIG_DCS := y 640 641CONFIG_FEATURE_WLAN_WAPI := y 642 643CONFIG_AGEIE_ON_SCAN_RESULTS := y 644 645#Flag to enable FW log parsing support feature 646CONFIG_FEATURE_FW_LOG_PARSING := y 647 648CONFIG_PTT_SOCK_SVC_ENABLE := y 649CONFIG_SOFTAP_CHANNEL_RANGE := y 650CONFIG_FEATURE_WLAN_SCAN_PNO := y 651CONFIG_WLAN_FEATURE_PACKET_FILTERING := y 652CONFIG_WLAN_NS_OFFLOAD := y 653CONFIG_FEATURE_WLAN_RA_FILTERING:= y 654CONFIG_FEATURE_WLAN_LPHB := y 655CONFIG_QCA_SUPPORT_TX_THROTTLE := y 656CONFIG_WMI_INTERFACE_EVENT_LOGGING := y 657CONFIG_WLAN_FEATURE_LINK_LAYER_STATS := y 658CONFIG_FEATURE_WLAN_EXTSCAN := n 659CONFIG_WMI_BCN_OFFLOAD := y 660CONFIG_160MHZ_SUPPORT := y 661CONFIG_REG_CLIENT := y 662CONFIG_WLAN_PMO_ENABLE := y 663CONFIG_CONVERGED_P2P_ENABLE := y 664CONFIG_WLAN_POLICY_MGR_ENABLE := y 665CONFIG_FEATURE_DENYLIST_MGR := y 666CONFIG_SUPPORT_11AX := y 667CONFIG_HDD_INIT_WITH_RTNL_LOCK := y 668CONFIG_WLAN_CONV_SPECTRAL_ENABLE := y 669CONFIG_WLAN_SPECTRAL_ENABLE := y 670CONFIG_WMI_CMD_STRINGS := y 671CONFIG_FEATURE_MONITOR_MODE_SUPPORT := y 672CONFIG_WLAN_ALLOCATE_GLOBAL_BUFFERS_DYNAMICALLY := n 673CONFIG_WLAN_FEATURE_TWT := y 674 675ifeq ($(CONFIG_WLAN_DEBUGFS), y) 676 CONFIG_WLAN_FEATURE_MIB_STATS := y 677endif 678 679ifeq (y,$(findstring y,$(CONFIG_LITHIUM) $(CONFIG_ICNSS))) 680CONFIG_WLAN_FEATURE_BMI := n 681else 682CONFIG_WLAN_FEATURE_BMI := y 683endif 684 685#Flags to enable/disable vendor commands 686CONFIG_FEATURE_RSSI_MONITOR := y 687CONFIG_FEATURE_BSS_TRANSITION := y 688CONFIG_FEATURE_STATION_INFO := y 689CONFIG_FEATURE_TX_POWER := y 690CONFIG_FEATURE_OTA_TEST := y 691CONFIG_FEATURE_ACTIVE_TOS := y 692CONFIG_FEATURE_SAR_LIMITS := y 693CONFIG_FEATURE_CONCURRENCY_MATRIX := y 694CONFIG_FEATURE_SAP_COND_CHAN_SWITCH := y 695CONFIG_FEATURE_P2P_LISTEN_OFFLOAD := y 696CONFIG_QCACLD_RX_DESC_MULTI_PAGE_ALLOC := y 697 698#Flags to enable/disable WMI APIs 699CONFIG_WMI_ROAM_SUPPORT := y 700CONFIG_WMI_CONCURRENCY_SUPPORT := y 701CONFIG_WMI_STA_SUPPORT := y 702 703#Flag to enable LTE COEX feature 704CONFIG_LTE_COEX := y 705 706#Flag to enable/disable TARGET 11d scan 707CONFIG_TARGET_11D_SCAN := y 708 709#Flag to enable HOST OPCLASS feature 710CONFIG_HOST_OPCLASS := y 711 712ifeq ($(CONFIG_HELIUMPLUS), y) 713ifneq ($(CONFIG_FORCE_ALLOC_FROM_DMA_ZONE), y) 714CONFIG_ENABLE_DEBUG_ADDRESS_MARKING := y 715endif 716CONFIG_RX_OL := y 717endif 718 719ifeq ($(CONFIG_SLUB_DEBUG_ON), y) 720 CONFIG_DSC_DEBUG := y 721 CONFIG_DESC_TIMESTAMP_DEBUG_INFO := y 722 CONFIG_FEATURE_UNIT_TEST_SUSPEND := y 723 CONFIG_LEAK_DETECTION := y 724ifndef CONFIG_MAX_LOGS_PER_SEC 725 CONFIG_MAX_LOGS_PER_SEC := 500 726endif 727 CONFIG_SCHED_HISTORY_SIZE := 256 728 CONFIG_TALLOC_DEBUG := y 729 CONFIG_UNIT_TEST := y 730 CONFIG_HAL_DEBUG := y 731 CONFIG_FEATURE_HAL_RECORD_SUSPEND_WRITE := y 732 CONFIG_HIF_DEBUG := y 733endif 734 735ifeq ($(CONFIG_UNIT_TEST), y) 736 CONFIG_DSC_TEST := y 737 CONFIG_QDF_TEST := y 738endif 739 740# enable unit-test suspend for napier builds 741ifeq ($(CONFIG_LITHIUM), y) 742 CONFIG_FEATURE_UNIT_TEST_SUSPEND := y 743 CONFIG_FIX_TXDMA_LIMITATION := y 744 CONFIG_FEATURE_AST := y 745 CONFIG_PEER_PROTECTED_ACCESS := y 746 CONFIG_SERIALIZE_QUEUE_SETUP := y 747 CONFIG_DP_RX_PKT_NO_PEER_DELIVER := y 748 CONFIG_DP_RX_DROP_RAW_FRM := y 749 CONFIG_FEATURE_ALIGN_STATS_FROM_DP := y 750 CONFIG_DP_RX_SPECIAL_FRAME_NEED := y 751 CONFIG_FEATURE_STATS_EXT_V2 := y 752 CONFIG_WLAN_FEATURE_DP_RX_THREADS := y 753 CONFIG_WLAN_FEATURE_RX_SOFTIRQ_TIME_LIMIT := y 754 CONFIG_FEATURE_NO_DBS_INTRABAND_MCC_SUPPORT := y 755 CONFIG_HAL_DISABLE_NON_BA_2K_JUMP_ERROR := y 756 CONFIG_ENABLE_HAL_SOC_STATS := y 757 CONFIG_ENABLE_HAL_REG_WR_HISTORY := y 758 CONFIG_MON_ENABLE_DROP_FOR_MAC := y 759 CONFIG_PCI_LINK_STATUS_SANITY := y 760 CONFIG_DDP_MON_RSSI_IN_DBM := y 761 CONFIG_SYSTEM_PM_CHECK := y 762 CONFIG_DISABLE_EAPOL_INTRABSS_FWD := y 763endif 764 765#Flag to enable hdd memory dump feature 766CONFIG_FEATURE_MEMDUMP_ENABLE := y 767 768#Flag to enable/disable WLAN D0-WOW 769ifeq ($(CONFIG_PCI_MSM), y) 770ifeq ($(CONFIG_HIF_PCI), y) 771CONFIG_FEATURE_WLAN_D0WOW := y 772endif 773endif 774 775ifeq ($(CONFIG_ARCH_MDM9607), y) 776CONFIG_TUFELLO_DUAL_FW_SUPPORT := y 777endif 778 779ifeq ($(CONFIG_ARCH_MSM8996), y) 780CONFIG_CHANNEL_HOPPING_ALL_BANDS := y 781endif 782 783ifeq (y, $(filter y, $(CONFIG_ARCH_SDXPRAIRIE) $(CONFIG_ARCH_SA515))) 784 CONFIG_FEATURE_MONITOR_MODE_SUPPORT := n 785 ifneq ($(CONFIG_SLUB_DEBUG), y) 786 CONFIG_DP_TRACE := n 787 endif 788endif 789 790ifneq ($(CONFIG_HIF_USB), y) 791CONFIG_WLAN_LOGGING_SOCK_SVC := y 792endif 793 794ifneq ($(TARGET_BUILD_VARIANT),user) 795CONFIG_DESC_DUP_DETECT_DEBUG := y 796CONFIG_DEBUG_RX_RING_BUFFER := y 797endif 798 799 800ifeq ($(CONFIG_CNSS), y) 801ifeq ($(CONFIG_CNSS_SDIO), y) 802CONFIG_PLD_SDIO_CNSS_FLAG := y 803endif 804ifeq ($(CONFIG_HIF_PCI), y) 805CONFIG_PLD_PCIE_CNSS_FLAG := y 806endif 807endif 808 809ifeq ($(CONFIG_CNSS2), y) 810ifeq ($(CONFIG_HIF_PCI), y) 811CONFIG_PLD_PCIE_CNSS_FLAG := y 812CONFIG_PLD_PCIE_INIT_FLAG := y 813endif 814endif 815 816ifeq ($(CONFIG_CNSS2), m) 817ifeq ($(CONFIG_HIF_PCI), y) 818CONFIG_PLD_PCIE_CNSS_FLAG := y 819CONFIG_PLD_PCIE_INIT_FLAG := y 820endif 821endif 822 823#Enable STATE MACHINE HISTORY 824CONFIG_SM_ENG_HIST := n 825 826ifeq ($(CONFIG_WLAN_SYSFS), y) 827#Enable Beacon Reception Stats 828CONFIG_FEATURE_BECN_STATS := y 829endif 830 831ifeq (y,$(findstring y,$(CONFIG_ARCH_MSM) $(CONFIG_ARCH_QCOM))) 832CONFIG_WLAN_FEATURE_DP_BUS_BANDWIDTH := y 833endif 834 835CONFIG_FOURTH_CONNECTION := y 836CONFIG_FOURTH_CONNECTION_AUTO := y 837CONFIG_SAP_DHCP_FW_IND := y 838 839#Enable FW Offload 840CONFIG_WLAN_FW_OFFLOAD := y 841 842CONFIG_WLAN_FEATURE_MEDIUM_ASSESS := y 843 844#Enable Usable channel feature 845CONFIG_WLAN_FEATURE_GET_USABLE_CHAN_LIST := y 846 847ifeq ($(CONFIG_MSM_BOOT_TIME_MARKER), y) 848CONFIG_WLAN_BOOTUP_MARKER := y 849endif 850 851CONFIG_WLAN_SYSFS_MEM_STATS := y 852 853CONFIG_WLAN_DP_PENDING_MEM_FLUSH := y 854 855CONFIG_WLAN_TRACEPOINTS := y 856 857ifeq ($(CONFIG_CNSS2), m) 858CONFIG_CNSS2_MODULE := y 859endif 860 861ifeq ($(CONFIG_CNSS_GENL), m) 862CONFIG_CNSS_GENL_MODULE := y 863endif 864 865ifeq ($(CONFIG_CNSS_UTILS), m) 866CONFIG_CNSS_UTILS_MODULE := y 867endif 868