default_defconfig 35 KB

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