1CONFIG_HANDLE_RX_REROUTE_ERR := y 2 3#Enable DP Bus Vote 4CONFIG_WLAN_FEATURE_DP_BUS_BANDWIDTH := y 5 6ifeq ($(CONFIG_CNSS_QCA6290), y) 7 ifeq ($(CONFIG_CNSS_EMULATION), y) 8 CONFIG_QCA_WIFI_EMULATION := y 9 endif 10 CONFIG_LITHIUM := y 11 CONFIG_QCA6290_11AX := y 12 CONFIG_WLAN_FEATURE_11AX := y 13 CONFIG_WLAN_FEATURE_DFS_OFFLOAD := y 14 CONFIG_WLAN_FEATURE_LRO_CTX_IN_CB := y 15endif 16 17ifeq ($(CONFIG_CNSS_QCA6390), y) 18 ifeq ($(CONFIG_CNSS_EMULATION), y) 19 CONFIG_QCA_WIFI_EMULATION := y 20 endif 21 CONFIG_LITHIUM := y 22 CONFIG_WLAN_FEATURE_11AX := y 23 CONFIG_WLAN_FEATURE_DFS_OFFLOAD := y 24 CONFIG_SCALE_INCLUDES := y 25 CONFIG_HASTINGS_BT_WAR := y 26 CONFIG_WDI3_IPA_OVER_GSI :=y 27 CONFIG_DIRECT_BUF_RX_ENABLE := y 28 CONFIG_WMI_DBR_SUPPORT := y 29 CONFIG_MORE_TX_DESC := y 30 CONFIG_WLAN_FEATURE_LRO_CTX_IN_CB := y 31 CONFIG_WINDOW_REG_PLD_LOCK_ENABLE := y 32endif 33 34ifeq ($(CONFIG_CNSS_QCA6490), y) 35 CONFIG_DIRECT_BUF_RX_ENABLE := y 36 CONFIG_DBR_HOLD_LARGE_MEM := y 37 CONFIG_WMI_DBR_SUPPORT := y 38 CONFIG_WLAN_CFR_ENABLE := y 39 CONFIG_WLAN_ENH_CFR_ENABLE := y 40 ifeq ($(CONFIG_CNSS_EMULATION), y) 41 CONFIG_QCA_WIFI_EMULATION := y 42 endif 43 CONFIG_LITHIUM := y 44 CONFIG_WLAN_FEATURE_11AX := y 45 CONFIG_WLAN_FEATURE_SR := y 46 CONFIG_OBSS_PD := y 47 CONFIG_WLAN_FEATURE_DFS_OFFLOAD := y 48 CONFIG_SCALE_INCLUDES := y 49 CONFIG_HASTINGS_BT_WAR := y 50 CONFIG_WDI3_IPA_OVER_GSI :=y 51 CONFIG_PCIE_GEN_SWITCH := y 52 CONFIG_WLAN_TWT_SAP_STA_COUNT := y 53 CONFIG_WLAN_TWT_SAP_PDEV_COUNT := y 54 CONFIG_DEVICE_FORCE_WAKE_ENABLE :=y 55 CONFIG_HIF_REG_WINDOW_SUPPORT :=y 56 CONFIG_WINDOW_REG_PLD_LOCK_ENABLE := y 57 CONFIG_DUMP_REO_QUEUE_INFO_IN_DDR :=y 58 CONFIG_WLAN_FEATURE_LRO_CTX_IN_CB := y 59 CONFIG_DCS := y 60 CONFIG_WLAN_SYNC_TSF_PLUS := y 61 CONFIG_WLAN_SYNC_TSF_TIMER := y 62 CONFIG_TX_MULTI_TCL := y 63 CONFIG_OFDM_SCRAMBLER_SEED := y 64 CONFIG_WLAN_FEATURE_MARK_FIRST_WAKEUP_PACKET := y 65 ifeq ($(CONFIG_ARCH_LAHAINA), y) 66 CONFIG_WLAN_TSF_UPLINK_DELAY := y 67 endif 68 CONFIG_DP_TRAFFIC_END_INDICATION := y 69 CONFIG_WLAN_FEATURE_MCC_QUOTA := y 70 CONFIG_WLAN_FEATURE_PEER_TXQ_FLUSH_CONF := y 71 CONFIG_DP_MULTIPASS_SUPPORT := y 72 CONFIG_WLAN_DP_FEATURE_DEFERRED_REO_QDESC_DESTROY := y 73endif 74 75ifeq ($(CONFIG_CNSS_QCA6750), y) 76 ifeq ($(CONFIG_CNSS_EMULATION), y) 77 CONFIG_QCA_WIFI_EMULATION := y 78 endif 79 CONFIG_LITHIUM := y 80 CONFIG_WLAN_FEATURE_11AX := y 81 CONFIG_WLAN_FEATURE_DFS_OFFLOAD := y 82 CONFIG_DIRECT_BUF_RX_ENABLE := y 83 CONFIG_WLAN_CFR_ENABLE := y 84 CONFIG_WLAN_FEATURE_SR := y 85 CONFIG_WMI_DBR_SUPPORT := y 86 CONFIG_WLAN_ENH_CFR_ENABLE := y 87 CONFIG_SCALE_INCLUDES := y 88 CONFIG_HASTINGS_BT_WAR := y 89 CONFIG_WDI3_IPA_OVER_GSI :=y 90 CONFIG_HOST_WAKEUP_OVER_QMI := y 91 CONFIG_WLAN_FEATURE_WMI_DIAG_OVER_CE7 := y 92 CONFIG_WLAN_DP_FEATURE_DEFERRED_REO_QDESC_DESTROY := y 93 CONFIG_WLAN_FEATURE_LRO_CTX_IN_CB := y 94 CONFIG_TX_MULTI_TCL := y 95 ifeq ($(CONFIG_ARCH_LAHAINA), y) 96 CONFIG_WLAN_TSF_UPLINK_DELAY := y 97 endif 98 CONFIG_WLAN_FEATURE_PEER_TXQ_FLUSH_CONF := y 99 CONFIG_DP_TRAFFIC_END_INDICATION := y 100 CONFIG_WLAN_DP_PROFILE_SUPPORT := y 101endif 102 103ifeq (y,$(findstring y,$(CONFIG_CNSS_KIWI) $(CONFIG_CNSS_KIWI_V2))) 104 ifeq ($(CONFIG_CNSS_EMULATION), y) 105 CONFIG_QCA_WIFI_EMULATION := y 106 endif 107 CONFIG_EMULATION_2_0 := y 108 CONFIG_DIRECT_BUF_RX_ENABLE := y 109 CONFIG_WMI_DBR_SUPPORT := y 110 CONFIG_WLAN_CFR_ENABLE := y 111 CONFIG_WLAN_ENH_CFR_ENABLE := y 112 CONFIG_BERYLLIUM := y 113 CONFIG_WLAN_FEATURE_11AX := y 114 CONFIG_WLAN_FEATURE_SR := y 115 CONFIG_OBSS_PD := y 116 CONFIG_DCS := y 117 CONFIG_WLAN_TWT_SAP_STA_COUNT := y 118 CONFIG_WLAN_TWT_SAP_PDEV_COUNT := y 119 CONFIG_WLAN_FEATURE_DFS_OFFLOAD := y 120 CONFIG_DP_BE_WAR := y 121 CONFIG_SCALE_INCLUDES := y 122 CONFIG_HASTINGS_BT_WAR := y 123 CONFIG_WDI3_IPA_OVER_GSI := y 124 CONFIG_WLAN_FEATURE_LRO_CTX_IN_CB := y 125 CONFIG_PCIE_GEN_SWITCH := y 126 CONFIG_ATH_SUPPORT_SPECTRAL := n 127 CONFIG_DP_FEATURE_HW_COOKIE_CONVERSION := y 128 CONFIG_DP_HW_COOKIE_CONVERT_EXCEPTION := y 129 CONFIG_WLAN_FEATURE_NEAR_FULL_IRQ := y 130 CONFIG_WLAN_SYSFS_DP_STATS := y 131 CONFIG_DP_USE_REDUCED_PEER_ID_FIELD_WIDTH := y 132 CONFIG_DISABLE_STATUS_RING_TIMER_WAR := y 133 CONFIG_CE_DISABLE_SRNG_TIMER_IRQ := y 134 CONFIG_TX_ADDR_INDEX_SEARCH := y 135 CONFIG_DP_CON_MON_MSI_ENABLED := y 136 CONFIG_DEVICE_FORCE_WAKE_ENABLE :=y 137 CONFIG_HIF_REG_WINDOW_SUPPORT :=y 138 CONFIG_WINDOW_REG_PLD_LOCK_ENABLE := y 139 CONFIG_TX_MULTI_TCL := y 140 CONFIG_OFDM_SCRAMBLER_SEED := y 141 CONFIG_WLAN_RX_MON_PARSE_CMN_USER_INFO := y 142 CONFIG_WLAN_FEATURE_WMI_DIAG_OVER_CE7 := y 143 CONFIG_WLAN_TSF_UPLINK_DELAY := y 144 CONFIG_WLAN_SYNC_TSF_PLUS := y 145 CONFIG_WLAN_SYNC_TSF_TIMER := y 146 CONFIG_WIFI_POS_PASN := y 147 CONFIG_WLAN_DP_SRNG_USAGE_WM_TRACKING := y 148 CONFIG_WLAN_FEATURE_PEER_TXQ_FLUSH_CONF := y 149 CONFIG_DP_PKT_STATS_PER_LMAC := y 150 CONFIG_WLAN_FEATURE_RX_BUFFER_POOL := y 151 CONFIG_DP_RX_BUFFER_POOL_SIZE := 128 152 CONFIG_DP_RX_BUFFER_POOL_ALLOC_THRES := 5 153 CONFIG_DP_RX_REFILL_BUFF_POOL_SIZE := 2048 154 CONFIG_DP_RX_REFILL_THRD_THRESHOLD := 512 155 CONFIG_NO_RX_PKT_HDR_TLV := y 156ifeq ($(CONFIG_DP_CON_MON_MSI_ENABLED), y) 157 CONFIG_DP_CON_MON_MSI_SKIP_SET := y 158endif 159 CONFIG_QCA_WIFI_MONITOR_MODE_NO_MSDU_START_TLV_SUPPORT := y 160 CONFIG_WLAN_FEATURE_MCC_QUOTA := y 161 CONFIG_QCACLD_FEATURE_GAP_LL_PS_MODE := y 162 CONFIG_MON_ENABLE_DROP_FOR_NON_MON_PMAC := y 163 CONFIG_DP_WAR_INVALID_FIRST_MSDU_FLAG := y 164 CONFIG_DP_MULTIPASS_SUPPORT := y 165 CONFIG_WLAN_DP_VDEV_NO_SELF_PEER := y 166 CONFIG_WLAN_DP_FEATURE_DEFERRED_REO_QDESC_DESTROY := y 167 CONFIG_WLAN_FEATURE_MARK_FIRST_WAKEUP_PACKET := y 168 CONFIG_DP_RX_MSDU_DONE_FAIL_HISTORY := y 169 CONFIG_DP_RX_PEEK_MSDU_DONE_WAR := y 170endif 171 172ifeq (y,$(findstring y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM))) 173 CONFIG_FIX_TXDMA_LIMITATION := y 174 CONFIG_PEER_PROTECTED_ACCESS := y 175 CONFIG_SERIALIZE_QUEUE_SETUP := y 176 CONFIG_DP_RX_PKT_NO_PEER_DELIVER := y 177 CONFIG_DP_RX_DROP_RAW_FRM := y 178 CONFIG_FEATURE_ALIGN_STATS_FROM_DP := y 179 CONFIG_DP_RX_SPECIAL_FRAME_NEED := y 180 CONFIG_FEATURE_STATS_EXT_V2 := y 181 CONFIG_WLAN_FEATURE_DP_RX_THREADS := y 182 CONFIG_WLAN_FEATURE_RX_SOFTIRQ_TIME_LIMIT := y 183 CONFIG_FEATURE_NO_DBS_INTRABAND_MCC_SUPPORT := y 184 CONFIG_HAL_DISABLE_NON_BA_2K_JUMP_ERROR := y 185 CONFIG_ENABLE_HAL_SOC_STATS := y 186 CONFIG_ENABLE_HAL_REG_WR_HISTORY := y 187 CONFIG_MON_ENABLE_DROP_FOR_MAC := y 188 CONFIG_PCI_LINK_STATUS_SANITY := y 189 CONFIG_DDP_MON_RSSI_IN_DBM := y 190 CONFIG_SYSTEM_PM_CHECK := y 191 CONFIG_DISABLE_EAPOL_INTRABSS_FWD := y 192 CONFIG_FEATURE_RX_LINKSPEED_ROAM_TRIGGER := y 193 CONFIG_BCN_RATECODE_ENABLE := y 194endif 195 196ifeq ($(CONFIG_LITHIUM), y) 197 CONFIG_FEATURE_AST := y 198endif 199 200ifeq ($(CONFIG_BERYLLIUM), y) 201 CONFIG_FEATURE_AST := n 202 CONFIG_DP_TX_PACKET_INSPECT_FOR_ILP := y 203endif 204 205ifeq ($(CONFIG_CLD_HL_SDIO_CORE), y) 206 CONFIG_QCA_WIFI_SDIO := y 207ifndef CONFIG_SDIO_TRANSFER 208 CONFIG_SDIO_TRANSFER = mailbox 209endif 210endif 211 212ifeq ($(CONFIG_QCA_WIFI_SDIO), y) 213 CONFIG_ROME_IF = sdio 214endif 215 216ifeq ($(CONFIG_ICNSS), m) 217 CONFIG_ICNSS_MODULE := y 218endif 219ifeq ($(CONFIG_CNSS), m) 220 CONFIG_CNSS_MODULE := y 221endif 222ifeq ($(CONFIG_CNSS2), m) 223 CONFIG_CNSS2_MODULE := y 224endif 225ifeq ($(CONFIG_ICNSS2), m) 226 CONFIG_ICNSS2_MODULE := y 227endif 228ifeq ($(CONFIG_CNSS_GENL), m) 229 CONFIG_CNSS_GENL_MODULE := y 230endif 231ifeq ($(CONFIG_CNSS_UTILS), m) 232 CONFIG_CNSS_UTILS_MODULE := y 233endif 234ifeq ($(CONFIG_WCNSS_MEM_PRE_ALLOC), m) 235 CONFIG_WCNSS_MEM_PRE_ALLOC_MODULE := y 236endif 237 238ifeq (y,$(findstring y,$(CONFIG_ICNSS) $(CONFIG_ICNSS_MODULE))) 239 CONFIG_ROME_IF = snoc 240 CONFIG_QCA_WIFI_SDIO := n 241 CONFIG_PLD_SNOC_ICNSS_FLAG := y 242endif 243 244ifeq (y,$(findstring y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM))) 245ifeq ($(CONFIG_CNSS_QCA6750), y) 246 CONFIG_ROME_IF = ipci 247 CONFIG_PLD_IPCI_ICNSS_FLAG := y 248endif 249else ifeq (y,$(findstring y,$(CONFIG_ICNSS2) $(CONFIG_ICNSS2_MODULE))) 250 CONFIG_ROME_IF = snoc 251 CONFIG_QCA_WIFI_SDIO := n 252 CONFIG_ICNSS2_HELIUM := y 253 CONFIG_PLD_SNOC_ICNSS_FLAG := y 254endif 255 256ifdef CONFIG_IPCIE_FW_SIM 257 CONFIG_ROME_IF = ipci 258 CONFIG_PLD_IPCI_ICNSS_FLAG := n 259endif 260 261ifeq (y,$(findstring y,$(CONFIG_CNSS) $(CONFIG_CNSS_MODULE) $(CONFIG_CNSS2) $(CONFIG_CNSS2_MODULE))) 262ifndef CONFIG_ROME_IF 263 #use pci as default interface 264ifndef CONFIG_IPCIE_FW_SIM 265 CONFIG_ROME_IF = pci 266endif 267endif 268endif 269 270# Make WLAN as open-source driver by default 271WLAN_OPEN_SOURCE := y 272 273ifeq (y,$(findstring y,$(CONFIG_ICNSS) $(CONFIG_ICNSS_MODULE) $(CONFIG_ICNSS2_HELIUM))) 274 CONFIG_HELIUMPLUS := y 275 CONFIG_64BIT_PADDR := y 276 CONFIG_FEATURE_TSO := y 277 CONFIG_FEATURE_TSO_DEBUG := y 278 ifeq ($(CONFIG_INET_LRO), y) 279 CONFIG_WLAN_LRO := y 280 else 281 CONFIG_WLAN_LRO := n 282 endif 283endif 284 285ifneq ($(DEVELOPER_DISABLE_BUILD_TIMESTAMP), y) 286ifneq ($(WLAN_DISABLE_BUILD_TAG), y) 287CONFIG_BUILD_TAG := y 288endif 289endif 290 291ifeq ($(CONFIG_ARCH_PINEAPPLE), y) 292CONFIG_NUM_SOC_PERF_CLUSTER := 2 293endif 294 295ifeq ($(CONFIG_ARCH_SDXLEMUR), y) 296CONFIG_MOBILE_ROUTER := y 297endif 298 299ifeq ($(CONFIG_ARCH_SDXBAAGHA), y) 300CONFIG_MOBILE_ROUTER := y 301endif 302 303ifeq ($(CONFIG_ARCH_MDM9630), y) 304CONFIG_MOBILE_ROUTER := y 305endif 306 307ifeq ($(CONFIG_ARCH_MDM9640), y) 308CONFIG_MOBILE_ROUTER := y 309endif 310 311ifeq ($(CONFIG_ARCH_SDX20), y) 312CONFIG_MOBILE_ROUTER := y 313endif 314 315ifeq (y, $(filter y, $(CONFIG_ARCH_SDXPRAIRIE) $(CONFIG_ARCH_SA515) $(CONFIG_ARCH_SA515M) $(CONFIG_ARCH_SDXPOORWILLS))) 316CONFIG_MOBILE_ROUTER := y 317endif 318 319ifeq ($(CONFIG_ARCH_MSM8917), y) 320 ifeq ($(CONFIG_ROME_IF), sdio) 321 CONFIG_WLAN_SYNC_TSF_PLUS := y 322 endif 323endif 324 325ifeq (y,$(findstring y,$(CONFIG_ARCH_QCS405) $(CONFIG_ARCH_QCS403))) 326 CONFIG_ARCH_QCS40X := y 327endif 328 329ifeq ($(CONFIG_ARCH_QCS40X), y) 330 CONFIG_WLAN_SYNC_TSF_PLUS := y 331 CONFIG_WLAN_SYNC_TSF_PLUS_NOIRQ := y 332 CONFIG_RX_PERFORMANCE := y 333 CONFIG_TGT_NUM_MSDU_DESC := 900 334 CONFIG_MULTI_IF_LOG := y 335 CONFIG_DFS_PRI_MULTIPLIER := y 336 CONFIG_DFS_OVERRIDE_RF_THRESHOLD := y 337 CONFIG_WLAN_FEATURE_LL_MODE := y 338ifeq ($(CONFIG_WLAN_FEATURE_DP_BUS_BANDWIDTH), y) 339 CONFIG_WLAN_CLD_PM_QOS := y 340 CONFIG_WLAN_CLD_DEV_PM_QOS := y 341endif 342endif 343CONFIG_WLAN_FEATURE_MBSSID := y 344CONFIG_WLAN_FEATURE_P2P_P2P_STA := y 345 346#Flag to enable Legacy Fast Roaming3(LFR3) 347ifeq (y,$(findstring y,$(CONFIG_HELIUMPLUS) $(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM))) 348 CONFIG_QCACLD_WLAN_LFR3 := y 349else 350 CONFIG_QCACLD_WLAN_LFR2 := y 351endif 352 353#Flag to enable Roam stats feature 354ifeq ($(CONFIG_BERYLLIUM), y) 355ifeq (y,$(filter y,$(CONFIG_QCACLD_WLAN_LFR3))) 356 CONFIG_WLAN_FEATURE_ROAM_INFO_STATS := y 357endif 358endif 359 360#Flag to enable Dynamic MAC address update 361CONFIG_WLAN_FEATURE_DYNAMIC_MAC_ADDR_UPDATE := y 362 363ifeq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM))) 364CONFIG_WIFI_MONITOR_SUPPORT := y 365CONFIG_QCA_MONITOR_PKT_SUPPORT := y 366CONFIG_MONITOR_MODULARIZED_ENABLE := n 367endif 368 369ifeq (y,$(filter y,$(CONFIG_ARCH_SDXLEMUR) $(CONFIG_ARCH_SDXBAAGHA))) 370CONFIG_WIFI_MONITOR_SUPPORT := n 371CONFIG_QCA_MONITOR_PKT_SUPPORT := n 372CONFIG_MONITOR_MODULARIZED_ENABLE := y 373endif 374 375ifneq ($(CONFIG_MOBILE_ROUTER), y) 376#Flag to enable TDLS feature 377CONFIG_QCOM_TDLS := y 378 379CONFIG_WLAN_SYSFS := y 380 381CONFIG_THERMAL_STATS_SUPPORT := y 382 383ifeq ($(CONFIG_WLAN_SYSFS), y) 384 CONFIG_WLAN_SYSFS_STA_INFO := y 385 CONFIG_WLAN_SYSFS_CHANNEL := y 386 CONFIG_WLAN_SYSFS_FW_MODE_CFG := y 387 CONFIG_WLAN_SYSFS_MEM_STATS := y 388 CONFIG_WLAN_REASSOC := y 389 CONFIG_WLAN_SYSFS_CONNECT_INFO := y 390 CONFIG_WLAN_SCAN_DISABLE := y 391 CONFIG_WLAN_SYSFS_DCM := y 392 CONFIG_WLAN_WOW_ITO := y 393 CONFIG_WLAN_WOWL_ADD_PTRN := y 394 CONFIG_WLAN_WOWL_DEL_PTRN := y 395 CONFIG_WLAN_SYSFS_TX_STBC := y 396 CONFIG_WLAN_SYSFS_WLAN_DBG := y 397 CONFIG_WLAN_TXRX_FW_ST_RST := y 398 CONFIG_WLAN_GTX_BW_MASK := y 399 CONFIG_WLAN_SYSFS_SCAN_CFG := y 400 CONFIG_WLAN_SYSFS_MONITOR_MODE_CHANNEL := y 401 CONFIG_WLAN_SYSFS_RADAR := y 402 CONFIG_WLAN_SYSFS_RTS_CTS := y 403 CONFIG_WLAN_SYSFS_HE_BSS_COLOR := y 404 CONFIG_WLAN_TXRX_FW_STATS := y 405 CONFIG_WLAN_TXRX_STATS := y 406 CONFIG_WLAN_SYSFS_DP_TRACE := y 407 CONFIG_WLAN_SYSFS_STATS := y 408ifeq ($(CONFIG_QCOM_TDLS), y) 409 CONFIG_WLAN_SYSFS_TDLS_PEERS := y 410endif 411 CONFIG_WLAN_SYSFS_TEMPERATURE := y 412 CONFIG_WLAN_THERMAL_CFG := y 413 CONFIG_WLAN_DL_MODES := y 414 CONFIG_WLAN_DUMP_IN_PROGRESS := n 415 CONFIG_WLAN_BMISS := y 416 CONFIG_WLAN_FREQ_LIST := y 417 CONFIG_DP_PKT_ADD_TIMESTAMP := y 418 CONFIG_WLAN_SYSFS_LOG_BUFFER := y 419 CONFIG_WLAN_SYSFS_DFSNOL := y 420 CONFIG_WLAN_SYSFS_WDS_MODE := y 421 CONFIG_WLAN_SYSFS_ROAM_TRIGGER_BITMAP := y 422 CONFIG_WLAN_SYSFS_RF_TEST_MODE := y 423endif 424CONFIG_WLAN_PDEV_VDEV_SEND_MULTI_PARAM := y 425CONFIG_WLAN_POWER_DEBUG := y 426#Enable Beacon Reception Stats 427CONFIG_FEATURE_BECN_STATS := y 428endif 429 430CONFIG_WLAN_FEATURE_MEDIUM_ASSESS := y 431 432#Disable the Export Symbol config 433ifeq ($(CONFIG_WLAN_MULTI_CHIP_SUPPORT), y) 434CONFIG_WLAN_DISABLE_EXPORT_SYMBOL := y 435else 436CONFIG_WLAN_DISABLE_EXPORT_SYMBOL := n 437endif 438 439CONFIG_QCACLD_FEATURE_GREEN_AP := y 440 441#Flag to enable pre cac feature 442CONFIG_FEATURE_WLAN_PRE_CAC := y 443 444#Flag to enable Android Packet Filtering 445CONFIG_QCACLD_FEATURE_APF := y 446 447#Flag to enable SARv1 -> SARv2 conversion 448CONFIG_WLAN_FEATURE_SARV1_TO_SARV2 := y 449 450#Flag to enable get firmware state 451CONFIG_QCACLD_FEATURE_FW_STATE := y 452 453#Flag to enable set coex configuration 454CONFIG_QCACLD_FEATURE_COEX_CONFIG := n 455 456#Flag to enable get hw capability 457ifeq ($(CONFIG_ARCH_QCS40X), y) 458CONFIG_QCACLD_FEATURE_HW_CAPABILITY := y 459endif 460 461ifeq ($(CONFIG_ARCH_MSM8998), y) 462CONFIG_QCACLD_FEATURE_METERING := y 463endif 464 465ifeq ($(CONFIG_ARCH_SDM845), y) 466CONFIG_QCACLD_FEATURE_METERING := y 467endif 468 469ifeq ($(CONFIG_ARCH_SM8150), y) 470CONFIG_QCACLD_FEATURE_METERING := y 471endif 472 473ifeq ($(CONFIG_HELIUMPLUS), y) 474CONFIG_QCACLD_FEATURE_METERING := y 475endif 476 477ifeq ($(CONFIG_ARCH_KONA), y) 478CONFIG_QCACLD_FEATURE_METERING := y 479CONFIG_WDI3_STATS_UPDATE := y 480ifeq ($(CONFIG_WDI3_STATS_UPDATE), y) 481CONFIG_WDI3_STATS_BW_MONITOR := y 482endif 483CONFIG_WLAN_SYNC_TSF_TIMER := y 484endif 485 486ifeq ($(CONFIG_ARCH_LAHAINA), y) 487CONFIG_QCACLD_FEATURE_METERING := y 488CONFIG_WDI3_STATS_UPDATE := y 489ifeq ($(CONFIG_CNSS_QCA6490), y) 490CONFIG_WBM_IDLE_LSB_WR_CNF_WAR := y 491CONFIG_WLAN_FEATURE_RX_BUFFER_POOL := y 492CONFIG_DP_RX_BUFFER_POOL_SIZE := 128 493CONFIG_DP_RX_BUFFER_POOL_ALLOC_THRES := 5 494CONFIG_DP_RX_REFILL_BUFF_POOL_SIZE := 2048 495CONFIG_DP_RX_REFILL_THRD_THRESHOLD := 512 496ifeq ($(CONFIG_WDI3_STATS_UPDATE), y) 497CONFIG_WDI3_STATS_BW_MONITOR := y 498endif 499endif 500endif 501 502#Flag to enable Fast Transition (11r) feature 503CONFIG_QCOM_VOWIFI_11R := y 504 505#Flag to enable disable ACTION OUI feature 506CONFIG_WLAN_FEATURE_ACTION_OUI := y 507 508#Flag to enable Adaptive 11r feature 509CONFIG_ADAPTIVE_11R := y 510 511#Flag to enable sae single pmk feature 512CONFIG_SAE_SINGLE_PMK := y 513 514#Flag to enable/disable multi client low latency feature support 515CONFIG_MULTI_CLIENT_LL_SUPPORT := y 516 517#Flag to enable/disable vendor handoff feature support 518CONFIG_WLAN_VENDOR_HANDOFF_CONTROL := y 519 520#Flag to enable mscs feature 521CONFIG_FEATURE_MSCS := y 522 523#Flag to enable FILS Feature (11ai) 524CONFIG_WLAN_FEATURE_FILS := y 525ifneq ($(CONFIG_QCA_CLD_WLAN),) 526 ifeq (y,$(findstring y,$(CONFIG_CNSS) $(CONFIG_CNSS_MODULE) $(CONFIG_CNSS2) \ 527 $(CONFIG_CNSS2_MODULE) $(CONFIG_ICNSS) $(CONFIG_ICNSS_MODULE) \ 528 $(CONFIG_ICNSS2) $(CONFIG_ICNSS2_MODULE))) 529 #Flag to enable LTE CoEx feature 530 CONFIG_QCOM_LTE_COEX := y 531 ifneq ($(CONFIG_MOBILE_ROUTER), y) 532 CONFIG_WLAN_FEATURE_LPSS := y 533 endif 534 ifeq ($(CONFIG_ARCH_SDXLEMUR), y) 535 CONFIG_WLAN_FEATURE_LPSS := y 536 endif 537 ifeq ($(CONFIG_ARCH_SDXBAAGHA), y) 538 CONFIG_WLAN_FEATURE_LPSS := y 539 endif 540 endif 541 542endif 543 544#Flag to enable the tx desc sanity check 545ifeq ($(CONFIG_ROME_IF),usb) 546 CONFIG_QCA_TXDESC_SANITY_CHECKS := y 547endif 548 549ifneq ($(CONFIG_MOBILE_ROUTER), y) 550 #Flag to enable NAN 551 CONFIG_QCACLD_FEATURE_NAN := y 552endif 553 554#Flag to enable Linux QCMBR feature as default feature 555ifeq ($(CONFIG_ROME_IF),usb) 556 CONFIG_LINUX_QCMBR :=y 557endif 558 559 560CONFIG_FEATURE_EPPING := y 561 562#Flag to enable offload packets feature 563CONFIG_WLAN_OFFLOAD_PACKETS := y 564 565#enable TSF get feature 566CONFIG_WLAN_SYNC_TSF := y 567#Enable DSRC feature 568ifeq ($(CONFIG_QCA_WIFI_SDIO), y) 569CONFIG_WLAN_FEATURE_DSRC := y 570endif 571 572ifneq ($(CONFIG_ROME_IF),usb) 573 #Flag to enable SAE 574 CONFIG_WLAN_FEATURE_SAE := y 575 576ifneq ($(CONFIG_ROME_IF),sdio) 577 #Flag to enable DISA 578 CONFIG_WLAN_FEATURE_DISA := y 579 580 #Flag to enable FIPS 581 CONFIG_WLAN_FEATURE_FIPS := y 582 583 #Flag to enable Fast Path feature 584 ifneq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM))) 585 CONFIG_WLAN_FASTPATH := y 586 endif 587 588 # Flag to enable NAPI 589 CONFIG_WLAN_NAPI := y 590 CONFIG_WLAN_NAPI_DEBUG := n 591 592 # Flag to enable FW based TX Flow control 593 ifeq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM))) 594 CONFIG_WLAN_TX_FLOW_CONTROL_V2 := y 595 else 596 CONFIG_WLAN_TX_FLOW_CONTROL_V2 := n 597 endif 598 599endif 600endif 601 602CONFIG_POWER_MANAGEMENT_OFFLOAD := y 603 604ifeq ($(CONFIG_ROME_IF), snoc) 605 CONFIG_WLAN_TX_FLOW_CONTROL_V2 := y 606endif 607 608ifeq ($(CONFIG_ARCH_QCS40X), y) 609CONFIG_WLAN_TX_FLOW_CONTROL_V2 := n 610# Flag to improve TCP TX throughput for both 611# CONFIG_WLAN_TX_FLOW_CONTROL_LEGACY and CONFIG_WLAN_TX_FLOW_CONTROL_V2 612# disabled platform, avoid frame drop in driver 613CONFIG_WLAN_PDEV_TX_FLOW_CONTROL := y 614endif 615 616# Flag to enable LFR Subnet Detection 617CONFIG_LFR_SUBNET_DETECTION := y 618 619# Flag to enable MCC to SCC switch feature 620CONFIG_MCC_TO_SCC_SWITCH := y 621 622ifeq ($(CONFIG_SLUB_DEBUG_ON), y) 623 # Enable Obj Mgr Degug services if slub build 624 CONFIG_WLAN_OBJMGR_DEBUG:= y 625 CONFIG_LOCK_STATS_ON:= y 626 CONFIG_WLAN_OBJMGR_REF_ID_TRACE := y 627endif 628 629ifeq ($(CONFIG_WLAN_SYSFS), y) 630 CONFIG_WLAN_SYSFS_RANGE_EXT := y 631endif 632 633ifeq (y,$(findstring y,$(CONFIG_QCA_WIFI_SDIO) $(CONFIG_HIF_USB))) 634CONFIG_HL_DP_SUPPORT := y 635else 636CONFIG_LL_DP_SUPPORT := y 637endif 638 639ifeq ($(CONFIG_ROME_IF),pci) 640ifneq ($(CONFIG_WLAN_TX_FLOW_CONTROL_V2), y) 641ifneq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM))) 642CONFIG_WLAN_TX_FLOW_CONTROL_LEGACY := y 643endif 644endif 645endif 646 647#Whether have QMI support 648CONFIG_QMI_SUPPORT := y 649 650ifeq (y,$(findstring y,$(CONFIG_ICNSS) $(CONFIG_ICNSS_MODULE) $(CONFIG_ICNSS2_HELIUM))) 651CONFIG_WIFI_3_0_ADRASTEA := y 652CONFIG_ADRASTEA_RRI_ON_DDR := y 653# Enable athdiag procfs debug support for adrastea 654CONFIG_ATH_PROCFS_DIAG_SUPPORT := y 655# Enable 11AC TX compact feature for adrastea 656CONFIG_ATH_11AC_TXCOMPACT := y 657ifeq ($(CONFIG_QMI_SUPPORT), y) 658CONFIG_ADRASTEA_SHADOW_REGISTERS := y 659endif 660endif 661 662# Enable fw stats version 2 663ifeq (y,$(findstring y,$(CONFIG_HELIUMPLUS) $(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM))) 664CONFIG_AR900B := y 665endif 666 667# NOTE: CONFIG_64BIT_PADDR requires CONFIG_HELIUMPLUS 668ifeq ($(CONFIG_HELIUMPLUS), y) 669 670ifeq ($(CONFIG_64BIT_PADDR), y) 671CONFIG_HTT_PADDR64 := y 672endif 673 674ifeq ($(CONFIG_SLUB_DEBUG_ON), y) 675CONFIG_OL_RX_INDICATION_RECORD := y 676CONFIG_TSOSEG_DEBUG := y 677CONFIG_HIF_LARGE_CE_RING_HISTORY := 8192 678endif 679 680ifeq ($(CONFIG_CNSS2_DEBUG), y) 681CONFIG_OL_RX_INDICATION_RECORD := y 682CONFIG_TSOSEG_DEBUG := y 683CONFIG_HIF_LARGE_CE_RING_HISTORY := 8192 684endif 685CONFIG_FEATURE_ENABLE_CE_DP_IRQ_AFFINE := y 686endif #CONFIG_HELIUMPLUS 687 688ifeq ($(CONFIG_LITHIUM), y) 689# 690# Enable Shadow V2 for all lithium platform 691# 692CONFIG_SHADOW_V2 := y 693 694# Enable sw_cookie sanity WAR for all Lithium platforms 695CONFIG_DP_WAR_VALIDATE_RX_ERR_MSDU_COOKIE := y 696endif 697 698ifeq ($(CONFIG_BERYLLIUM), y) 699# 700# Enable Shadow V3 for all Beryllium platform 701# 702CONFIG_SHADOW_V3 := y 703endif 704 705ifeq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM))) 706CONFIG_RX_DEFRAG_DO_NOT_REINJECT := y 707CONFIG_MARK_ICMP_REQ_TO_FW := y 708CONFIG_IPA_SET_RESET_TX_DB_PA := y 709# 710# Enable VERBOSE debug INI mechanism 711# 712CONFIG_VERBOSE_DEBUG := y 713CONFIG_RX_DESC_SANITY_WAR := y 714ifeq ($(CONFIG_PCI_MSM), $(filter $(CONFIG_PCI_MSM), m y)) 715 CONFIG_FEATURE_HAL_DELAYED_REG_WRITE := y 716ifeq ($(CONFIG_CNSS_QCA6390), y) 717 CONFIG_SHADOW_WRITE_DELAY := y 718endif 719endif 720 721ifeq ($(CONFIG_CNSS_QCA6290), y) 722 CONFIG_QCA6290_HEADERS_DEF := y 723 CONFIG_QCA_WIFI_QCA6290 := y 724endif 725ifeq ($(CONFIG_CNSS_QCA6390), y) 726 CONFIG_QCA6390_HEADERS_DEF := y 727 CONFIG_QCA_WIFI_QCA6390 := y 728endif 729 730ifeq ($(CONFIG_CNSS_QCA6490), y) 731 CONFIG_QCA6490_HEADERS_DEF := y 732 CONFIG_QCA_WIFI_QCA6490 := y 733 CONFIG_FEATURE_HAL_DELAYED_REG_WRITE := y 734endif 735 736ifeq ($(CONFIG_CNSS_QCA6750), y) 737 CONFIG_QCA6750_HEADERS_DEF := y 738 CONFIG_QCA_WIFI_QCA6750 := y 739 CONFIG_FEATURE_HAL_DELAYED_REG_WRITE := y 740 CONFIG_IPA_SET_RESET_TX_DB_PA := y 741 ifeq ($(CONFIG_WDI3_STATS_UPDATE), y) 742 CONFIG_WDI3_STATS_BW_MONITOR := y 743 endif 744endif 745 746ifeq ($(CONFIG_CNSS_QCA6750), y) 747 CONFIG_BUS_AUTO_SUSPEND := y 748endif 749 750ifeq (y,$(findstring y,$(CONFIG_CNSS_KIWI) $(CONFIG_CNSS_KIWI_V2))) 751 CONFIG_KIWI_HEADERS_DEF := y 752 CONFIG_QCA_WIFI_KIWI := y 753endif 754 755CONFIG_QCA_WIFI_QCA8074 := y 756CONFIG_QCA_WIFI_QCA8074_VP := y 757CONFIG_DP_INTR_POLL_BASED := y 758CONFIG_TX_PER_PDEV_DESC_POOL := y 759CONFIG_DP_TRACE := y 760CONFIG_FEATURE_TSO := y 761CONFIG_FEATURE_FORCE_WAKE := y 762CONFIG_DP_LFR := y 763CONFIG_DUP_RX_DESC_WAR := y 764CONFIG_HTT_PADDR64 := y 765CONFIG_RX_OL := y 766CONFIG_TX_TID_OVERRIDE := y 767CONFIG_DP_TXRX_SOC_ATTACH := y 768ifeq ($(CONFIG_WLAN_FEATURE_DP_BUS_BANDWIDTH), y) 769CONFIG_WLAN_CLD_PM_QOS := y 770endif 771CONFIG_WLAN_CLD_DEV_PM_QOS := y 772CONFIG_DISABLE_DP_STATS := n 773CONFIG_MAX_ALLOC_PAGE_SIZE := y 774CONFIG_REO_DESC_DEFER_FREE := y 775CONFIG_RXDMA_ERR_PKT_DROP := y 776CONFIG_DELIVERY_TO_STACK_STATUS_CHECK := y 777CONFIG_WLAN_TRACE_HIDE_MAC_ADDRESS := y 778CONFIG_WLAN_TRACE_HIDE_SSID := n 779CONFIG_DP_MEM_PRE_ALLOC := y 780CONFIG_FEATURE_GPIO_CFG := y 781 782ifeq ($(CONFIG_FEATURE_TSO), y) 783 CONFIG_FEATURE_TSO_STATS := y 784 CONFIG_TSO_DEBUG_LOG_ENABLE := y 785endif 786 787ifeq ($(CONFIG_DISABLE_DP_STATS), y) 788 CONFIG_FEATURE_TSO_STATS := n 789endif 790endif 791 792# As per target team, build is done as follows: 793# Defconfig : build with default flags 794# Slub : defconfig + CONFIG_SLUB_DEBUG=y + 795# CONFIG_SLUB_DEBUG_ON=y + CONFIG_PAGE_POISONING=y 796# Perf : Using appropriate msmXXXX-perf_defconfig 797# 798# Shipment builds (user variants) should not have any debug feature 799# enabled. This is identified using 'TARGET_BUILD_VARIANT'. Slub builds 800# are identified using the CONFIG_SLUB_DEBUG_ON configuration. Since 801# there is no other way to identify defconfig builds, QCOMs internal 802# representation of perf builds (identified using the string 'perf'), 803# is used to identify if the build is a slub or defconfig one. This 804# way no critical debug feature will be enabled for perf and shipment 805# builds. Other OEMs are also protected using the TARGET_BUILD_VARIANT 806# config. 807ifneq ($(TARGET_BUILD_VARIANT),user) 808 CONFIG_FEATURE_PKTLOG := y 809 CONFIG_WLAN_DEBUG_CRASH_INJECT := y 810endif 811 812#Disable pktlog feature for lithium based target 813ifeq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM))) 814 CONFIG_FEATURE_PKTLOG := n 815endif 816 817#Enable WLAN/Power debugfs feature only if debug_fs is enabled 818ifeq ($(CONFIG_DEBUG_FS), y) 819 # Flag to enable debugfs. Depends on CONFIG_DEBUG_FS in kernel 820 # configuration. 821 CONFIG_WLAN_DEBUGFS := y 822 823 # Flag to enable streamfs. Depends on CONFIG_DEBUG_FS and 824 # CONFIG_RELAY in kernel configuration. 825ifeq ($(CONFIG_RELAY), y) 826 CONFIG_WLAN_STREAMFS := y 827endif 828endif 829 830ifeq ($(CONFIG_WLAN_DEBUGFS), y) 831 CONFIG_WLAN_MWS_INFO_DEBUGFS := y 832 CONFIG_WLAN_FEATURE_MIB_STATS := y 833endif 834 835#Whether to build debug version 836CONFIG_WLAN_DEBUG_VERSION := y 837 838#Enable this flag to build driver in diag version 839CONFIG_WLAN_DIAG_VERSION := y 840 841ifeq ($(CONFIG_SLUB_DEBUG), y) 842 PANIC_ON_BUG := y 843 WLAN_WARN_ON_ASSERT := y 844else ifeq ($(CONFIG_PERF_DEBUG), y) 845 PANIC_ON_BUG := y 846 WLAN_WARN_ON_ASSERT := y 847else 848 PANIC_ON_BUG := n 849 WLAN_WARN_ON_ASSERT := n 850endif 851 852# Compile all log levels by default 853CONFIG_WLAN_LOG_FATAL := y 854CONFIG_WLAN_LOG_ERROR := y 855CONFIG_WLAN_LOG_WARN := y 856CONFIG_WLAN_LOG_INFO := y 857CONFIG_WLAN_LOG_DEBUG := y 858CONFIG_WLAN_LOG_ENTER := y 859CONFIG_WLAN_LOG_EXIT := y 860 861#Enable OL debug and wmi unified functions 862CONFIG_ATH_PERF_PWR_OFFLOAD := y 863 864#Disable packet log 865ifeq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM))) 866CONFIG_REMOVE_PKT_LOG := y 867else 868CONFIG_REMOVE_PKT_LOG := n 869endif 870 871#Enable 11AC TX 872ifeq ($(CONFIG_ROME_IF),pci) 873 CONFIG_ATH_11AC_TXCOMPACT := y 874endif 875 876ifeq ($(CONFIG_ROME_IF),ipci) 877 CONFIG_ATH_11AC_TXCOMPACT := y 878endif 879 880ifeq ($(CONFIG_ROME_IF),usb) 881 CONFIG_ATH_11AC_TXCOMPACT := n 882endif 883 884#Enable PCI specific APIS (dma, etc) 885ifeq ($(CONFIG_ROME_IF),pci) 886 CONFIG_HIF_PCI := y 887endif 888 889ifeq ($(CONFIG_ROME_IF),ipci) 890 CONFIG_HIF_IPCI := y 891endif 892 893#Enable USB specific APIS 894ifeq ($(CONFIG_ROME_IF),usb) 895 CONFIG_HIF_USB := y 896endif 897 898#Enable SDIO specific APIS 899ifeq ($(CONFIG_ROME_IF),sdio) 900 CONFIG_HIF_SDIO := y 901 CONFIG_TX_DESC_HI_PRIO_RESERVE := y 902 CONFIG_FEATURE_HL_GROUP_CREDIT_FLOW_CONTROL := y 903 CONFIG_TGT_NUM_MSDU_DESC := 0 904endif 905 906ifeq ($(CONFIG_ROME_IF),snoc) 907 CONFIG_HIF_SNOC:= y 908endif 909 910# enable/disable feature flags based upon mobile router profile 911ifeq ($(CONFIG_MOBILE_ROUTER), y) 912CONFIG_FEATURE_WLAN_MCC_TO_SCC_SWITCH := y 913CONFIG_FEATURE_WLAN_AUTO_SHUTDOWN := y 914CONFIG_FEATURE_WLAN_AP_AP_ACS_OPTIMIZE := y 915CONFIG_FEATURE_WLAN_STA_4ADDR_SCHEME := y 916CONFIG_MDM_PLATFORM := y 917CONFIG_FEATURE_HAL_DELAYED_REG_WRITE := n 918ifneq ($(CONFIG_ARCH_SDXPRAIRIE), y) 919ifneq ($(CONFIG_ARCH_SA515), y) 920ifneq ($(CONFIG_ARCH_SDXLEMUR), y) 921ifneq ($(CONFIG_ARCH_SDXBAAGHA), y) 922ifneq ($(CONFIG_ARCH_SDXPINN), y) 923CONFIG_FEATURE_WLAN_STA_AP_MODE_DFS_DISABLE := y 924endif # CONFIG_ARCH_SDXPINN 925endif 926endif 927endif 928endif 929CONFIG_FEATURE_AP_MCC_CH_AVOIDANCE := y 930CONFIG_FEATURE_STA_MODE_VOTE_LINK := y 931else 932CONFIG_QCOM_ESE := y 933CONFIG_WLAN_OPEN_P2P_INTERFACE := y 934CONFIG_WLAN_ENABLE_SOCIAL_CHANNELS_5G_ONLY := y 935endif 936 937#enable 4addr support for QCS40X 938ifeq ($(CONFIG_ARCH_QCS40X), y) 939CONFIG_FEATURE_WLAN_STA_4ADDR_SCHEME := y 940endif 941 942#Enable power management suspend/resume functionality to PCI 943CONFIG_ATH_BUS_PM := y 944 945#Enable FLOWMAC module support 946CONFIG_ATH_SUPPORT_FLOWMAC_MODULE := n 947 948#Enable spectral support 949CONFIG_ATH_SUPPORT_SPECTRAL := n 950 951#Define the legacy pktlog 952ifeq ($(CONFIG_REMOVE_PKT_LOG), n) 953ifeq ($(CONFIG_HELIUMPLUS), y) 954CONFIG_PKTLOG_LEGACY := y 955endif 956 957ifeq ($(CONFIG_ROME_IF), sdio) 958CONFIG_PKTLOG_LEGACY := y 959endif 960 961ifeq ($(CONFIG_ROME_IF), pci) 962CONFIG_PKTLOG_LEGACY := y 963endif 964 965ifeq ($(CONFIG_ROME_IF), usb) 966CONFIG_PKTLOG_LEGACY := y 967endif 968 969ifeq ($(CONFIG_ROME_IF), snoc) 970CONFIG_PKTLOG_LEGACY := y 971endif 972endif 973 974ifeq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM))) 975CONFIG_PKTLOG_LEGACY := n 976endif 977 978#Customize DSCP_to-UP map based on RFC8325 979ifeq ($(CONFIG_HELIUMPLUS), y) 980CONFIG_WLAN_CUSTOM_DSCP_UP_MAP := y 981CONFIG_WLAN_SEND_DSCP_UP_MAP_TO_FW := y 982endif 983 984ifeq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM))) 985CONFIG_WLAN_CUSTOM_DSCP_UP_MAP := y 986endif 987 988ifeq ($(CONFIG_ARCH_BENGAL), y) 989CONFIG_SMMU_S1_UNMAP := y 990endif 991 992ifeq ($(CONFIG_ICNSS2_HELIUM), y) 993CONFIG_SMMU_S1_UNMAP := y 994endif 995 996ifeq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM))) 997CONFIG_WAPI_BIG_ENDIAN := y 998else 999CONFIG_WAPI_BIG_ENDIAN := n 1000endif 1001 1002#Enable WDI Event support 1003CONFIG_WDI_EVENT_ENABLE := y 1004ifeq ($(CONFIG_REMOVE_PKT_LOG), y) 1005ifeq ($(CONFIG_WLAN_ENH_CFR_ENABLE), n) 1006CONFIG_WDI_EVENT_ENABLE := n 1007endif 1008endif 1009 1010#Enable the type_specific_data in the ath_pktlog_arg 1011ifeq ($(CONFIG_REMOVE_PKT_LOG), n) 1012ifeq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM))) 1013CONFIG_PKTLOG_HAS_SPECIFIC_DATA := y 1014endif 1015 1016ifeq ($(CONFIG_HELIUMPLUS), y) 1017CONFIG_PKTLOG_HAS_SPECIFIC_DATA := y 1018endif 1019endif 1020 1021#Endianness selection 1022CONFIG_LITTLE_ENDIAN := y 1023 1024#Enable TX reclaim support 1025CONFIG_TX_CREDIT_RECLAIM_SUPPORT := n 1026 1027#Enable FTM support 1028CONFIG_QCA_WIFI_FTM := y 1029 1030ifeq ($(CONFIG_QCA_WIFI_FTM), y) 1031 1032ifeq ($(CONFIG_NL80211_TESTMODE), y) 1033 QCA_WIFI_FTM_NL80211 :=y 1034else 1035 QCA_WIFI_FTM_NL80211 :=n 1036endif 1037 CONFIG_LINUX_QCMBR :=y 1038 1039else 1040 QCA_WIFI_FTM_NL80211 :=n 1041 CONFIG_LINUX_QCMBR :=n 1042endif 1043 1044 1045#Enable Checksum Offload 1046CONFIG_CHECKSUM_OFFLOAD := y 1047 1048#Enable GTK offload 1049CONFIG_GTK_OFFLOAD := y 1050 1051#Set this to 1 to catch erroneous Target accesses during debug. 1052CONFIG_ATH_PCIE_ACCESS_DEBUG := n 1053 1054#Enable IPA offload for MDM platforms 1055ifeq ($(CONFIG_MDM_PLATFORM), y) 1056ifeq ($(CONFIG_IPA), y) 1057CONFIG_IPA_OFFLOAD := y 1058endif 1059ifeq ($(CONFIG_IPA3), y) 1060CONFIG_IPA_OFFLOAD := y 1061endif 1062ifeq ($(CONFIG_IPA3), m) 1063CONFIG_IPA_OFFLOAD := y 1064endif 1065else 1066CONFIG_IPA_OFFLOAD := n 1067CONFIG_IPA_OPT_WIFI_DP := n 1068endif 1069 1070#Flag to enable SMMU S1 support 1071ifeq ($(CONFIG_ARCH_SDM845), y) 1072ifeq ($(CONFIG_IPA_OFFLOAD), y) 1073CONFIG_ENABLE_SMMU_S1_TRANSLATION := y 1074endif 1075endif 1076 1077ifeq ($(CONFIG_ARCH_SA515M), y) 1078ifeq ($(CONFIG_IPA_OFFLOAD), y) 1079CONFIG_IPA_P2P_SUPPORT := y 1080endif 1081endif 1082 1083ifeq ($(CONFIG_ARCH_SM8150), y) 1084ifeq ($(CONFIG_IPA_OFFLOAD), y) 1085ifneq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM))) 1086CONFIG_ENABLE_SMMU_S1_TRANSLATION := y 1087endif 1088endif 1089endif 1090 1091ifeq (y, $(filter y, $(CONFIG_ARCH_SDXPRAIRIE) $(CONFIG_ARCH_SA515))) 1092ifeq ($(CONFIG_IPA_OFFLOAD), y) 1093CONFIG_ENABLE_SMMU_S1_TRANSLATION := y 1094CONFIG_SMMU_S1_UNMAP := y 1095CONFIG_IPA_WDI3_TX_TWO_PIPES := y 1096endif 1097endif 1098 1099ifeq ($(CONFIG_ARCH_KONA), y) 1100ifeq ($(CONFIG_IPA_OFFLOAD), y) 1101CONFIG_ENABLE_SMMU_S1_TRANSLATION := y 1102CONFIG_SMMU_S1_UNMAP := y 1103endif 1104endif 1105 1106ifeq ($(CONFIG_ARCH_LAHAINA), y) 1107ifeq ($(CONFIG_IPA_OFFLOAD), y) 1108CONFIG_ENABLE_SMMU_S1_TRANSLATION := y 1109CONFIG_SMMU_S1_UNMAP := y 1110endif 1111endif 1112 1113ifeq (y,$(filter y,$(CONFIG_ARCH_SDXLEMUR) $(CONFIG_ARCH_SDXBAAGHA))) 1114ifeq ($(CONFIG_IPA_OFFLOAD), y) 1115CONFIG_ENABLE_SMMU_S1_TRANSLATION := y 1116CONFIG_SMMU_S1_UNMAP := y 1117CONFIG_IPA_WDI3_TX_TWO_PIPES := y 1118endif 1119endif 1120 1121ifeq ($(CONFIG_HELIUMPLUS), y) 1122ifneq ($(CONFIG_ARCH_SDM630), y) 1123ifneq ($(CONFIG_ARCH_SDM660), y) 1124ifneq ($(CONFIG_ARCH_MSM8998), y) 1125ifeq ($(CONFIG_IPA_OFFLOAD), y) 1126CONFIG_ENABLE_SMMU_S1_TRANSLATION := y 1127endif 1128endif 1129endif 1130endif 1131endif 1132 1133ifeq ($(CONFIG_ARCH_WAIPIO), y) 1134ifeq ($(CONFIG_IPA_OFFLOAD), y) 1135CONFIG_ENABLE_SMMU_S1_TRANSLATION := y 1136CONFIG_SMMU_S1_UNMAP := y 1137endif 1138CONFIG_WLAN_TSF_UPLINK_DELAY := y 1139endif 1140 1141ifeq ($(CONFIG_ARCH_KALAMA), y) 1142ifeq ($(CONFIG_IPA_OFFLOAD), y) 1143CONFIG_ENABLE_SMMU_S1_TRANSLATION := y 1144CONFIG_SMMU_S1_UNMAP := y 1145endif 1146endif 1147 1148ifeq ($(CONFIG_ARCH_SDX20), y) 1149ifeq ($(CONFIG_QCA_WIFI_SDIO), y) 1150ifeq ($(CONFIG_WCNSS_SKB_PRE_ALLOC), y) 1151CONFIG_FEATURE_SKB_PRE_ALLOC := y 1152endif 1153endif 1154endif 1155 1156ifeq ($(CONFIG_CNSS_QCA6490), y) 1157ifeq ($(CONFIG_IPA_OFFLOAD), y) 1158ifneq ($(CONFIG_SLUB_DEBUG_ON), y) 1159CONFIG_HIF_CPU_CLEAR_AFFINITY := y 1160endif 1161endif 1162endif 1163 1164#Enable Signed firmware support for split binary format 1165CONFIG_QCA_SIGNED_SPLIT_BINARY_SUPPORT := n 1166 1167#Enable single firmware binary format 1168CONFIG_QCA_SINGLE_BINARY_SUPPORT := n 1169 1170#Enable collecting target RAM dump after kernel panic 1171CONFIG_TARGET_RAMDUMP_AFTER_KERNEL_PANIC := y 1172 1173#Flag to enable/disable secure firmware feature 1174CONFIG_FEATURE_SECURE_FIRMWARE := n 1175 1176#Flag to enable Stats Ext implementation 1177CONFIG_FEATURE_STATS_EXT := y 1178 1179#Flag to allocate memory dynamically for different buffers 1180CONFIG_WLAN_LOGGING_BUFFERS_DYNAMICALLY := n 1181CONFIG_WLAN_DFS_STATIC_MEM_ALLOC := y 1182 1183#Flag to enable HTC credit history feature 1184CONFIG_FEATURE_HTC_CREDIT_HISTORY := y 1185 1186#Flag to enable MTRACE feature 1187CONFIG_TRACE_RECORD_FEATURE := y 1188 1189#Flag to enable p2p debug feature 1190CONFIG_WLAN_FEATURE_P2P_DEBUG := y 1191 1192#Flag to enable roam debug log 1193CONFIG_FEATURE_ROAM_DEBUG := y 1194 1195#Flag to enable DFS Master feature 1196CONFIG_WLAN_DFS_MASTER_ENABLE := y 1197 1198ifeq ($(CONFIG_ARCH_PINEAPPLE), y) 1199#Flag to enable WEXT support for STA/AP/P2P interfaces 1200ifeq ($(CONFIG_CFG80211_WEXT), y) 1201CONFIG_WLAN_WEXT_SUPPORT_ENABLE := y 1202endif 1203else 1204ifeq ($(CONFIG_WIRELESS_EXT), y) 1205CONFIG_WLAN_WEXT_SUPPORT_ENABLE := y 1206endif 1207endif 1208 1209#Flag to enable/disable MTRACE feature 1210CONFIG_ENABLE_MTRACE_LOG := y 1211 1212#Flag to enable nud tracking feature 1213CONFIG_WLAN_NUD_TRACKING := y 1214 1215#Flag to enable/Disable Function call trace 1216CONFIG_FUNC_CALL_MAP := n 1217 1218#Flag to enable wbuff feature 1219CONFIG_WLAN_WBUFF := y 1220 1221#Flag to enable set and get disable channel list feature 1222CONFIG_DISABLE_CHANNEL_LIST :=y 1223 1224#Flag to enable beacon receive feature 1225CONFIG_WLAN_BCN_RECV_FEATURE := y 1226 1227#Flag to enable LTE COEX feature 1228CONFIG_LTE_COEX := y 1229 1230#Flag to enable delayed peer obj free 1231CONFIG_FEATURE_DELAYED_PEER_OBJ_DESTROY := y 1232 1233#Flag to enable/disable TARGET 11d scan 1234CONFIG_TARGET_11D_SCAN := y 1235 1236#Flag to enable/disable Avoid acs freq feature 1237CONFIG_SAP_AVOID_ACS_FREQ_LIST := y 1238 1239#Flag to enable HOST OPCLASS feature 1240CONFIG_HOST_OPCLASS := y 1241 1242#Flag to enable Dynamic Voltage WDCVS (Config Voltage Mode) 1243CONFIG_WLAN_DYNAMIC_CVM := y 1244 1245#Flag to enable SAR Safety Feature 1246CONFIG_SAR_SAFETY_FEATURE := y 1247 1248CONFIG_CONNECTION_ROAMING_CFG := n 1249 1250CONFIG_FEATURE_SET := y 1251 1252CONFIG_WLAN_FEATURE_LL_LT_SAP := y 1253 1254CONFIG_WIFI_POS_CONVERGED := y 1255CONFIG_WLAN_TWT_CONVERGED := y 1256ifneq ($(CONFIG_WIFI_POS_CONVERGED), y) 1257CONFIG_WIFI_POS_LEGACY := y 1258endif 1259 1260CONFIG_QCA_TARGET_IF_MLME := y 1261 1262CONFIG_CP_STATS := y 1263CONFIG_FEATURE_INTEROP_ISSUES_AP := y 1264 1265CONFIG_FEATURE_WLAN_WAPI := y 1266 1267#Flag to enable FW log parsing support feature 1268CONFIG_FEATURE_FW_LOG_PARSING := y 1269 1270CONFIG_PTT_SOCK_SVC_ENABLE := y 1271CONFIG_SOFTAP_CHANNEL_RANGE := y 1272CONFIG_FEATURE_WLAN_SCAN_PNO := y 1273CONFIG_WLAN_FEATURE_PACKET_FILTERING := y 1274CONFIG_WLAN_NS_OFFLOAD := y 1275CONFIG_FEATURE_WLAN_RA_FILTERING:= y 1276CONFIG_FEATURE_WLAN_LPHB := y 1277CONFIG_QCA_SUPPORT_TX_THROTTLE := y 1278CONFIG_WMI_INTERFACE_EVENT_LOGGING := y 1279CONFIG_WLAN_FEATURE_LINK_LAYER_STATS := y 1280CONFIG_FEATURE_CLUB_LL_STATS_AND_GET_STATION := y 1281CONFIG_FEATURE_WLAN_EXTSCAN := n 1282CONFIG_WMI_BCN_OFFLOAD := y 1283CONFIG_160MHZ_SUPPORT := y 1284CONFIG_REG_CLIENT := y 1285CONFIG_WLAN_PMO_ENABLE := y 1286CONFIG_CONVERGED_P2P_ENABLE := y 1287CONFIG_WLAN_POLICY_MGR_ENABLE := y 1288CONFIG_FEATURE_DENYLIST_MGR := y 1289CONFIG_FOURTH_CONNECTION := y 1290CONFIG_SUPPORT_11AX := y 1291CONFIG_HDD_INIT_WITH_RTNL_LOCK := y 1292CONFIG_WLAN_CONV_SPECTRAL_ENABLE := y 1293CONFIG_WLAN_SPECTRAL_ENABLE := y 1294CONFIG_WMI_CMD_STRINGS := y 1295 1296CONFIG_FEATURE_MONITOR_MODE_SUPPORT := y 1297 1298CONFIG_WLAN_ALLOCATE_GLOBAL_BUFFERS_DYNAMICALLY := n 1299CONFIG_WLAN_FEATURE_TWT := y 1300CONFIG_FW_THERMAL_THROTTLE := y 1301CONFIG_WLAN_FEATURE_BIG_DATA_STATS := y 1302CONFIG_WLAN_FEATURE_IGMP_OFFLOAD := y 1303CONFIG_WLAN_FEATURE_GET_USABLE_CHAN_LIST := y 1304CONFIG_FEATURE_RADAR_HISTORY := y 1305 1306ifeq (y,$(findstring y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM) $(CONFIG_ICNSS) $(CONFIG_ICNSS_MODULE) $(CONFIG_ICNSS2_HELIUM))) 1307CONFIG_WLAN_FEATURE_BMI := n 1308else 1309CONFIG_WLAN_FEATURE_BMI := y 1310endif 1311 1312#Flags to enable/disable vendor commands 1313CONFIG_FEATURE_RSSI_MONITOR := y 1314CONFIG_FEATURE_BSS_TRANSITION := y 1315CONFIG_FEATURE_STATION_INFO := y 1316CONFIG_FEATURE_TX_POWER := y 1317CONFIG_FEATURE_OTA_TEST := y 1318CONFIG_FEATURE_ACTIVE_TOS := y 1319CONFIG_FEATURE_SAR_LIMITS := y 1320CONFIG_FEATURE_CONCURRENCY_MATRIX := y 1321CONFIG_FEATURE_SAP_COND_CHAN_SWITCH := y 1322CONFIG_FEATURE_P2P_LISTEN_OFFLOAD := y 1323CONFIG_QCACLD_FEATURE_MPTA_HELPER := n 1324CONFIG_QCACLD_RX_DESC_MULTI_PAGE_ALLOC := y 1325 1326#Flags to enable/disable WMI APIs 1327CONFIG_WMI_ROAM_SUPPORT := y 1328CONFIG_WMI_CONCURRENCY_SUPPORT := y 1329CONFIG_WMI_STA_SUPPORT := y 1330 1331CONFIG_DP_TRACE := y 1332 1333ifeq ($(CONFIG_HELIUMPLUS), y) 1334ifneq ($(CONFIG_FORCE_ALLOC_FROM_DMA_ZONE), y) 1335CONFIG_ENABLE_DEBUG_ADDRESS_MARKING := y 1336endif 1337CONFIG_RX_OL := y 1338endif 1339 1340ifeq ($(CONFIG_CNSS_EMULATION), y) 1341#on emulation platform, increase host timeouts by 1000 times 1342CONFIG_QDF_TIMER_MULTIPLIER_FRAC := 1000 1343endif 1344 1345ifeq ($(CONFIG_SLUB_DEBUG_ON), y) 1346 CONFIG_DSC_DEBUG := y 1347 CONFIG_DESC_TIMESTAMP_DEBUG_INFO := y 1348 CONFIG_FEATURE_UNIT_TEST_SUSPEND := y 1349 CONFIG_LEAK_DETECTION := y 1350 CONFIG_WLAN_TRACE_HIDE_MAC_ADDRESS := n 1351ifndef CONFIG_MAX_LOGS_PER_SEC 1352 CONFIG_MAX_LOGS_PER_SEC := 500 1353endif 1354 CONFIG_SCHED_HISTORY_SIZE := 256 1355 CONFIG_TALLOC_DEBUG := y 1356 CONFIG_UNIT_TEST := y 1357 CONFIG_REGISTER_OP_DEBUG := y 1358 CONFIG_ENABLE_QDF_PTR_HASH_DEBUG := y 1359 CONFIG_HAL_DEBUG := y 1360 CONFIG_FEATURE_HAL_RECORD_SUSPEND_WRITE := y 1361 1362ifneq ($(CONFIG_HELIUMPLUS), y) 1363ifneq ($(CONFIG_CNSS_EMULATION), y) 1364 CONFIG_HIF_DETECTION_LATENCY_ENABLE := y 1365endif 1366endif 1367endif 1368 1369ifeq ($(CONFIG_CNSS2_DEBUG), y) 1370 CONFIG_DSC_DEBUG := y 1371 CONFIG_DESC_TIMESTAMP_DEBUG_INFO := y 1372 CONFIG_FEATURE_UNIT_TEST_SUSPEND := y 1373 CONFIG_LEAK_DETECTION := y 1374 CONFIG_MAX_LOGS_PER_SEC := 500 1375 CONFIG_SCHED_HISTORY_SIZE := 256 1376 CONFIG_TALLOC_DEBUG := y 1377 CONFIG_UNIT_TEST := y 1378 CONFIG_REGISTER_OP_DEBUG := y 1379 CONFIG_ENABLE_QDF_PTR_HASH_DEBUG := y 1380 CONFIG_HAL_DEBUG := y 1381 CONFIG_ATH_DIAG_EXT_DIRECT := y 1382 CONFIG_WLAN_TRACE_HIDE_MAC_ADDRESS := n 1383endif 1384 1385 CONFIG_HIF_DEBUG := y 1386 1387ifeq ($(CONFIG_UNIT_TEST), y) 1388 CONFIG_DSC_TEST := y 1389 CONFIG_QDF_TEST := y 1390 CONFIG_FEATURE_WLM_STATS := y 1391endif 1392 1393ifeq ($(CONFIG_LITHIUM), y) 1394 CONFIG_RX_DESC_DEBUG_CHECK:= y 1395 CONFIG_ALLOW_PKT_DROPPING := y 1396endif 1397 1398ifeq ($(CONFIG_BERYLLIUM), y) 1399 ifeq (y,$(filter y,$(CONFIG_CNSS2_DEBUG) $(CONFIG_SLUB_DEBUG_ON))) 1400 CONFIG_RX_DESC_DEBUG_CHECK:= y 1401 CONFIG_ALLOW_PKT_DROPPING := y 1402 CONFIG_WLAN_FEATURE_DP_MON_STATUS_RING_HISTORY := y 1403 CONFIG_DP_TX_COMP_RING_DESC_SANITY_CHECK := y 1404 CONFIG_WLAN_FEATURE_DP_CFG_EVENT_HISTORY := y 1405 endif 1406endif 1407 1408ifeq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM))) 1409 ifeq (y,$(filter y,$(CONFIG_CNSS2_DEBUG) $(CONFIG_SLUB_DEBUG_ON))) 1410 CONFIG_HIF_CE_DEBUG_DATA_BUF := y 1411 CONFIG_WLAN_RECORD_RX_PADDR := y 1412 CONFIG_HIF_CPU_PERF_AFFINE_MASK := y 1413 CONFIG_WLAN_FEATURE_DP_RX_RING_HISTORY := y 1414 CONFIG_WLAN_FEATURE_DP_TX_DESC_HISTORY := y 1415 CONFIG_REO_QDESC_HISTORY := y 1416 CONFIG_DP_TX_HW_DESC_HISTORY := y 1417 CONFIG_QDF_NBUF_HISTORY_SIZE := 16384 1418 CONFIG_DP_RX_REFILL_CPU_PERF_AFFINE_MASK := y 1419 CONFIG_FEATURE_HIF_LATENCY_PROFILE_ENABLE := y 1420 endif 1421 CONFIG_DP_HW_TX_DELAY_STATS_ENABLE := y 1422 CONFIG_WLAN_FEATURE_DP_EVENT_HISTORY := y 1423 CONFIG_DYNAMIC_RX_AGGREGATION := y 1424 CONFIG_WLAN_SUPPORT_DATA_STALL := y 1425 CONFIG_WLAN_DP_PER_RING_TYPE_CONFIG := y 1426 CONFIG_WLAN_CE_INTERRUPT_THRESHOLD_CONFIG := y 1427 #Enable WMI TX/RX over QMI 1428 CONFIG_WMI_SEND_RECV_QMI := y 1429 CONFIG_WLAN_DP_PENDING_MEM_FLUSH := y 1430 CONFIG_WLAN_SKIP_BAR_UPDATE := y 1431 CONFIG_TX_MULTIQ_PER_AC := y 1432 CONFIG_WLAN_TRACEPOINTS := y 1433 ENABLE_CE4_COMP_DISABLE_HTT_HTC_MISC_LIST := y 1434endif 1435 1436#Flag to enable ref ID print 1437CONFIG_WLAN_OBJMGR_DEBUG:= y 1438CONFIG_WLAN_OBJMGR_REF_ID_TRACE := y 1439 1440#Flag to enable hdd memory dump feature 1441CONFIG_FEATURE_MEMDUMP_ENABLE := y 1442 1443#Flag to enable/disable WLAN D0-WOW 1444ifeq ($(CONFIG_PCI_MSM), y) 1445ifeq ($(CONFIG_HIF_PCI), y) 1446CONFIG_FEATURE_WLAN_D0WOW := y 1447endif 1448endif 1449 1450ifeq ($(CONFIG_ARCH_MDM9607), y) 1451CONFIG_TUFELLO_DUAL_FW_SUPPORT := y 1452endif 1453 1454CONFIG_CHANNEL_HOPPING_ALL_BANDS := y 1455 1456ifeq (y, $(filter y, $(CONFIG_ARCH_SDXPRAIRIE) $(CONFIG_ARCH_SA515))) 1457 ifneq ($(CONFIG_SLUB_DEBUG), y) 1458 CONFIG_DP_TRACE := n 1459 endif 1460 1461 CONFIG_DIRECT_BUF_RX_ENABLE := n 1462 CONFIG_WMI_DBR_SUPPORT := n 1463 CONFIG_MAX_CLIENTS_ALLOWED := 64 1464endif 1465 1466ifneq ($(CONFIG_HIF_USB), y) 1467CONFIG_WLAN_LOGGING_SOCK_SVC := y 1468endif 1469 1470CONFIG_CONNECTIVITY_PKTLOG := y 1471CONFIG_PKTLOG_HAS_SPECIFIC_DATA := y 1472 1473ifneq ($(TARGET_BUILD_VARIANT),user) 1474CONFIG_DESC_DUP_DETECT_DEBUG := y 1475endif 1476 1477ifeq (y,$(findstring y,$(CONFIG_CNSS) $(CONFIG_CNSS_MODULE))) 1478ifeq ($(CONFIG_CNSS_SDIO), y) 1479CONFIG_PLD_SDIO_CNSS_FLAG := y 1480endif 1481ifeq ($(CONFIG_HIF_PCI), y) 1482CONFIG_PLD_PCIE_CNSS_FLAG := y 1483CONFIG_FEATURE_BUS_BANDWIDTH_MGR := y 1484endif 1485endif 1486 1487ifeq (y,$(findstring y,$(CONFIG_CNSS2) $(CONFIG_CNSS2_MODULE))) 1488ifeq ($(CONFIG_HIF_PCI), y) 1489CONFIG_FEATURE_BUS_BANDWIDTH_MGR := y 1490CONFIG_PLD_PCIE_CNSS_FLAG := y 1491CONFIG_PLD_PCIE_INIT_FLAG := y 1492endif 1493endif 1494 1495#Enable STATE MACHINE HISTORY 1496CONFIG_SM_ENG_HIST := n 1497 1498#Enable OEM DATA feature 1499CONFIG_FEATURE_OEM_DATA := y 1500 1501#Enable FW Offload 1502CONFIG_WLAN_FW_OFFLOAD := y 1503 1504#Enable eLNA bypass feature 1505ifeq ($(CONFIG_WLAN_FW_OFFLOAD), y) 1506CONFIG_WLAN_FEATURE_ELNA := y 1507endif 1508 1509#Enable mDNS feature 1510ifeq ($(CONFIG_WLAN_FW_OFFLOAD), y) 1511CONFIG_WLAN_FEATURE_MDNS_OFFLOAD := y 1512endif 1513 1514#Enable ICMP feature 1515ifeq ($(CONFIG_WLAN_FW_OFFLOAD), y) 1516CONFIG_WLAN_FEATURE_ICMP_OFFLOAD := y 1517endif 1518 1519ifeq ($(CONFIG_CNSS_QCA6750), y) 1520#Enable 6 GHz Band 1521CONFIG_BAND_6GHZ := y 1522CONFIG_RX_FISA := y 1523CONFIG_MORE_TX_DESC := y 1524 ifeq ($(CONFIG_SLUB_DEBUG_ON), y) 1525 CONFIG_DP_FT_LOCK_HISTORY := y 1526 endif 1527endif 1528 1529ifeq ($(CONFIG_CNSS_QCA6490), y) 1530 1531#Enable 6 GHz Band 1532CONFIG_BAND_6GHZ := y 1533CONFIG_RX_FISA := y 1534CONFIG_MORE_TX_DESC := y 1535 1536endif 1537 1538ifeq (y,$(findstring y,$(CONFIG_CNSS_KIWI) $(CONFIG_CNSS_KIWI_V2))) 1539#Enable 6 GHz Band 1540CONFIG_BAND_6GHZ := y 1541CONFIG_RX_FISA := y 1542CONFIG_MORE_TX_DESC := y 1543endif 1544 1545CONFIG_HANDLE_BC_EAP_TX_FRM := y 1546 1547ifeq ($(CONFIG_BAND_6GHZ), y) 1548 1549CONFIG_6G_SCAN_CHAN_SORT_ALGO := y 1550 1551endif 1552 1553CONFIG_SAP_DHCP_FW_IND := y 1554 1555#Enable support to get ANI level 1556CONFIG_ANI_LEVEL_REQUEST := y 1557 1558ifeq ($(CONFIG_ARCH_QCS405), y) 1559CONFIG_FEATURE_WLAN_TIME_SYNC_FTM := y 1560endif 1561 1562ifeq ($(CONFIG_ARCH_SDM660), y) 1563CONFIG_WLAN_FEATURE_PKT_CAPTURE := y 1564endif 1565 1566ifeq ($(CONFIG_CNSS_QCA6490), y) 1567ifneq (, $(filter y, $(CONFIG_ARCH_LAHAINA) $(CONFIG_ARCH_PARROT))) 1568CONFIG_WLAN_FEATURE_PKT_CAPTURE := y 1569CONFIG_WLAN_FEATURE_PKT_CAPTURE_V2 := y 1570CONFIG_DP_RX_UDP_OVER_PEER_ROAM := y 1571CONFIG_WLAN_BOOST_CPU_FREQ_IN_ROAM := y 1572endif 1573endif 1574 1575#Enable RX RING buffers debug 1576CONFIG_DEBUG_RX_RING_BUFFER := y 1577 1578#Enable Hash debug 1579CONFIG_RX_HASH_DEBUG := y 1580 1581#Enable VDEV OPS wakelock feature 1582CONFIG_FEATURE_VDEV_OPS_WAKELOCK := y 1583 1584# Enable RX buffer pool support 1585ifeq ($(CONFIG_CNSS_QCA6750), y) 1586CONFIG_WLAN_FEATURE_RX_BUFFER_POOL := y 1587CONFIG_DP_RX_BUFFER_POOL_SIZE := 128 1588CONFIG_DP_RX_BUFFER_POOL_ALLOC_THRES := 5 1589CONFIG_DP_RX_REFILL_BUFF_POOL_SIZE := 2048 1590CONFIG_DP_RX_REFILL_THRD_THRESHOLD := 512 1591CONFIG_DP_SWLM := y 1592CONFIG_WLAN_FEATURE_CE_RX_BUFFER_REUSE := y 1593endif 1594 1595ifeq ($(CONFIG_WLAN_FEATURE_CE_RX_BUFFER_REUSE), y) 1596CONFIG_WLAN_WBUFF := y 1597endif 1598 1599ifeq (y,$(filter y,$(CONFIG_ARCH_SDXLEMUR) $(CONFIG_ARCH_SDXBAAGHA))) 1600CONFIG_WLAN_FEATURE_RX_BUFFER_POOL := y 1601CONFIG_DP_RX_BUFFER_POOL_SIZE := 128 1602CONFIG_DP_RX_BUFFER_POOL_ALLOC_THRES := 5 1603CONFIG_DP_RX_REFILL_BUFF_POOL_SIZE := 2048 1604CONFIG_DP_RX_REFILL_THRD_THRESHOLD := 512 1605CONFIG_BEACON_TX_OFFLOAD_MAX_VDEV := 4 1606CONFIG_NUM_IPA_IFACE := 4 1607CONFIG_MAX_CLIENTS_ALLOWED := 64 1608ifneq ($(CONFIG_SLUB_DEBUG), y) 1609CONFIG_DP_TRACE := n 1610endif 1611CONFIG_DIRECT_BUF_RX_ENABLE := n 1612CONFIG_WMI_DBR_SUPPORT := n 1613CONFIG_WLAN_CFR_ENABLE := n 1614CONFIG_WLAN_ENH_CFR_ENABLE := n 1615CONFIG_QCACLD_FEATURE_APF := n 1616CONFIG_QCACLD_FEATURE_NAN := n 1617CONFIG_FEATURE_EPPING := n 1618CONFIG_WLAN_FEATURE_P2P_DEBUG := n 1619CONFIG_WLAN_CONV_SPECTRAL_ENABLE := n 1620CONFIG_FEATURE_MONITOR_MODE_SUPPORT := n 1621CONFIG_FEATURE_RSSI_MONITOR := n 1622CONFIG_FEATURE_P2P_LISTEN_OFFLOAD := n 1623CONFIG_FEATURE_OEM_DATA := n 1624CONFIG_MORE_TX_DESC := n 1625CONFIG_AFC_SUPPORT := y 1626CONFIG_WLAN_FEATURE_AFC_DCS_SKIP_ACS_RANGE := y 1627endif 1628 1629#Enable Hang Event 1630CONFIG_WLAN_HANG_EVENT := y 1631 1632ifeq ($(CONFIG_FW_THERMAL_THROTTLE), y) 1633CONFIG_WLAN_THERMAL_MULTI_CLIENT_SUPPORT := y 1634endif 1635 1636ifeq ($(CONFIG_CNSS_QCA6750), y) 1637ifeq ($(CONFIG_LITHIUM), y) 1638CONFIG_DP_LEGACY_MODE_CSM_DEFAULT_DISABLE := 1 1639CONFIG_DP_RX_DESC_COOKIE_INVALIDATE := y 1640else 1641CONFIG_DP_LEGACY_MODE_CSM_DEFAULT_DISABLE := 0 1642endif 1643endif 1644 1645CONFIG_WLAN_DEBUG_LINK_VOTE := y 1646 1647CONFIG_QCACLD_WLAN_CONNECTIVITY_DIAG_EVENT := y 1648 1649CONFIG_WLAN_FEATURE_CAL_FAILURE_TRIGGER := y 1650 1651CONFIG_WLAN_FEATURE_NO_STA_SAP_CONCURRENCY := n 1652CONFIG_WLAN_FEATURE_NO_STA_NAN_CONCURRENCY := n 1653CONFIG_WLAN_FEATURE_NO_SAP_NAN_CONCURRENCY := n 1654CONFIG_WLAN_FEATURE_NO_P2P_CONCURRENCY := n 1655 1656ifeq (y,$(findstring y,$(CONFIG_CNSS_QCA6490) $(CONFIG_CNSS_KIWI) $(CONFIG_CNSS_KIWI_V2))) 1657CONFIG_FEATURE_WLAN_CH_AVOID_EXT := y 1658endif 1659 1660ifeq ($(CONFIG_LITHIUM), y) 1661CONFIG_DP_TX_TRACKING := y 1662endif 1663 1664ifeq ($(CONFIG_QCACLD_FEATURE_SON), y) 1665CONFIG_WDI_EVENT_ENABLE := y 1666CONFIG_FEATURE_MONITOR_MODE_SUPPORT := y 1667CONFIG_WIFI_MONITOR_SUPPORT := y 1668CONFIG_DCS := y 1669CONFIG_FEATURE_WDS := y 1670endif 1671 1672ifeq ($(CONFIG_FEATURE_WDS), y) 1673CONFIG_FEATURE_MEC := y 1674CONFIG_FEATURE_WLAN_STA_4ADDR_SCHEME := y 1675CONFIG_FEATURE_MCL_REPEATER := y 1676CONFIG_BYPASS_WDS_OL_OPS := y 1677CONFIG_WDS_CONV_TARGET_IF_OPS_ENABLE := y 1678endif 1679 1680ifeq ($(CONFIG_CNSS_SM6150), y) 1681CONFIG_ENABLE_LOW_POWER_MODE := y 1682endif 1683 1684CONFIG_WLAN_FEATURE_SAP_ACS_OPTIMIZE := y 1685