default_defconfig 35 KB

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