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