default_defconfig 37 KB

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