default_defconfig 35 KB

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