default_defconfig 35 KB

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