default_defconfig 35 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459
  1. CONFIG_HANDLE_RX_REROUTE_ERR := y
  2. ifeq ($(CONFIG_CNSS_QCA6290), y)
  3. ifeq ($(CONFIG_CNSS_EMULATION), y)
  4. CONFIG_QCA_WIFI_EMULATION := y
  5. endif
  6. CONFIG_LITHIUM := y
  7. CONFIG_QCA6290_11AX := y
  8. CONFIG_WLAN_FEATURE_11AX := y
  9. CONFIG_WLAN_FEATURE_DFS_OFFLOAD := y
  10. CONFIG_IPA3 := n
  11. CONFIG_WLAN_FEATURE_LRO_CTX_IN_CB := y
  12. endif
  13. ifeq ($(CONFIG_CNSS_QCA6390), y)
  14. ifeq ($(CONFIG_CNSS_EMULATION), y)
  15. CONFIG_QCA_WIFI_EMULATION := y
  16. endif
  17. CONFIG_LITHIUM := y
  18. CONFIG_WLAN_FEATURE_11AX := y
  19. CONFIG_WLAN_FEATURE_DFS_OFFLOAD := y
  20. ifeq ($(CONFIG_ARCH_SDM845), y)
  21. CONFIG_IPA3 := n
  22. endif
  23. CONFIG_SCALE_INCLUDES := y
  24. CONFIG_HASTINGS_BT_WAR := y
  25. CONFIG_WDI3_IPA_OVER_GSI :=y
  26. CONFIG_DIRECT_BUF_RX_ENABLE := y
  27. CONFIG_WMI_DBR_SUPPORT := y
  28. CONFIG_MORE_TX_DESC := y
  29. CONFIG_WLAN_FEATURE_LRO_CTX_IN_CB := y
  30. endif
  31. ifeq ($(CONFIG_CNSS_QCA6490), y)
  32. CONFIG_DIRECT_BUF_RX_ENABLE := y
  33. CONFIG_WMI_DBR_SUPPORT := y
  34. CONFIG_WLAN_CFR_ENABLE := y
  35. CONFIG_WLAN_ENH_CFR_ENABLE := y
  36. ifeq ($(CONFIG_CNSS_EMULATION), y)
  37. CONFIG_QCA_WIFI_EMULATION := y
  38. endif
  39. CONFIG_LITHIUM := y
  40. CONFIG_WLAN_FEATURE_11AX := y
  41. CONFIG_WLAN_FEATURE_DFS_OFFLOAD := y
  42. ifeq ($(CONFIG_ARCH_SDM845), y)
  43. CONFIG_IPA3 := n
  44. endif
  45. CONFIG_SCALE_INCLUDES := y
  46. CONFIG_HASTINGS_BT_WAR := y
  47. CONFIG_WDI3_IPA_OVER_GSI :=y
  48. CONFIG_PCIE_GEN_SWITCH := y
  49. CONFIG_WLAN_TWT_SAP_STA_COUNT := y
  50. CONFIG_WLAN_TWT_SAP_PDEV_COUNT := y
  51. CONFIG_DEVICE_FORCE_WAKE_ENABLE :=y
  52. CONFIG_HIF_REG_WINDOW_SUPPORT :=y
  53. CONFIG_DUMP_REO_QUEUE_INFO_IN_DDR :=y
  54. CONFIG_WLAN_FEATURE_LRO_CTX_IN_CB := y
  55. CONFIG_DCS := y
  56. CONFIG_WLAN_SYNC_TSF_PLUS := y
  57. CONFIG_WLAN_SYNC_TSF_TIMER := y
  58. CONFIG_TX_MULTI_TCL := y
  59. endif
  60. ifeq ($(CONFIG_CNSS_QCA6750), y)
  61. ifeq ($(CONFIG_CNSS_EMULATION), y)
  62. CONFIG_QCA_WIFI_EMULATION := y
  63. endif
  64. CONFIG_LITHIUM := y
  65. CONFIG_WLAN_FEATURE_11AX := y
  66. CONFIG_WLAN_FEATURE_DFS_OFFLOAD := y
  67. CONFIG_DIRECT_BUF_RX_ENABLE := y
  68. CONFIG_WLAN_CFR_ENABLE := y
  69. CONFIG_WMI_DBR_SUPPORT := y
  70. CONFIG_WLAN_ENH_CFR_ENABLE := y
  71. ifeq ($(CONFIG_ARCH_SDM845), y)
  72. CONFIG_IPA3 := n
  73. endif
  74. CONFIG_SCALE_INCLUDES := y
  75. CONFIG_HASTINGS_BT_WAR := y
  76. CONFIG_WDI3_IPA_OVER_GSI :=y
  77. CONFIG_HOST_WAKEUP_OVER_QMI := y
  78. CONFIG_WLAN_FEATURE_WMI_DIAG_OVER_CE7 := y
  79. CONFIG_WLAN_DP_FEATURE_DEFERRED_REO_QDESC_DESTROY := y
  80. CONFIG_WLAN_FEATURE_LRO_CTX_IN_CB := y
  81. endif
  82. ifeq ($(CONFIG_CNSS_WCN7850), y)
  83. ifeq ($(CONFIG_CNSS_EMULATION), y)
  84. CONFIG_QCA_WIFI_EMULATION := y
  85. endif
  86. CONFIG_EMULATION_2_0 := y
  87. CONFIG_DIRECT_BUF_RX_ENABLE := y
  88. CONFIG_WMI_DBR_SUPPORT := y
  89. CONFIG_WLAN_CFR_ENABLE := n
  90. CONFIG_WLAN_ENH_CFR_ENABLE := n
  91. CONFIG_BERYLLIUM := y
  92. CONFIG_WLAN_FEATURE_11AX := y
  93. CONFIG_WLAN_FEATURE_DFS_OFFLOAD := y
  94. CONFIG_IPA3 := n
  95. CONFIG_DP_BE_WAR := y
  96. CONFIG_SCALE_INCLUDES := y
  97. CONFIG_HASTINGS_BT_WAR := y
  98. CONFIG_WDI3_IPA_OVER_GSI := y
  99. CONFIG_WLAN_FEATURE_LRO_CTX_IN_CB := y
  100. CONFIG_PCIE_GEN_SWITCH := y
  101. CONFIG_ATH_SUPPORT_SPECTRAL := n
  102. CONFIG_DP_FEATURE_HW_COOKIE_CONVERSION := y
  103. CONFIG_DP_HW_COOKIE_CONVERT_EXCEPTION := y
  104. CONFIG_WLAN_FEATURE_NEAR_FULL_IRQ := y
  105. CONFIG_WLAN_FEATURE_REDUCE_RX_THREADS := y
  106. CONFIG_WLAN_SYSFS_DP_STATS := y
  107. CONFIG_DP_USE_REDUCED_PEER_ID_FIELD_WIDTH := y
  108. endif
  109. ifeq (y,$(findstring y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM)))
  110. CONFIG_FIX_TXDMA_LIMITATION := y
  111. CONFIG_FEATURE_AST := y
  112. CONFIG_PEER_PROTECTED_ACCESS := y
  113. CONFIG_SERIALIZE_QUEUE_SETUP := y
  114. CONFIG_DP_RX_PKT_NO_PEER_DELIVER := y
  115. CONFIG_DP_RX_DROP_RAW_FRM := y
  116. CONFIG_FEATURE_ALIGN_STATS_FROM_DP := y
  117. CONFIG_DP_RX_SPECIAL_FRAME_NEED := y
  118. CONFIG_FEATURE_STATS_EXT_V2 := y
  119. CONFIG_WLAN_FEATURE_DP_RX_THREADS := y
  120. CONFIG_WLAN_FEATURE_RX_SOFTIRQ_TIME_LIMIT := y
  121. CONFIG_FEATURE_NO_DBS_INTRABAND_MCC_SUPPORT := y
  122. CONFIG_HAL_DISABLE_NON_BA_2K_JUMP_ERROR := y
  123. CONFIG_ENABLE_HAL_SOC_STATS := y
  124. CONFIG_ENABLE_HAL_REG_WR_HISTORY := y
  125. CONFIG_MON_ENABLE_DROP_FOR_MAC := y
  126. CONFIG_PCI_LINK_STATUS_SANITY := y
  127. CONFIG_DDP_MON_RSSI_IN_DBM := y
  128. CONFIG_SYSTEM_PM_CHECK := y
  129. CONFIG_DISABLE_EAPOL_INTRABSS_FWD := y
  130. endif
  131. ifeq ($(CONFIG_CLD_HL_SDIO_CORE), y)
  132. CONFIG_QCA_WIFI_SDIO := y
  133. ifndef CONFIG_SDIO_TRANSFER
  134. CONFIG_SDIO_TRANSFER = mailbox
  135. endif
  136. endif
  137. ifeq ($(CONFIG_QCA_WIFI_SDIO), y)
  138. CONFIG_ROME_IF = sdio
  139. endif
  140. ifeq ($(CONFIG_ICNSS), m)
  141. CONFIG_ICNSS_MODULE := y
  142. endif
  143. ifeq ($(CONFIG_CNSS), m)
  144. CONFIG_CNSS_MODULE := y
  145. endif
  146. ifeq ($(CONFIG_CNSS2), m)
  147. CONFIG_CNSS2_MODULE := y
  148. endif
  149. ifeq ($(CONFIG_ICNSS2), m)
  150. CONFIG_ICNSS2_MODULE := y
  151. endif
  152. ifeq ($(CONFIG_CNSS_GENL), m)
  153. CONFIG_CNSS_GENL_MODULE := y
  154. endif
  155. ifeq ($(CONFIG_CNSS_UTILS), m)
  156. CONFIG_CNSS_UTILS_MODULE := y
  157. endif
  158. ifeq ($(CONFIG_WCNSS_MEM_PRE_ALLOC), m)
  159. CONFIG_WCNSS_MEM_PRE_ALLOC_MODULE := y
  160. endif
  161. ifeq (y,$(findstring y,$(CONFIG_ICNSS) $(CONFIG_ICNSS_MODULE)))
  162. CONFIG_ROME_IF = snoc
  163. CONFIG_QCA_WIFI_SDIO := n
  164. CONFIG_PLD_SNOC_ICNSS_FLAG := y
  165. endif
  166. ifeq (y,$(findstring y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM)))
  167. ifeq ($(CONFIG_CNSS_QCA6750), y)
  168. CONFIG_ROME_IF = ipci
  169. CONFIG_PLD_IPCI_ICNSS_FLAG := y
  170. endif
  171. else ifeq (y,$(findstring y,$(CONFIG_ICNSS2) $(CONFIG_ICNSS2_MODULE)))
  172. CONFIG_ROME_IF = snoc
  173. CONFIG_QCA_WIFI_SDIO := n
  174. CONFIG_ICNSS2_HELIUM := y
  175. CONFIG_PLD_SNOC_ICNSS_FLAG := y
  176. endif
  177. ifdef CONFIG_IPCIE_FW_SIM
  178. CONFIG_ROME_IF = ipci
  179. CONFIG_PLD_IPCI_ICNSS_FLAG := n
  180. endif
  181. ifeq (y,$(findstring y,$(CONFIG_CNSS) $(CONFIG_CNSS_MODULE) $(CONFIG_CNSS2) $(CONFIG_CNSS2_MODULE)))
  182. ifndef CONFIG_ROME_IF
  183. #use pci as default interface
  184. ifndef CONFIG_IPCIE_FW_SIM
  185. CONFIG_ROME_IF = pci
  186. endif
  187. endif
  188. endif
  189. # Make WLAN as open-source driver by default
  190. WLAN_OPEN_SOURCE := y
  191. ifeq (y,$(findstring y,$(CONFIG_ICNSS) $(CONFIG_ICNSS_MODULE) $(CONFIG_ICNSS2_HELIUM)))
  192. CONFIG_HELIUMPLUS := y
  193. CONFIG_64BIT_PADDR := y
  194. CONFIG_FEATURE_TSO := y
  195. CONFIG_FEATURE_TSO_DEBUG := y
  196. ifeq ($(CONFIG_INET_LRO), y)
  197. CONFIG_WLAN_LRO := y
  198. else
  199. CONFIG_WLAN_LRO := n
  200. endif
  201. endif
  202. ifneq ($(DEVELOPER_DISABLE_BUILD_TIMESTAMP), y)
  203. ifneq ($(WLAN_DISABLE_BUILD_TAG), y)
  204. CONFIG_BUILD_TAG := y
  205. endif
  206. endif
  207. ifeq ($(CONFIG_ARCH_SDXLEMUR), y)
  208. CONFIG_MOBILE_ROUTER := y
  209. endif
  210. ifeq ($(CONFIG_ARCH_MDM9630), y)
  211. CONFIG_MOBILE_ROUTER := y
  212. endif
  213. ifeq ($(CONFIG_ARCH_MDM9640), y)
  214. CONFIG_MOBILE_ROUTER := y
  215. endif
  216. ifeq ($(CONFIG_ARCH_SDX20), y)
  217. CONFIG_MOBILE_ROUTER := y
  218. endif
  219. ifeq (y, $(filter y, $(CONFIG_ARCH_SDXPRAIRIE) $(CONFIG_ARCH_SA515) $(CONFIG_ARCH_SDXPOORWILLS)))
  220. CONFIG_MOBILE_ROUTER := y
  221. endif
  222. ifeq ($(CONFIG_ARCH_MSM8917), y)
  223. ifeq ($(CONFIG_ROME_IF), sdio)
  224. CONFIG_WLAN_SYNC_TSF_PLUS := y
  225. endif
  226. endif
  227. ifeq (y,$(findstring y,$(CONFIG_ARCH_QCS405) $(CONFIG_ARCH_QCS403)))
  228. CONFIG_ARCH_QCS40X := y
  229. endif
  230. ifeq ($(CONFIG_ARCH_QCS40X), y)
  231. CONFIG_WLAN_SYNC_TSF_PLUS := y
  232. CONFIG_WLAN_SYNC_TSF_PLUS_NOIRQ := y
  233. CONFIG_RX_PERFORMANCE := y
  234. CONFIG_TGT_NUM_MSDU_DESC := 900
  235. CONFIG_MULTI_IF_LOG := y
  236. CONFIG_DFS_PRI_MULTIPLIER := y
  237. CONFIG_DFS_OVERRIDE_RF_THRESHOLD := y
  238. CONFIG_WLAN_FEATURE_LL_MODE := y
  239. CONFIG_WLAN_CLD_PM_QOS := y
  240. endif
  241. CONFIG_WLAN_FEATURE_MBSSID := y
  242. CONFIG_WLAN_FEATURE_P2P_P2P_STA := y
  243. #Flag to enable Legacy Fast Roaming3(LFR3)
  244. ifeq (y,$(findstring y,$(CONFIG_HELIUMPLUS) $(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM)))
  245. CONFIG_QCACLD_WLAN_LFR3 := y
  246. else
  247. CONFIG_QCACLD_WLAN_LFR2 := y
  248. endif
  249. ifeq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM)))
  250. CONFIG_WIFI_MONITOR_SUPPORT := y
  251. CONFIG_QCA_MONITOR_PKT_SUPPORT := y
  252. CONFIG_MONITOR_MODULARIZED_ENABLE := n
  253. endif
  254. #SDX65 attach HSP but enable LFR2
  255. ifeq ($(CONFIG_ARCH_SDXLEMUR), y)
  256. CONFIG_QCACLD_WLAN_LFR3 := n
  257. CONFIG_QCACLD_WLAN_LFR2 := y
  258. endif
  259. ifneq ($(CONFIG_MOBILE_ROUTER), y)
  260. #Flag to enable TDLS feature
  261. CONFIG_QCOM_TDLS := y
  262. CONFIG_WLAN_SYSFS := y
  263. CONFIG_THERMAL_STATS_SUPPORT := y
  264. ifeq ($(CONFIG_WLAN_SYSFS), y)
  265. CONFIG_WLAN_SYSFS_STA_INFO := y
  266. CONFIG_WLAN_SYSFS_CHANNEL := y
  267. CONFIG_WLAN_SYSFS_FW_MODE_CFG := y
  268. CONFIG_WLAN_SYSFS_MEM_STATS := y
  269. CONFIG_WLAN_REASSOC := y
  270. CONFIG_WLAN_SYSFS_CONNECT_INFO := y
  271. CONFIG_WLAN_SCAN_DISABLE := y
  272. CONFIG_WLAN_SYSFS_DCM := y
  273. CONFIG_WLAN_WOW_ITO := y
  274. CONFIG_WLAN_WOWL_ADD_PTRN := y
  275. CONFIG_WLAN_WOWL_DEL_PTRN := y
  276. CONFIG_WLAN_SYSFS_TX_STBC := y
  277. CONFIG_WLAN_SYSFS_WLAN_DBG := y
  278. CONFIG_WLAN_TXRX_FW_ST_RST := y
  279. CONFIG_WLAN_GTX_BW_MASK := y
  280. CONFIG_WLAN_SYSFS_SCAN_CFG := y
  281. CONFIG_WLAN_SYSFS_MONITOR_MODE_CHANNEL := y
  282. CONFIG_WLAN_SYSFS_RADAR := y
  283. CONFIG_WLAN_SYSFS_RTS_CTS := y
  284. CONFIG_WLAN_SYSFS_HE_BSS_COLOR := y
  285. CONFIG_WLAN_TXRX_FW_STATS := y
  286. CONFIG_WLAN_TXRX_STATS := y
  287. CONFIG_WLAN_SYSFS_DP_TRACE := y
  288. CONFIG_WLAN_SYSFS_STATS := y
  289. ifeq ($(CONFIG_QCOM_TDLS), y)
  290. CONFIG_WLAN_SYSFS_TDLS_PEERS := y
  291. endif
  292. CONFIG_WLAN_SYSFS_TEMPERATURE := y
  293. CONFIG_WLAN_THERMAL_CFG := y
  294. CONFIG_WLAN_DL_MODES := y
  295. CONFIG_WLAN_DUMP_IN_PROGRESS := y
  296. endif
  297. CONFIG_WLAN_POWER_DEBUG := y
  298. #Enable Beacon Reception Stats
  299. CONFIG_FEATURE_BECN_STATS := y
  300. endif
  301. CONFIG_WLAN_FEATURE_MEDIUM_ASSESS := y
  302. #Disable the Export Symbol config
  303. CONFIG_WLAN_DISABLE_EXPORT_SYMBOL := y
  304. CONFIG_QCACLD_FEATURE_GREEN_AP := y
  305. #Flag to enable Android Packet Filtering
  306. CONFIG_QCACLD_FEATURE_APF := y
  307. #Flag to enable SARv1 -> SARv2 conversion
  308. CONFIG_WLAN_FEATURE_SARV1_TO_SARV2 := n
  309. #Flag to enable get firmware state
  310. CONFIG_QCACLD_FEATURE_FW_STATE := y
  311. #Flag to enable set coex configuration
  312. CONFIG_QCACLD_FEATURE_COEX_CONFIG := n
  313. #Flag to enable get hw capability
  314. ifeq ($(CONFIG_ARCH_QCS40X), y)
  315. CONFIG_QCACLD_FEATURE_HW_CAPABILITY := y
  316. endif
  317. ifeq ($(CONFIG_ARCH_MSM8998), y)
  318. CONFIG_QCACLD_FEATURE_METERING := y
  319. endif
  320. ifeq ($(CONFIG_ARCH_SDM845), y)
  321. CONFIG_QCACLD_FEATURE_METERING := y
  322. endif
  323. ifeq ($(CONFIG_ARCH_SM8150), y)
  324. CONFIG_QCACLD_FEATURE_METERING := y
  325. endif
  326. ifeq ($(CONFIG_HELIUMPLUS), y)
  327. CONFIG_QCACLD_FEATURE_METERING := y
  328. endif
  329. ifeq ($(CONFIG_ARCH_KONA), y)
  330. CONFIG_QCACLD_FEATURE_METERING := y
  331. CONFIG_WDI3_STATS_UPDATE := y
  332. ifeq ($(CONFIG_WDI3_STATS_UPDATE), y)
  333. CONFIG_WDI3_STATS_BW_MONITOR := y
  334. endif
  335. CONFIG_WLAN_SYNC_TSF_TIMER := y
  336. endif
  337. ifeq ($(CONFIG_ARCH_LAHAINA), y)
  338. CONFIG_QCACLD_FEATURE_METERING := y
  339. CONFIG_WDI3_STATS_UPDATE := y
  340. ifeq ($(CONFIG_CNSS_QCA6490), y)
  341. CONFIG_WBM_IDLE_LSB_WR_CNF_WAR := y
  342. CONFIG_WLAN_FEATURE_RX_BUFFER_POOL := y
  343. CONFIG_DP_RX_BUFFER_POOL_SIZE := 128
  344. CONFIG_DP_RX_BUFFER_POOL_ALLOC_THRES := 5
  345. ifeq ($(CONFIG_WDI3_STATS_UPDATE), y)
  346. CONFIG_WDI3_STATS_BW_MONITOR := y
  347. endif
  348. endif
  349. endif
  350. #Flag to enable Fast Transition (11r) feature
  351. CONFIG_QCOM_VOWIFI_11R := y
  352. #Flag to enable disable ACTION OUI feature
  353. CONFIG_WLAN_FEATURE_ACTION_OUI := y
  354. #Flag to enable Adaptive 11r feature
  355. CONFIG_ADAPTIVE_11R := y
  356. #Flag to enable sae single pmk feature
  357. CONFIG_SAE_SINGLE_PMK := y
  358. #Flag to enable mscs feature
  359. CONFIG_FEATURE_MSCS := y
  360. #Flag to enable FILS Feature (11ai)
  361. CONFIG_WLAN_FEATURE_FILS := y
  362. ifneq ($(CONFIG_QCA_CLD_WLAN),)
  363. ifeq (y,$(findstring y,$(CONFIG_CNSS) $(CONFIG_CNSS_MODULE) $(CONFIG_CNSS2) \
  364. $(CONFIG_CNSS2_MODULE) $(CONFIG_ICNSS) $(CONFIG_ICNSS_MODULE) \
  365. $(CONFIG_ICNSS2) $(CONFIG_ICNSS2_MODULE)))
  366. #Flag to enable Protected Management Frames (11w) feature
  367. CONFIG_WLAN_FEATURE_11W := y
  368. #Flag to enable LTE CoEx feature
  369. CONFIG_QCOM_LTE_COEX := y
  370. ifneq ($(CONFIG_MOBILE_ROUTER), y)
  371. CONFIG_WLAN_FEATURE_LPSS := y
  372. endif
  373. ifeq ($(CONFIG_ARCH_SDXLEMUR), y)
  374. CONFIG_WLAN_FEATURE_LPSS := y
  375. endif
  376. endif
  377. endif
  378. #Flag to enable the tx desc sanity check
  379. ifeq ($(CONFIG_ROME_IF),usb)
  380. CONFIG_QCA_TXDESC_SANITY_CHECKS := y
  381. endif
  382. ifneq ($(CONFIG_MOBILE_ROUTER), y)
  383. #Flag to enable NAN
  384. CONFIG_QCACLD_FEATURE_NAN := y
  385. endif
  386. #Flag to enable Linux QCMBR feature as default feature
  387. ifeq ($(CONFIG_ROME_IF),usb)
  388. CONFIG_LINUX_QCMBR :=y
  389. endif
  390. CONFIG_FEATURE_EPPING := y
  391. #Flag to enable offload packets feature
  392. CONFIG_WLAN_OFFLOAD_PACKETS := y
  393. #enable TSF get feature
  394. CONFIG_WLAN_SYNC_TSF := y
  395. #Enable DSRC feature
  396. ifeq ($(CONFIG_QCA_WIFI_SDIO), y)
  397. CONFIG_WLAN_FEATURE_DSRC := y
  398. endif
  399. ifneq ($(CONFIG_ROME_IF),usb)
  400. #Flag to enable SAE
  401. CONFIG_WLAN_FEATURE_SAE := y
  402. ifneq ($(CONFIG_ROME_IF),sdio)
  403. #Flag to enable DISA
  404. CONFIG_WLAN_FEATURE_DISA := y
  405. #Flag to enable FIPS
  406. CONFIG_WLAN_FEATURE_FIPS := y
  407. #Flag to enable Fast Path feature
  408. ifneq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM)))
  409. CONFIG_WLAN_FASTPATH := y
  410. endif
  411. # Flag to enable NAPI
  412. CONFIG_WLAN_NAPI := y
  413. CONFIG_WLAN_NAPI_DEBUG := n
  414. # Flag to enable FW based TX Flow control
  415. ifeq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM)))
  416. CONFIG_WLAN_TX_FLOW_CONTROL_V2 := y
  417. else
  418. CONFIG_WLAN_TX_FLOW_CONTROL_V2 := n
  419. endif
  420. endif
  421. endif
  422. CONFIG_POWER_MANAGEMENT_OFFLOAD := y
  423. ifeq ($(CONFIG_ROME_IF), snoc)
  424. CONFIG_WLAN_TX_FLOW_CONTROL_V2 := y
  425. endif
  426. ifeq ($(CONFIG_ARCH_QCS40X), y)
  427. CONFIG_WLAN_TX_FLOW_CONTROL_V2 := n
  428. # Flag to improve TCP TX throughput for both
  429. # CONFIG_WLAN_TX_FLOW_CONTROL_LEGACY and CONFIG_WLAN_TX_FLOW_CONTROL_V2
  430. # disabled platform, avoid frame drop in driver
  431. CONFIG_WLAN_PDEV_TX_FLOW_CONTROL := y
  432. endif
  433. # Flag to enable LFR Subnet Detection
  434. CONFIG_LFR_SUBNET_DETECTION := y
  435. # Flag to enable MCC to SCC switch feature
  436. CONFIG_MCC_TO_SCC_SWITCH := y
  437. ifeq ($(CONFIG_SLUB_DEBUG), y)
  438. # Enable Obj Mgr Degug services if slub build
  439. CONFIG_WLAN_OBJMGR_DEBUG:= y
  440. CONFIG_MPC_UT_FRAMEWORK := y
  441. CONFIG_LOCK_STATS_ON:= y
  442. CONFIG_WLAN_OBJMGR_REF_ID_TRACE := y
  443. endif
  444. ifeq ($(CONFIG_WLAN_SYSFS), y)
  445. ifeq ($(CONFIG_MPC_UT_FRAMEWORK), y)
  446. CONFIG_WLAN_SYSFS_RANGE_EXT := y
  447. endif
  448. endif
  449. ifeq (y,$(findstring y,$(CONFIG_QCA_WIFI_SDIO) $(CONFIG_HIF_USB)))
  450. CONFIG_HL_DP_SUPPORT := y
  451. else
  452. CONFIG_LL_DP_SUPPORT := y
  453. endif
  454. ifeq ($(CONFIG_ROME_IF),pci)
  455. ifneq ($(CONFIG_WLAN_TX_FLOW_CONTROL_V2), y)
  456. ifneq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM)))
  457. CONFIG_WLAN_TX_FLOW_CONTROL_LEGACY := y
  458. endif
  459. endif
  460. endif
  461. #CE4 completion on HTT HTC packet instead of misc list free
  462. ifeq ($(CONFIG_CNSS_QCA6490), y)
  463. ENABLE_CE4_COMP_DISABLE_HTT_HTC_MISC_LIST = y
  464. endif
  465. #Whether have QMI support
  466. CONFIG_QMI_SUPPORT := y
  467. ifeq (y,$(findstring y,$(CONFIG_ICNSS) $(CONFIG_ICNSS_MODULE) $(CONFIG_ICNSS2_HELIUM)))
  468. CONFIG_WIFI_3_0_ADRASTEA := y
  469. CONFIG_ADRASTEA_RRI_ON_DDR := y
  470. # Enable athdiag procfs debug support for adrastea
  471. CONFIG_ATH_PROCFS_DIAG_SUPPORT := y
  472. # Enable 11AC TX compact feature for adrastea
  473. CONFIG_ATH_11AC_TXCOMPACT := y
  474. ifeq ($(CONFIG_QMI_SUPPORT), y)
  475. CONFIG_ADRASTEA_SHADOW_REGISTERS := y
  476. endif
  477. endif
  478. # Enable fw stats version 2
  479. ifeq (y,$(findstring y,$(CONFIG_HELIUMPLUS) $(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM)))
  480. CONFIG_AR900B := y
  481. endif
  482. # NOTE: CONFIG_64BIT_PADDR requires CONFIG_HELIUMPLUS
  483. ifeq ($(CONFIG_HELIUMPLUS), y)
  484. ifeq ($(CONFIG_64BIT_PADDR), y)
  485. CONFIG_HTT_PADDR64 := y
  486. endif
  487. ifeq ($(CONFIG_SLUB_DEBUG_ON), y)
  488. CONFIG_OL_RX_INDICATION_RECORD := y
  489. CONFIG_TSOSEG_DEBUG := y
  490. CONFIG_HIF_LARGE_CE_RING_HISTORY := 8192
  491. endif
  492. ifeq ($(CONFIG_CNSS2_DEBUG), y)
  493. CONFIG_OL_RX_INDICATION_RECORD := y
  494. CONFIG_TSOSEG_DEBUG := y
  495. CONFIG_HIF_LARGE_CE_RING_HISTORY := 8192
  496. endif
  497. endif #CONFIG_HELIUMPLUS
  498. ifeq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM)))
  499. CONFIG_RX_DEFRAG_DO_NOT_REINJECT := y
  500. CONFIG_MARK_ICMP_REQ_TO_FW := y
  501. CONFIG_IPA_SET_RESET_TX_DB_PA := y
  502. #
  503. # Enable VERBOSE debug INI mechanism
  504. #
  505. CONFIG_VERBOSE_DEBUG := y
  506. CONFIG_RX_DESC_SANITY_WAR := y
  507. ifeq ($(CONFIG_PCI_MSM), y)
  508. CONFIG_FEATURE_HAL_DELAYED_REG_WRITE := y
  509. ifeq ($(CONFIG_CNSS_QCA6390), y)
  510. CONFIG_SHADOW_WRITE_DELAY := y
  511. endif
  512. endif
  513. #
  514. # Enable Shadow V2 for all lithium platform
  515. #
  516. CONFIG_SHADOW_V2 := y
  517. ifeq ($(CONFIG_CNSS_QCA6290), y)
  518. CONFIG_QCA6290_HEADERS_DEF := y
  519. CONFIG_QCA_WIFI_QCA6290 := y
  520. endif
  521. ifeq ($(CONFIG_CNSS_QCA6390), y)
  522. CONFIG_QCA6390_HEADERS_DEF := y
  523. CONFIG_QCA_WIFI_QCA6390 := y
  524. endif
  525. ifeq ($(CONFIG_CNSS_QCA6490), y)
  526. CONFIG_QCA6490_HEADERS_DEF := y
  527. CONFIG_QCA_WIFI_QCA6490 := y
  528. CONFIG_FEATURE_HAL_DELAYED_REG_WRITE := y
  529. endif
  530. ifeq ($(CONFIG_CNSS_QCA6750), y)
  531. CONFIG_QCA6750_HEADERS_DEF := y
  532. CONFIG_QCA_WIFI_QCA6750 := y
  533. CONFIG_FEATURE_HAL_DELAYED_REG_WRITE := y
  534. CONFIG_IPA_SET_RESET_TX_DB_PA := y
  535. ifeq ($(CONFIG_WDI3_STATS_UPDATE), y)
  536. CONFIG_WDI3_STATS_BW_MONITOR := y
  537. endif
  538. endif
  539. ifeq ($(CONFIG_CNSS_QCA6750), y)
  540. CONFIG_BUS_AUTO_SUSPEND := y
  541. endif
  542. ifeq ($(CONFIG_CNSS_WCN7850), y)
  543. CONFIG_WCN7850_HEADERS_DEF := y
  544. CONFIG_QCA_WIFI_WCN7850 := y
  545. endif
  546. CONFIG_QCA_WIFI_QCA8074 := y
  547. CONFIG_QCA_WIFI_QCA8074_VP := y
  548. CONFIG_DP_INTR_POLL_BASED := y
  549. CONFIG_TX_PER_PDEV_DESC_POOL := y
  550. CONFIG_DP_TRACE := y
  551. CONFIG_FEATURE_TSO := y
  552. CONFIG_FEATURE_FORCE_WAKE := y
  553. CONFIG_DP_LFR := y
  554. CONFIG_DUP_RX_DESC_WAR := y
  555. CONFIG_HTT_PADDR64 := y
  556. CONFIG_RX_OL := y
  557. CONFIG_TX_TID_OVERRIDE := y
  558. CONFIG_DP_TXRX_SOC_ATTACH := y
  559. CONFIG_WLAN_CLD_PM_QOS := y
  560. CONFIG_WLAN_CLD_DEV_PM_QOS := y
  561. CONFIG_DISABLE_DP_STATS := n
  562. CONFIG_MAX_ALLOC_PAGE_SIZE := y
  563. CONFIG_REO_DESC_DEFER_FREE := y
  564. CONFIG_RXDMA_ERR_PKT_DROP := y
  565. CONFIG_DELIVERY_TO_STACK_STATUS_CHECK := y
  566. CONFIG_WLAN_TRACE_HIDE_MAC_ADDRESS := n
  567. CONFIG_DP_MEM_PRE_ALLOC := y
  568. CONFIG_FEATURE_GPIO_CFG := y
  569. ifeq ($(CONFIG_FEATURE_TSO), y)
  570. CONFIG_FEATURE_TSO_STATS := y
  571. CONFIG_TSO_DEBUG_LOG_ENABLE := y
  572. endif
  573. ifeq ($(CONFIG_DISABLE_DP_STATS), y)
  574. CONFIG_FEATURE_TSO_STATS := n
  575. endif
  576. endif
  577. # As per target team, build is done as follows:
  578. # Defconfig : build with default flags
  579. # Slub : defconfig + CONFIG_SLUB_DEBUG=y +
  580. # CONFIG_SLUB_DEBUG_ON=y + CONFIG_PAGE_POISONING=y
  581. # Perf : Using appropriate msmXXXX-perf_defconfig
  582. #
  583. # Shipment builds (user variants) should not have any debug feature
  584. # enabled. This is identified using 'TARGET_BUILD_VARIANT'. Slub builds
  585. # are identified using the CONFIG_SLUB_DEBUG_ON configuration. Since
  586. # there is no other way to identify defconfig builds, QCOMs internal
  587. # representation of perf builds (identified using the string 'perf'),
  588. # is used to identify if the build is a slub or defconfig one. This
  589. # way no critical debug feature will be enabled for perf and shipment
  590. # builds. Other OEMs are also protected using the TARGET_BUILD_VARIANT
  591. # config.
  592. ifneq ($(TARGET_BUILD_VARIANT),user)
  593. CONFIG_FEATURE_PKTLOG := y
  594. CONFIG_WLAN_DEBUG_CRASH_INJECT := y
  595. endif
  596. #Disable pktlog feature for lithium based target
  597. ifeq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM)))
  598. CONFIG_FEATURE_PKTLOG := n
  599. endif
  600. #Enable WLAN/Power debugfs feature only if debug_fs is enabled
  601. ifeq ($(CONFIG_DEBUG_FS), y)
  602. # Flag to enable debugfs. Depends on CONFIG_DEBUG_FS in kernel
  603. # configuration.
  604. CONFIG_WLAN_DEBUGFS := y
  605. # Flag to enable streamfs. Depends on CONFIG_DEBUG_FS and
  606. # CONFIG_RELAY in kernel configuration.
  607. ifeq ($(CONFIG_RELAY), y)
  608. CONFIG_WLAN_STREAMFS := y
  609. endif
  610. endif
  611. ifeq ($(CONFIG_WLAN_DEBUGFS), y)
  612. CONFIG_WLAN_MWS_INFO_DEBUGFS := y
  613. CONFIG_WLAN_FEATURE_MIB_STATS := y
  614. endif
  615. # Feature flags which are not (currently) configurable via Kconfig
  616. #Whether to build debug version
  617. BUILD_DEBUG_VERSION := y
  618. #Enable this flag to build driver in diag version
  619. BUILD_DIAG_VERSION := y
  620. ifeq ($(CONFIG_SLUB_DEBUG), y)
  621. PANIC_ON_BUG := y
  622. WLAN_WARN_ON_ASSERT := y
  623. else ifeq ($(CONFIG_PERF_DEBUG), y)
  624. PANIC_ON_BUG := y
  625. WLAN_WARN_ON_ASSERT := y
  626. else
  627. PANIC_ON_BUG := n
  628. WLAN_WARN_ON_ASSERT := n
  629. endif
  630. # Compile all log levels by default
  631. CONFIG_WLAN_LOG_FATAL := y
  632. CONFIG_WLAN_LOG_ERROR := y
  633. CONFIG_WLAN_LOG_WARN := y
  634. CONFIG_WLAN_LOG_INFO := y
  635. CONFIG_WLAN_LOG_DEBUG := y
  636. CONFIG_WLAN_LOG_ENTER := y
  637. CONFIG_WLAN_LOG_EXIT := y
  638. #Enable OL debug and wmi unified functions
  639. CONFIG_ATH_PERF_PWR_OFFLOAD := y
  640. #Disable packet log
  641. CONFIG_REMOVE_PKT_LOG := n
  642. #Enable 11AC TX
  643. ifeq ($(CONFIG_ROME_IF),pci)
  644. CONFIG_ATH_11AC_TXCOMPACT := y
  645. endif
  646. ifeq ($(CONFIG_ROME_IF),ipci)
  647. CONFIG_ATH_11AC_TXCOMPACT := y
  648. endif
  649. ifeq ($(CONFIG_ROME_IF),usb)
  650. CONFIG_ATH_11AC_TXCOMPACT := n
  651. endif
  652. #Enable PCI specific APIS (dma, etc)
  653. ifeq ($(CONFIG_ROME_IF),pci)
  654. CONFIG_HIF_PCI := y
  655. endif
  656. ifeq ($(CONFIG_ROME_IF),ipci)
  657. CONFIG_HIF_IPCI := y
  658. endif
  659. #Enable USB specific APIS
  660. ifeq ($(CONFIG_ROME_IF),usb)
  661. CONFIG_HIF_USB := y
  662. endif
  663. #Enable SDIO specific APIS
  664. ifeq ($(CONFIG_ROME_IF),sdio)
  665. CONFIG_HIF_SDIO := y
  666. CONFIG_TX_DESC_HI_PRIO_RESERVE := y
  667. CONFIG_FEATURE_HL_GROUP_CREDIT_FLOW_CONTROL := y
  668. CONFIG_TGT_NUM_MSDU_DESC := 0
  669. endif
  670. ifeq ($(CONFIG_ROME_IF),snoc)
  671. CONFIG_HIF_SNOC:= y
  672. endif
  673. # enable/disable feature flags based upon mobile router profile
  674. ifeq ($(CONFIG_MOBILE_ROUTER), y)
  675. CONFIG_FEATURE_WLAN_MCC_TO_SCC_SWITCH := y
  676. CONFIG_FEATURE_WLAN_AUTO_SHUTDOWN := y
  677. CONFIG_FEATURE_WLAN_AP_AP_ACS_OPTIMIZE := y
  678. CONFIG_FEATURE_WLAN_STA_4ADDR_SCHEME := y
  679. CONFIG_MDM_PLATFORM := y
  680. CONFIG_FEATURE_HAL_DELAYED_REG_WRITE := n
  681. ifneq ($(CONFIG_ARCH_SDXPRAIRIE), y)
  682. ifneq ($(CONFIG_ARCH_SA515), y)
  683. ifneq ($(CONFIG_ARCH_SDXLEMUR), y)
  684. CONFIG_FEATURE_WLAN_STA_AP_MODE_DFS_DISABLE := y
  685. endif
  686. endif
  687. endif
  688. CONFIG_FEATURE_AP_MCC_CH_AVOIDANCE := y
  689. CONFIG_FEATURE_STA_MODE_VOTE_LINK := y
  690. else
  691. CONFIG_QCOM_ESE := y
  692. CONFIG_WLAN_OPEN_P2P_INTERFACE := y
  693. CONFIG_WLAN_ENABLE_SOCIAL_CHANNELS_5G_ONLY := y
  694. endif
  695. #enable 4addr support for QCS40X
  696. ifeq ($(CONFIG_ARCH_QCS40X), y)
  697. CONFIG_FEATURE_WLAN_STA_4ADDR_SCHEME := y
  698. endif
  699. #Enable power management suspend/resume functionality to PCI
  700. CONFIG_ATH_BUS_PM := y
  701. #Enable FLOWMAC module support
  702. CONFIG_ATH_SUPPORT_FLOWMAC_MODULE := n
  703. #Enable spectral support
  704. CONFIG_ATH_SUPPORT_SPECTRAL := n
  705. #Define the legacy pktlog
  706. ifeq ($(CONFIG_REMOVE_PKT_LOG), n)
  707. ifeq ($(CONFIG_HELIUMPLUS), y)
  708. CONFIG_PKTLOG_LEGACY := y
  709. endif
  710. #Customize DSCP_to-UP map based on RFC8325
  711. ifeq ($(CONFIG_HELIUMPLUS), y)
  712. CONFIG_WLAN_CUSTOM_DSCP_UP_MAP := y
  713. CONFIG_WLAN_SEND_DSCP_UP_MAP_TO_FW := y
  714. endif
  715. ifeq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM)))
  716. CONFIG_WLAN_CUSTOM_DSCP_UP_MAP := y
  717. endif
  718. ifeq ($(CONFIG_ARCH_BENGAL), y)
  719. CONFIG_SMMU_S1_UNMAP := y
  720. endif
  721. ifeq ($(CONFIG_ICNSS2_HELIUM), y)
  722. CONFIG_SMMU_S1_UNMAP := y
  723. endif
  724. ifeq ($(CONFIG_ROME_IF), sdio)
  725. CONFIG_PKTLOG_LEGACY := y
  726. endif
  727. ifeq ($(CONFIG_ROME_IF), pci)
  728. CONFIG_PKTLOG_LEGACY := y
  729. endif
  730. ifeq ($(CONFIG_ROME_IF), usb)
  731. CONFIG_PKTLOG_LEGACY := y
  732. endif
  733. ifeq ($(CONFIG_ROME_IF), snoc)
  734. CONFIG_PKTLOG_LEGACY := y
  735. endif
  736. endif
  737. ifeq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM)))
  738. CONFIG_PKTLOG_LEGACY := n
  739. endif
  740. ifeq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM)))
  741. CONFIG_WAPI_BIG_ENDIAN := y
  742. else
  743. CONFIG_WAPI_BIG_ENDIAN := n
  744. endif
  745. #Enable WDI Event support
  746. ifeq ($(CONFIG_REMOVE_PKT_LOG), y)
  747. CONFIG_WDI_EVENT_ENABLE := n
  748. else
  749. CONFIG_WDI_EVENT_ENABLE := y
  750. endif
  751. #Enable the type_specific_data in the ath_pktlog_arg
  752. ifeq ($(CONFIG_REMOVE_PKT_LOG), n)
  753. ifeq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM)))
  754. CONFIG_PKTLOG_HAS_SPECIFIC_DATA := y
  755. endif
  756. ifeq ($(CONFIG_HELIUMPLUS), y)
  757. CONFIG_PKTLOG_HAS_SPECIFIC_DATA := y
  758. endif
  759. endif
  760. #Endianness selection
  761. CONFIG_LITTLE_ENDIAN := y
  762. #Enable TX reclaim support
  763. CONFIG_TX_CREDIT_RECLAIM_SUPPORT := n
  764. #Enable FTM support
  765. CONFIG_QCA_WIFI_FTM := y
  766. ifeq ($(CONFIG_QCA_WIFI_FTM), y)
  767. ifeq ($(CONFIG_NL80211_TESTMODE), y)
  768. QCA_WIFI_FTM_NL80211 :=y
  769. else
  770. QCA_WIFI_FTM_NL80211 :=n
  771. endif
  772. CONFIG_LINUX_QCMBR :=y
  773. else
  774. QCA_WIFI_FTM_NL80211 :=n
  775. CONFIG_LINUX_QCMBR :=n
  776. endif
  777. #Enable Checksum Offload
  778. CONFIG_CHECKSUM_OFFLOAD := y
  779. #Enable GTK offload
  780. CONFIG_GTK_OFFLOAD := y
  781. #Set this to 1 to catch erroneous Target accesses during debug.
  782. CONFIG_ATH_PCIE_ACCESS_DEBUG := n
  783. #Enable IPA offload
  784. ifeq ($(CONFIG_IPA), y)
  785. CONFIG_IPA_OFFLOAD := y
  786. endif
  787. ifeq ($(CONFIG_IPA3), y)
  788. CONFIG_IPA_OFFLOAD := y
  789. endif
  790. ifeq ($(CONFIG_IPA3), m)
  791. CONFIG_IPA_OFFLOAD := y
  792. endif
  793. #Flag to enable SMMU S1 support
  794. ifeq ($(CONFIG_ARCH_SDM845), y)
  795. ifeq ($(CONFIG_IPA_OFFLOAD), y)
  796. CONFIG_ENABLE_SMMU_S1_TRANSLATION := y
  797. endif
  798. endif
  799. ifeq ($(CONFIG_ARCH_SM8150), y)
  800. ifeq ($(CONFIG_IPA_OFFLOAD), y)
  801. ifneq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM)))
  802. CONFIG_ENABLE_SMMU_S1_TRANSLATION := y
  803. endif
  804. endif
  805. endif
  806. ifeq (y, $(filter y, $(CONFIG_ARCH_SDXPRAIRIE) $(CONFIG_ARCH_SA515)))
  807. ifeq ($(CONFIG_IPA_OFFLOAD), y)
  808. CONFIG_ENABLE_SMMU_S1_TRANSLATION := y
  809. CONFIG_SMMU_S1_UNMAP := y
  810. CONFIG_IPA_WDI3_TX_TWO_PIPES := y
  811. endif
  812. endif
  813. ifeq ($(CONFIG_ARCH_KONA), y)
  814. ifeq ($(CONFIG_IPA_OFFLOAD), y)
  815. CONFIG_ENABLE_SMMU_S1_TRANSLATION := y
  816. CONFIG_SMMU_S1_UNMAP := y
  817. endif
  818. endif
  819. ifeq ($(CONFIG_ARCH_LAHAINA), y)
  820. ifeq ($(CONFIG_IPA_OFFLOAD), y)
  821. CONFIG_ENABLE_SMMU_S1_TRANSLATION := y
  822. CONFIG_SMMU_S1_UNMAP := y
  823. endif
  824. endif
  825. ifeq ($(CONFIG_ARCH_SDXLEMUR), y)
  826. ifeq ($(CONFIG_IPA_OFFLOAD), y)
  827. CONFIG_ENABLE_SMMU_S1_TRANSLATION := y
  828. CONFIG_SMMU_S1_UNMAP := y
  829. CONFIG_IPA_WDI3_TX_TWO_PIPES := y
  830. endif
  831. endif
  832. ifeq ($(CONFIG_HELIUMPLUS), y)
  833. ifneq ($(CONFIG_ARCH_SDM630), y)
  834. ifneq ($(CONFIG_ARCH_SDM660), y)
  835. ifneq ($(CONFIG_ARCH_MSM8998), y)
  836. ifeq ($(CONFIG_IPA_OFFLOAD), y)
  837. CONFIG_ENABLE_SMMU_S1_TRANSLATION := y
  838. endif
  839. endif
  840. endif
  841. endif
  842. endif
  843. ifeq ($(CONFIG_ARCH_WAIPIO), y)
  844. ifeq ($(CONFIG_IPA_OFFLOAD), y)
  845. CONFIG_ENABLE_SMMU_S1_TRANSLATION := y
  846. CONFIG_SMMU_S1_UNMAP := y
  847. endif
  848. CONFIG_WLAN_TSF_UPLINK_DELAY := y
  849. endif
  850. ifeq ($(CONFIG_ARCH_SDX20), y)
  851. ifeq ($(CONFIG_QCA_WIFI_SDIO), y)
  852. ifeq ($(CONFIG_WCNSS_SKB_PRE_ALLOC), y)
  853. CONFIG_FEATURE_SKB_PRE_ALLOC := y
  854. endif
  855. endif
  856. endif
  857. ifeq ($(CONFIG_CNSS_QCA6490), y)
  858. ifeq ($(CONFIG_IPA_OFFLOAD), y)
  859. ifneq ($(CONFIG_SLUB_DEBUG_ON), y)
  860. CONFIG_HIF_CPU_CLEAR_AFFINITY := y
  861. endif
  862. endif
  863. endif
  864. #Enable Signed firmware support for split binary format
  865. CONFIG_QCA_SIGNED_SPLIT_BINARY_SUPPORT := n
  866. #Enable single firmware binary format
  867. CONFIG_QCA_SINGLE_BINARY_SUPPORT := n
  868. #Enable collecting target RAM dump after kernel panic
  869. CONFIG_TARGET_RAMDUMP_AFTER_KERNEL_PANIC := y
  870. #Flag to enable/disable secure firmware feature
  871. CONFIG_FEATURE_SECURE_FIRMWARE := n
  872. #Flag to enable Stats Ext implementation
  873. CONFIG_FEATURE_STATS_EXT := y
  874. #Flag to allocate memory dynamically for different buffers
  875. CONFIG_WLAN_LOGGING_BUFFERS_DYNAMICALLY := n
  876. CONFIG_WLAN_DFS_STATIC_MEM_ALLOC := y
  877. #Flag to enable HTC credit history feature
  878. CONFIG_FEATURE_HTC_CREDIT_HISTORY := y
  879. #Flag to enable MTRACE feature
  880. CONFIG_TRACE_RECORD_FEATURE := y
  881. #Flag to enable p2p debug feature
  882. CONFIG_WLAN_FEATURE_P2P_DEBUG := y
  883. #Flag to enable roam debug log
  884. CONFIG_FEATURE_ROAM_DEBUG := y
  885. #Flag to enable DFS Master feature
  886. CONFIG_WLAN_DFS_MASTER_ENABLE := y
  887. #Flag to enable WEXT support for STA/AP/P2P interfaces
  888. ifeq ($(CONFIG_WIRELESS_EXT), y)
  889. CONFIG_WLAN_WEXT_SUPPORT_ENABLE := y
  890. endif
  891. #Flag to enable/disable MTRACE feature
  892. CONFIG_ENABLE_MTRACE_LOG := y
  893. #Flag to enable nud tracking feature
  894. CONFIG_WLAN_NUD_TRACKING := y
  895. #Flag to enable/Disable Function call trace
  896. CONFIG_FUNC_CALL_MAP := n
  897. #Flag to enable wbuff feature
  898. CONFIG_WLAN_WBUFF := y
  899. #Flag to enable set and get disable channel list feature
  900. CONFIG_DISABLE_CHANNEL_LIST :=y
  901. #Flag to enable beacon receive feature
  902. CONFIG_WLAN_BCN_RECV_FEATURE := y
  903. #Flag to enable LTE COEX feature
  904. CONFIG_LTE_COEX := y
  905. #Flag to enable/disable TARGET 11d scan
  906. CONFIG_TARGET_11D_SCAN := y
  907. #Flag to enable/disable Avoid acs freq feature
  908. CONFIG_SAP_AVOID_ACS_FREQ_LIST := y
  909. #Flag to enable HOST OPCLASS feature
  910. CONFIG_HOST_OPCLASS := y
  911. #Flag to enable Dynamic Voltage WDCVS (Config Voltage Mode)
  912. CONFIG_WLAN_DYNAMIC_CVM := y
  913. #Flag to enable SAR Safety Feature
  914. CONFIG_SAR_SAFETY_FEATURE := y
  915. CONFIG_CONNECTION_ROAMING_CFG := y
  916. CONFIG_WIFI_POS_CONVERGED := y
  917. ifneq ($(CONFIG_WIFI_POS_CONVERGED), y)
  918. CONFIG_WIFI_POS_LEGACY := y
  919. endif
  920. CONFIG_CP_STATS := y
  921. CONFIG_FEATURE_INTEROP_ISSUES_AP := y
  922. CONFIG_FEATURE_WLAN_WAPI := y
  923. CONFIG_AGEIE_ON_SCAN_RESULTS := y
  924. #Flag to enable FW log parsing support feature
  925. CONFIG_FEATURE_FW_LOG_PARSING := y
  926. CONFIG_PTT_SOCK_SVC_ENABLE := y
  927. CONFIG_SOFTAP_CHANNEL_RANGE := y
  928. CONFIG_FEATURE_WLAN_SCAN_PNO := y
  929. CONFIG_WLAN_FEATURE_PACKET_FILTERING := y
  930. CONFIG_WLAN_NS_OFFLOAD := y
  931. CONFIG_FEATURE_WLAN_RA_FILTERING:= y
  932. CONFIG_FEATURE_WLAN_LPHB := y
  933. CONFIG_QCA_SUPPORT_TX_THROTTLE := y
  934. CONFIG_WMI_INTERFACE_EVENT_LOGGING := y
  935. CONFIG_WLAN_FEATURE_LINK_LAYER_STATS := y
  936. CONFIG_FEATURE_CLUB_LL_STATS_AND_GET_STATION := y
  937. CONFIG_FEATURE_WLAN_EXTSCAN := n
  938. CONFIG_WMI_BCN_OFFLOAD := y
  939. CONFIG_160MHZ_SUPPORT := y
  940. CONFIG_MCL := y
  941. CONFIG_REG_CLIENT := y
  942. CONFIG_WLAN_PMO_ENABLE := y
  943. CONFIG_CONVERGED_P2P_ENABLE := y
  944. CONFIG_WLAN_POLICY_MGR_ENABLE := y
  945. CONFIG_FEATURE_BLACKLIST_MGR := y
  946. CONFIG_FOURTH_CONNECTION := y
  947. CONFIG_SUPPORT_11AX := y
  948. CONFIG_HDD_INIT_WITH_RTNL_LOCK := y
  949. CONFIG_WLAN_CONV_SPECTRAL_ENABLE := y
  950. CONFIG_WLAN_SPECTRAL_ENABLE := y
  951. CONFIG_WMI_CMD_STRINGS := y
  952. ifneq ($(CONFIG_CNSS_WCN7850), y)
  953. CONFIG_FEATURE_MONITOR_MODE_SUPPORT := y
  954. endif
  955. CONFIG_WLAN_ALLOCATE_GLOBAL_BUFFERS_DYNAMICALLY := n
  956. CONFIG_WLAN_FEATURE_TWT := y
  957. CONFIG_FW_THERMAL_THROTTLE := y
  958. CONFIG_WLAN_FEATURE_BIG_DATA_STATS := y
  959. CONFIG_WLAN_FEATURE_IGMP_OFFLOAD := y
  960. CONFIG_WLAN_FEATURE_GET_USABLE_CHAN_LIST := y
  961. CONFIG_FEATURE_RADAR_HISTORY := y
  962. ifeq (y,$(findstring y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM) $(CONFIG_ICNSS) $(CONFIG_ICNSS_MODULE) $(CONFIG_ICNSS2_HELIUM)))
  963. CONFIG_WLAN_FEATURE_BMI := n
  964. else
  965. CONFIG_WLAN_FEATURE_BMI := y
  966. endif
  967. #Flags to enable/disable vendor commands
  968. CONFIG_FEATURE_RSSI_MONITOR := y
  969. CONFIG_FEATURE_BSS_TRANSITION := y
  970. CONFIG_FEATURE_STATION_INFO := y
  971. CONFIG_FEATURE_TX_POWER := y
  972. CONFIG_FEATURE_OTA_TEST := y
  973. CONFIG_FEATURE_ACTIVE_TOS := y
  974. CONFIG_FEATURE_SAR_LIMITS := y
  975. CONFIG_FEATURE_CONCURRENCY_MATRIX := y
  976. CONFIG_FEATURE_SAP_COND_CHAN_SWITCH := y
  977. CONFIG_FEATURE_P2P_LISTEN_OFFLOAD := y
  978. CONFIG_QCACLD_FEATURE_MPTA_HELPER := n
  979. CONFIG_QCACLD_RX_DESC_MULTI_PAGE_ALLOC := y
  980. #Flags to enable/disable WMI APIs
  981. CONFIG_WMI_ROAM_SUPPORT := y
  982. CONFIG_WMI_CONCURRENCY_SUPPORT := y
  983. CONFIG_WMI_STA_SUPPORT := y
  984. CONFIG_DP_TRACE := y
  985. ifeq ($(CONFIG_HELIUMPLUS), y)
  986. ifneq ($(CONFIG_FORCE_ALLOC_FROM_DMA_ZONE), y)
  987. CONFIG_ENABLE_DEBUG_ADDRESS_MARKING := y
  988. endif
  989. CONFIG_RX_OL := y
  990. endif
  991. ifeq ($(CONFIG_CNSS_EMULATION), y)
  992. #on emulation platform, increase host timeouts by 1000 times
  993. CONFIG_QDF_TIMER_MULTIPLIER_FRAC := 1000
  994. endif
  995. ifeq ($(CONFIG_SLUB_DEBUG_ON), y)
  996. CONFIG_DSC_DEBUG := y
  997. CONFIG_DESC_TIMESTAMP_DEBUG_INFO := y
  998. CONFIG_FEATURE_UNIT_TEST_SUSPEND := y
  999. CONFIG_LEAK_DETECTION := y
  1000. ifndef CONFIG_MAX_LOGS_PER_SEC
  1001. CONFIG_MAX_LOGS_PER_SEC := 500
  1002. endif
  1003. CONFIG_SCHED_HISTORY_SIZE := 256
  1004. CONFIG_TALLOC_DEBUG := y
  1005. CONFIG_UNIT_TEST := y
  1006. CONFIG_REGISTER_OP_DEBUG := y
  1007. CONFIG_ENABLE_QDF_PTR_HASH_DEBUG := y
  1008. CONFIG_HIF_DEBUG := y
  1009. CONFIG_HAL_DEBUG := y
  1010. ifneq ($(CONFIG_ARCH_HOLI), y)
  1011. CONFIG_HIF_DETECTION_LATENCY_ENABLE := y
  1012. endif
  1013. ifneq ($(CONFIG_CNSS_EMULATION), y)
  1014. CONFIG_HIF_DETECTION_LATENCY_ENABLE := y
  1015. endif
  1016. endif
  1017. ifeq ($(CONFIG_CNSS2_DEBUG), y)
  1018. CONFIG_DSC_DEBUG := y
  1019. CONFIG_DESC_TIMESTAMP_DEBUG_INFO := y
  1020. CONFIG_FEATURE_UNIT_TEST_SUSPEND := y
  1021. CONFIG_LEAK_DETECTION := y
  1022. CONFIG_MAX_LOGS_PER_SEC := 500
  1023. CONFIG_SCHED_HISTORY_SIZE := 256
  1024. CONFIG_TALLOC_DEBUG := y
  1025. CONFIG_UNIT_TEST := y
  1026. CONFIG_REGISTER_OP_DEBUG := y
  1027. CONFIG_ENABLE_QDF_PTR_HASH_DEBUG := y
  1028. CONFIG_HIF_DEBUG := y
  1029. CONFIG_HAL_DEBUG := y
  1030. CONFIG_ATH_DIAG_EXT_DIRECT := y
  1031. endif
  1032. ifeq ($(CONFIG_UNIT_TEST), y)
  1033. CONFIG_DSC_TEST := y
  1034. CONFIG_QDF_TEST := y
  1035. CONFIG_FEATURE_WLM_STATS := y
  1036. endif
  1037. ifeq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM)))
  1038. ifeq ($(CONFIG_SLUB_DEBUG_ON), y)
  1039. CONFIG_HIF_CE_DEBUG_DATA_BUF := y
  1040. CONFIG_WLAN_RECORD_RX_PADDR := y
  1041. CONFIG_HIF_CPU_PERF_AFFINE_MASK := y
  1042. CONFIG_WLAN_FEATURE_DP_RX_RING_HISTORY := y
  1043. CONFIG_WLAN_FEATURE_DP_TX_DESC_HISTORY := y
  1044. CONFIG_ALLOW_PKT_DROPPING := y
  1045. CONFIG_REO_QDESC_HISTORY := y
  1046. CONFIG_DP_TX_HW_DESC_HISTORY := y
  1047. CONFIG_QDF_NBUF_HISTORY_SIZE := 8192
  1048. endif
  1049. ifeq ($(CONFIG_CNSS2_DEBUG), y)
  1050. CONFIG_HIF_CE_DEBUG_DATA_BUF := y
  1051. CONFIG_WLAN_RECORD_RX_PADDR := y
  1052. CONFIG_HIF_CPU_PERF_AFFINE_MASK := y
  1053. CONFIG_WLAN_FEATURE_DP_RX_RING_HISTORY := y
  1054. CONFIG_WLAN_FEATURE_DP_TX_DESC_HISTORY := y
  1055. CONFIG_REO_QDESC_HISTORY := y
  1056. CONFIG_DP_TX_HW_DESC_HISTORY := y
  1057. CONFIG_QDF_NBUF_HISTORY_SIZE := 8192
  1058. endif
  1059. CONFIG_WLAN_FEATURE_DP_EVENT_HISTORY := y
  1060. CONFIG_ALLOW_PKT_DROPPING := y
  1061. CONFIG_DYNAMIC_RX_AGGREGATION := y
  1062. CONFIG_RX_DESC_DEBUG_CHECK:= y
  1063. CONFIG_WLAN_SUPPORT_DATA_STALL := y
  1064. CONFIG_WLAN_DP_PER_RING_TYPE_CONFIG := y
  1065. CONFIG_WLAN_CE_INTERRUPT_THRESHOLD_CONFIG := y
  1066. #Enable WMI TX/RX over QMI
  1067. CONFIG_WMI_SEND_RECV_QMI := y
  1068. CONFIG_WLAN_DP_PENDING_MEM_FLUSH := y
  1069. CONFIG_WLAN_SKIP_BAR_UPDATE := y
  1070. CONFIG_TX_MULTIQ_PER_AC := y
  1071. endif
  1072. #Flag to enable hdd memory dump feature
  1073. CONFIG_FEATURE_MEMDUMP_ENABLE := y
  1074. #Flag to enable/disable WLAN D0-WOW
  1075. ifeq ($(CONFIG_PCI_MSM), y)
  1076. ifeq ($(CONFIG_HIF_PCI), y)
  1077. CONFIG_FEATURE_WLAN_D0WOW := y
  1078. endif
  1079. endif
  1080. ifeq ($(CONFIG_ARCH_MDM9607), y)
  1081. CONFIG_TUFELLO_DUAL_FW_SUPPORT := y
  1082. endif
  1083. ifeq ($(CONFIG_ARCH_MSM8996), y)
  1084. CONFIG_CHANNEL_HOPPING_ALL_BANDS := y
  1085. endif
  1086. ifeq (y, $(filter y, $(CONFIG_ARCH_SDXPRAIRIE) $(CONFIG_ARCH_SA515)))
  1087. ifneq ($(CONFIG_SLUB_DEBUG), y)
  1088. CONFIG_DP_TRACE := n
  1089. endif
  1090. CONFIG_DIRECT_BUF_RX_ENABLE := n
  1091. CONFIG_WMI_DBR_SUPPORT := n
  1092. CONFIG_MAX_CLIENTS_ALLOWED := 64
  1093. endif
  1094. ifneq ($(CONFIG_HIF_USB), y)
  1095. CONFIG_WLAN_LOGGING_SOCK_SVC := y
  1096. endif
  1097. ifneq ($(TARGET_BUILD_VARIANT),user)
  1098. CONFIG_DESC_DUP_DETECT_DEBUG := y
  1099. endif
  1100. ifeq (y,$(findstring y,$(CONFIG_CNSS) $(CONFIG_CNSS_MODULE)))
  1101. ifeq ($(CONFIG_CNSS_SDIO), y)
  1102. CONFIG_PLD_SDIO_CNSS_FLAG := y
  1103. endif
  1104. ifeq ($(CONFIG_HIF_PCI), y)
  1105. CONFIG_PLD_PCIE_CNSS_FLAG := y
  1106. CONFIG_FEATURE_BUS_BANDWIDTH_MGR := y
  1107. endif
  1108. endif
  1109. ifeq (y,$(findstring y,$(CONFIG_CNSS2) $(CONFIG_CNSS2_MODULE)))
  1110. ifeq ($(CONFIG_HIF_PCI), y)
  1111. CONFIG_FEATURE_BUS_BANDWIDTH_MGR := y
  1112. CONFIG_PLD_PCIE_CNSS_FLAG := y
  1113. CONFIG_PLD_PCIE_INIT_FLAG := y
  1114. endif
  1115. endif
  1116. #Enable STATE MACHINE HISTORY
  1117. CONFIG_SM_ENG_HIST := n
  1118. #Enable OEM DATA feature
  1119. CONFIG_FEATURE_OEM_DATA := y
  1120. #Enable FW Offload
  1121. CONFIG_WLAN_FW_OFFLOAD := y
  1122. #Enable eLNA bypass feature
  1123. ifeq ($(CONFIG_WLAN_FW_OFFLOAD), y)
  1124. CONFIG_WLAN_FEATURE_ELNA := y
  1125. endif
  1126. #Enable mDNS feature
  1127. ifeq ($(CONFIG_WLAN_FW_OFFLOAD), y)
  1128. CONFIG_WLAN_FEATURE_MDNS_OFFLOAD := y
  1129. endif
  1130. #Enable ICMP feature
  1131. ifeq ($(CONFIG_WLAN_FW_OFFLOAD), y)
  1132. CONFIG_WLAN_FEATURE_ICMP_OFFLOAD := y
  1133. endif
  1134. #Enable DP Bus Vote
  1135. CONFIG_WLAN_FEATURE_DP_BUS_BANDWIDTH := y
  1136. ifeq ($(CONFIG_CNSS_QCA6750), y)
  1137. #Enable 6 GHz Band
  1138. CONFIG_BAND_6GHZ := y
  1139. ifneq ($(CONFIG_IPCIE_FW_SIM), y)
  1140. CONFIG_RX_FISA := y
  1141. endif
  1142. CONFIG_MORE_TX_DESC := y
  1143. ifeq ($(CONFIG_SLUB_DEBUG_ON), y)
  1144. CONFIG_DP_FT_LOCK_HISTORY := y
  1145. endif
  1146. endif
  1147. ifeq ($(CONFIG_CNSS_QCA6490), y)
  1148. #Enable 6 GHz Band
  1149. CONFIG_BAND_6GHZ := y
  1150. CONFIG_RX_FISA := y
  1151. CONFIG_MORE_TX_DESC := y
  1152. endif
  1153. ifeq ($(CONFIG_CNSS_WCN7850), y)
  1154. #Enable 6 GHz Band
  1155. CONFIG_BAND_6GHZ := y
  1156. CONFIG_RX_FISA := n
  1157. CONFIG_MORE_TX_DESC := y
  1158. endif
  1159. CONFIG_HANDLE_BC_EAP_TX_FRM := y
  1160. ifeq ($(CONFIG_BAND_6GHZ), y)
  1161. CONFIG_6G_SCAN_CHAN_SORT_ALGO := y
  1162. endif
  1163. CONFIG_SAP_DHCP_FW_IND := y
  1164. #Enable support to get ANI level
  1165. CONFIG_ANI_LEVEL_REQUEST := y
  1166. ifeq ($(CONFIG_ARCH_QCS405), y)
  1167. CONFIG_FEATURE_WLAN_TIME_SYNC_FTM := y
  1168. endif
  1169. ifeq ($(CONFIG_ARCH_SDM660), y)
  1170. CONFIG_WLAN_FEATURE_PKT_CAPTURE := y
  1171. endif
  1172. ifeq ($(CONFIG_CNSS_QCA6490), y)
  1173. ifeq ($(CONFIG_ARCH_LAHAINA), y)
  1174. CONFIG_WLAN_FEATURE_PKT_CAPTURE := y
  1175. CONFIG_WLAN_FEATURE_PKT_CAPTURE_V2 := y
  1176. endif
  1177. endif
  1178. #Enable RX RING buffers debug
  1179. CONFIG_DEBUG_RX_RING_BUFFER := y
  1180. #Enable Hash debug
  1181. CONFIG_RX_HASH_DEBUG := y
  1182. #Enable VDEV OPS wakelock feature
  1183. CONFIG_FEATURE_VDEV_OPS_WAKELOCK := y
  1184. # Enable RX buffer pool support
  1185. ifeq ($(CONFIG_CNSS_QCA6750), y)
  1186. CONFIG_WLAN_FEATURE_RX_BUFFER_POOL := y
  1187. CONFIG_DP_RX_BUFFER_POOL_SIZE := 128
  1188. CONFIG_DP_RX_BUFFER_POOL_ALLOC_THRES := 5
  1189. CONFIG_DP_SWLM := y
  1190. endif
  1191. # Enable RX buffer pool support
  1192. ifeq ($(CONFIG_ARCH_SDXLEMUR), y)
  1193. CONFIG_WLAN_FEATURE_RX_BUFFER_POOL := y
  1194. CONFIG_DP_RX_BUFFER_POOL_SIZE := 128
  1195. CONFIG_DP_RX_BUFFER_POOL_ALLOC_THRES := 5
  1196. CONFIG_MAX_CLIENTS_ALLOWED := 64
  1197. ifneq ($(CONFIG_SLUB_DEBUG), y)
  1198. CONFIG_DP_TRACE := n
  1199. endif
  1200. endif
  1201. #Enable Hang Event
  1202. CONFIG_WLAN_HANG_EVENT := y
  1203. ifeq ($(CONFIG_CNSS_QCA6750), y)
  1204. ifeq ($(CONFIG_FW_THERMAL_THROTTLE), y)
  1205. CONFIG_WLAN_THERMAL_MULTI_CLIENT_SUPPORT := y
  1206. endif
  1207. ifeq ($(CONFIG_LITHIUM), y)
  1208. CONFIG_DP_LEGACY_MODE_CSM_DEFAULT_DISABLE := 1
  1209. CONFIG_DP_RX_DESC_COOKIE_INVALIDATE := y
  1210. else
  1211. CONFIG_DP_LEGACY_MODE_CSM_DEFAULT_DISABLE := 0
  1212. endif
  1213. endif
  1214. #Enable 11BE EHT
  1215. CONFIG_WLAN_FEATURE_11BE := n
  1216. #Enable 11BE MLO
  1217. CONFIG_WLAN_FEATURE_11BE_MLO := n
  1218. CONFIG_WLAN_DEBUG_LINK_VOTE := y
  1219. CONFIG_QCACLD_WLAN_CONNECTIVITY_LOGGING := y