qca6390_defconfig 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748
  1. CONFIG_CNSS_QCA6390 := y
  2. CONFIG_BUS_AUTO_SUSPEND := y
  3. ifeq ($(CONFIG_CNSS_QCA6390), y)
  4. ifeq ($(CONFIG_CNSS_EMULATION), y)
  5. CONFIG_QCA_WIFI_NAPIER_EMULATION := y
  6. endif
  7. CONFIG_LITHIUM := y
  8. CONFIG_WLAN_FEATURE_11AX := y
  9. CONFIG_WLAN_FEATURE_DFS_OFFLOAD := y
  10. CONFIG_IPA3 := n
  11. CONFIG_SCALE_INCLUDES := y
  12. endif
  13. ifeq ($(CONFIG_ENABLE_IPA), y)
  14. CONFIG_IPA3 := y
  15. CONFIG_WDI3_IPA_OVER_GSI := y
  16. else
  17. ifeq ($(CONFIG_ENABLE_IPA), n)
  18. CONFIG_IPA3 := n
  19. endif
  20. endif
  21. ifeq ($(CONFIG_CLD_HL_SDIO_CORE), y)
  22. CONFIG_QCA_WIFI_SDIO := y
  23. ifndef CONFIG_SDIO_TRANSFER
  24. CONFIG_SDIO_TRANSFER = mailbox
  25. endif
  26. endif
  27. ifeq ($(CONFIG_QCA_WIFI_SDIO), y)
  28. CONFIG_ROME_IF = sdio
  29. endif
  30. ifdef CONFIG_ICNSS
  31. CONFIG_ROME_IF = snoc
  32. endif
  33. ifeq (y,$(findstring y,$(CONFIG_CNSS) $(CONFIG_CNSS2)))
  34. ifndef CONFIG_ROME_IF
  35. #use pci as default interface
  36. CONFIG_ROME_IF = pci
  37. endif
  38. endif
  39. # Make WLAN as open-source driver by default
  40. WLAN_OPEN_SOURCE := y
  41. ifeq ($(CONFIG_ICNSS), y)
  42. CONFIG_HELIUMPLUS := y
  43. CONFIG_64BIT_PADDR := y
  44. CONFIG_FEATURE_TSO := y
  45. CONFIG_FEATURE_TSO_DEBUG := y
  46. ifeq ($(CONFIG_INET_LRO), y)
  47. CONFIG_WLAN_LRO := y
  48. else
  49. CONFIG_WLAN_LRO := n
  50. endif
  51. endif
  52. ifneq ($(DEVELOPER_DISABLE_BUILD_TIMESTAMP), y)
  53. ifneq ($(WLAN_DISABLE_BUILD_TAG), y)
  54. CONFIG_BUILD_TAG := y
  55. endif
  56. endif
  57. ifeq ($(CONFIG_ARCH_MDM9630), y)
  58. CONFIG_MOBILE_ROUTER := y
  59. endif
  60. ifeq ($(CONFIG_ARCH_MDM9640), y)
  61. CONFIG_MOBILE_ROUTER := y
  62. endif
  63. ifeq ($(CONFIG_ARCH_SDX20), y)
  64. CONFIG_MOBILE_ROUTER := y
  65. endif
  66. ifeq ($(CONFIG_ARCH_SDXPRAIRIE), y)
  67. CONFIG_MOBILE_ROUTER := y
  68. endif
  69. ifeq ($(CONFIG_ARCH_MSM8917), y)
  70. ifeq ($(CONFIG_ROME_IF), sdio)
  71. CONFIG_WLAN_SYNC_TSF_PLUS := y
  72. endif
  73. endif
  74. ifeq ($(CONFIG_ARCH_QCS405), y)
  75. CONFIG_WLAN_SYNC_TSF_PLUS := y
  76. CONFIG_WLAN_SYNC_TSF_PLUS_NOIRQ := y
  77. endif
  78. #Flag to enable Legacy Fast Roaming2(LFR2)
  79. CONFIG_QCACLD_WLAN_LFR2 := y
  80. #Flag to enable Legacy Fast Roaming3(LFR3)
  81. ifneq ($(CONFIG_ARCH_SDX20), y)
  82. CONFIG_QCACLD_WLAN_LFR3 := y
  83. endif
  84. ifneq ($(CONFIG_MOBILE_ROUTER), y)
  85. #Flag to enable TDLS feature
  86. CONFIG_QCOM_TDLS := y
  87. CONFIG_WLAN_SYSFS := y
  88. endif
  89. CONFIG_QCACLD_FEATURE_GREEN_AP := y
  90. CONFIG_CRYPTO_COMPONENT := y
  91. #Flag to enable Android Packet Filtering
  92. CONFIG_QCACLD_FEATURE_APF := y
  93. #Flag to enable SARv1 -> SARv2 conversion
  94. CONFIG_WLAN_FEATURE_SARV1_TO_SARV2 := n
  95. ifeq ($(CONFIG_ARCH_MSM8998), y)
  96. CONFIG_QCACLD_FEATURE_METERING := y
  97. endif
  98. ifeq ($(CONFIG_ARCH_SDM660), y)
  99. CONFIG_QCACLD_FEATURE_METERING := y
  100. endif
  101. ifeq ($(CONFIG_ARCH_SDM630), y)
  102. CONFIG_QCACLD_FEATURE_METERING := y
  103. endif
  104. ifeq ($(CONFIG_ARCH_SDM845), y)
  105. CONFIG_QCACLD_FEATURE_METERING := y
  106. endif
  107. ifeq ($(CONFIG_ARCH_SM8150), y)
  108. CONFIG_QCACLD_FEATURE_METERING := y
  109. endif
  110. ifeq ($(CONFIG_ARCH_SDM670), y)
  111. CONFIG_QCACLD_FEATURE_METERING := y
  112. endif
  113. ifeq ($(CONFIG_ARCH_SM6150), y)
  114. CONFIG_QCACLD_FEATURE_METERING := y
  115. endif
  116. #Flag to enable Fast Transition (11r) feature
  117. CONFIG_QCOM_VOWIFI_11R := y
  118. #Flag to enable disable ACTION OUI feature
  119. CONFIG_WLAN_FEATURE_ACTION_OUI := y
  120. #Flag to enable FILS Feature (11ai)
  121. CONFIG_WLAN_FEATURE_FILS := y
  122. ifneq ($(CONFIG_QCA_CLD_WLAN),)
  123. ifeq (y,$(findstring y,$(CONFIG_CNSS) $(CONFIG_CNSS2) $(CONFIG_ICNSS)))
  124. #Flag to enable Protected Management Frames (11w) feature
  125. CONFIG_WLAN_FEATURE_11W := y
  126. #Flag to enable LTE CoEx feature
  127. CONFIG_QCOM_LTE_COEX := y
  128. ifneq ($(CONFIG_MOBILE_ROUTER), y)
  129. #Flag to enable LPSS feature
  130. CONFIG_WLAN_FEATURE_LPSS := y
  131. endif
  132. endif
  133. endif
  134. #Flag to enable Protected Management Frames (11w) feature
  135. ifeq ($(CONFIG_ROME_IF),usb)
  136. CONFIG_WLAN_FEATURE_11W := y
  137. endif
  138. ifeq ($(CONFIG_ROME_IF),sdio)
  139. CONFIG_WLAN_FEATURE_11W := y
  140. endif
  141. #Flag to enable the tx desc sanity check
  142. ifeq ($(CONFIG_ROME_IF),usb)
  143. CONFIG_QCA_TXDESC_SANITY_CHECKS := y
  144. endif
  145. ifneq ($(CONFIG_MOBILE_ROUTER), y)
  146. #Flag to enable NAN
  147. CONFIG_QCACLD_FEATURE_NAN := y
  148. endif
  149. ifneq ($(CONFIG_MOBILE_ROUTER), y)
  150. #Flag to enable NAN Data path
  151. CONFIG_WLAN_FEATURE_NAN_DATAPATH := y
  152. CONFIG_NAN_CONVERGENCE := y
  153. endif
  154. #Flag to enable Linux QCMBR feature as default feature
  155. ifeq ($(CONFIG_ROME_IF),usb)
  156. CONFIG_LINUX_QCMBR :=y
  157. endif
  158. CONFIG_FEATURE_EPPING := y
  159. #Flag to enable offload packets feature
  160. CONFIG_WLAN_OFFLOAD_PACKETS := y
  161. #enable TSF get feature
  162. CONFIG_WLAN_SYNC_TSF := y
  163. #Enable DSRC feature
  164. ifeq ($(CONFIG_QCA_WIFI_SDIO), y)
  165. CONFIG_WLAN_FEATURE_DSRC := y
  166. endif
  167. ifneq ($(CONFIG_ROME_IF),usb)
  168. ifneq ($(CONFIG_ROME_IF),sdio)
  169. #Flag to enable DISA
  170. CONFIG_WLAN_FEATURE_DISA := y
  171. #Flag to enable FIPS
  172. CONFIG_WLAN_FEATURE_FIPS := y
  173. #Flag to enable SAE
  174. CONFIG_WLAN_FEATURE_SAE := y
  175. #Flag to enable Fast Path feature
  176. ifneq ($(CONFIG_LITHIUM), y)
  177. CONFIG_WLAN_FASTPATH := y
  178. endif
  179. # Flag to enable NAPI
  180. CONFIG_WLAN_NAPI := y
  181. CONFIG_WLAN_NAPI_DEBUG := n
  182. # Flag to enable FW based TX Flow control
  183. ifeq ($(CONFIG_LITHIUM), y)
  184. CONFIG_WLAN_TX_FLOW_CONTROL_V2 := y
  185. else
  186. CONFIG_WLAN_TX_FLOW_CONTROL_V2 := n
  187. endif
  188. endif
  189. endif
  190. CONFIG_POWER_MANAGEMENT_OFFLOAD := y
  191. ifeq ($(CONFIG_ROME_IF), snoc)
  192. CONFIG_WLAN_TX_FLOW_CONTROL_V2 := y
  193. endif
  194. # Flag to enable LFR Subnet Detection
  195. CONFIG_LFR_SUBNET_DETECTION := y
  196. # Flag to enable MCC to SCC switch feature
  197. CONFIG_MCC_TO_SCC_SWITCH := y
  198. ifeq ($(CONFIG_SLUB_DEBUG), y)
  199. # Enable Obj Mgr Degug services if slub build
  200. CONFIG_WLAN_OBJMGR_DEBUG:= y
  201. CONFIG_MPC_UT_FRAMEWORK := y
  202. CONFIG_LOCK_STATS_ON:= y
  203. endif
  204. ifeq (y,$(findstring y,$(CONFIG_QCA_WIFI_SDIO) $(CONFIG_HIF_USB)))
  205. CONFIG_HL_DP_SUPPORT := y
  206. else
  207. CONFIG_LL_DP_SUPPORT := y
  208. endif
  209. ifeq ($(CONFIG_HIF_PCI), y)
  210. ifneq ($(CONFIG_WLAN_TX_FLOW_CONTROL_V2), y)
  211. ifneq ($(CONFIG_LITHIUM), y)
  212. CONFIG_WLAN_TX_FLOW_CONTROL_LEGACY := y
  213. endif
  214. endif
  215. endif
  216. #Whether have QMI support
  217. CONFIG_QMI_SUPPORT := y
  218. ifeq ($(CONFIG_ICNSS), y)
  219. CONFIG_WIFI_3_0_ADRASTEA := y
  220. CONFIG_ADRASTEA_RRI_ON_DDR := y
  221. # Enable athdiag procfs debug support for adrastea
  222. CONFIG_ATH_PROCFS_DIAG_SUPPORT := y
  223. # Enable 11AC TX compact feature for adrastea
  224. CONFIG_ATH_11AC_TXCOMPACT := y
  225. ifeq ($(CONFIG_QMI_SUPPORT), y)
  226. CONFIG_ADRASTEA_SHADOW_REGISTERS := y
  227. endif
  228. endif
  229. # NOTE: CONFIG_64BIT_PADDR requires CONFIG_HELIUMPLUS
  230. ifeq ($(CONFIG_HELIUMPLUS), y)
  231. CONFIG_AR900B := y
  232. ifeq ($(CONFIG_64BIT_PADDR), y)
  233. CONFIG_HTT_PADDR64 := y
  234. endif
  235. ifeq ($(CONFIG_SLUB_DEBUG_ON), y)
  236. CONFIG_OL_RX_INDICATION_RECORD := y
  237. CONFIG_TSOSEG_DEBUG := y
  238. endif
  239. endif #CONFIG_HELIUMPLUS
  240. ifeq ($(CONFIG_LITHIUM), y)
  241. #
  242. # Enable Shadow V2 for all lithium platform
  243. #
  244. CONFIG_SHADOW_V2 := y
  245. ifeq ($(CONFIG_CNSS_QCA6390), y)
  246. CONFIG_QCA6390_HEADERS_DEF := y
  247. CONFIG_QCA_WIFI_QCA6390 := y
  248. endif
  249. CONFIG_QCA_WIFI_QCA8074 := y
  250. CONFIG_QCA_WIFI_QCA8074_VP := y
  251. CONFIG_DP_INTR_POLL_BASED := y
  252. CONFIG_TX_PER_PDEV_DESC_POOL := y
  253. CONFIG_DP_TRACE := y
  254. CONFIG_FEATURE_TSO := y
  255. CONFIG_TSO_DEBUG_LOG_ENABLE := y
  256. CONFIG_DP_LFR := y
  257. CONFIG_HTT_PADDR64 := y
  258. CONFIG_RX_OL := y
  259. CONFIG_TX_TID_OVERRIDE := y
  260. endif
  261. # As per target team, build is done as follows:
  262. # Defconfig : build with default flags
  263. # Slub : defconfig + CONFIG_SLUB_DEBUG=y +
  264. # CONFIG_SLUB_DEBUG_ON=y + CONFIG_PAGE_POISONING=y
  265. # Perf : Using appropriate msmXXXX-perf_defconfig
  266. #
  267. # Shipment builds (user variants) should not have any debug feature
  268. # enabled. This is identified using 'TARGET_BUILD_VARIANT'. Slub builds
  269. # are identified using the CONFIG_SLUB_DEBUG_ON configuration. Since
  270. # there is no other way to identify defconfig builds, QCOMs internal
  271. # representation of perf builds (identified using the string 'perf'),
  272. # is used to identify if the build is a slub or defconfig one. This
  273. # way no critical debug feature will be enabled for perf and shipment
  274. # builds. Other OEMs are also protected using the TARGET_BUILD_VARIANT
  275. # config.
  276. ifneq ($(TARGET_BUILD_VARIANT),user)
  277. ifeq ($(CONFIG_LITHIUM), y)
  278. CONFIG_FEATURE_PKTLOG := n
  279. else
  280. CONFIG_FEATURE_PKTLOG := y
  281. endif
  282. CONFIG_WLAN_DEBUG_CRASH_INJECT := y
  283. endif
  284. #Enable WLAN/Power debugfs feature only if debug_fs is enabled
  285. ifeq ($(CONFIG_DEBUG_FS), y)
  286. # Flag to enable debugfs. Depends on CONFIG_DEBUG_FS in kernel
  287. # configuration.
  288. CONFIG_WLAN_DEBUGFS := y
  289. CONFIG_WLAN_POWER_DEBUGFS := y
  290. endif
  291. # Feature flags which are not (currently) configurable via Kconfig
  292. #Whether to build debug version
  293. BUILD_DEBUG_VERSION := y
  294. #Enable this flag to build driver in diag version
  295. BUILD_DIAG_VERSION := y
  296. ifeq ($(CONFIG_SLUB_DEBUG), y)
  297. PANIC_ON_BUG := y
  298. WLAN_WARN_ON_ASSERT := y
  299. else ifeq ($(CONFIG_PERF_DEBUG), y)
  300. PANIC_ON_BUG := y
  301. WLAN_WARN_ON_ASSERT := y
  302. else
  303. PANIC_ON_BUG := n
  304. WLAN_WARN_ON_ASSERT := n
  305. endif
  306. # Compile all log levels by default
  307. CONFIG_WLAN_LOG_FATAL := y
  308. CONFIG_WLAN_LOG_ERROR := y
  309. CONFIG_WLAN_LOG_WARN := y
  310. CONFIG_WLAN_LOG_INFO := y
  311. CONFIG_WLAN_LOG_DEBUG := y
  312. CONFIG_WLAN_LOG_ENTER := y
  313. CONFIG_WLAN_LOG_EXIT := y
  314. #Enable OL debug and wmi unified functions
  315. CONFIG_ATH_PERF_PWR_OFFLOAD := y
  316. #Disable packet log
  317. CONFIG_REMOVE_PKT_LOG := n
  318. #Enable 11AC TX
  319. ifeq ($(CONFIG_ROME_IF),pci)
  320. CONFIG_ATH_11AC_TXCOMPACT := y
  321. endif
  322. ifeq ($(CONFIG_ROME_IF),usb)
  323. CONFIG_ATH_11AC_TXCOMPACT := n
  324. endif
  325. #Enable PCI specific APIS (dma, etc)
  326. ifeq ($(CONFIG_ROME_IF),pci)
  327. CONFIG_HIF_PCI := y
  328. endif
  329. #Enable USB specific APIS
  330. ifeq ($(CONFIG_ROME_IF),usb)
  331. CONFIG_HIF_USB := y
  332. endif
  333. #Enable SDIO specific APIS
  334. ifeq ($(CONFIG_ROME_IF),sdio)
  335. CONFIG_HIF_SDIO := y
  336. CONFIG_TX_DESC_HI_PRIO_RESERVE := y
  337. CONFIG_PER_VDEV_TX_DESC_POOL := y
  338. CONFIG_FEATURE_HL_GROUP_CREDIT_FLOW_CONTROL := y
  339. endif
  340. ifeq ($(CONFIG_ROME_IF),snoc)
  341. CONFIG_HIF_SNOC:= y
  342. endif
  343. # enable/disable feature flags based upon mobile router profile
  344. ifeq ($(CONFIG_MOBILE_ROUTER), y)
  345. CONFIG_FEATURE_WLAN_MCC_TO_SCC_SWITCH := y
  346. CONFIG_FEATURE_WLAN_AUTO_SHUTDOWN := y
  347. CONFIG_FEATURE_WLAN_AP_AP_ACS_OPTIMIZE := y
  348. CONFIG_FEATURE_WLAN_STA_4ADDR_SCHEME := y
  349. CONFIG_MDM_PLATFORM := y
  350. CONFIG_FEATURE_WLAN_STA_AP_MODE_DFS_DISABLE := y
  351. CONFIG_FEATURE_AP_MCC_CH_AVOIDANCE := y
  352. else
  353. CONFIG_QCOM_ESE := y
  354. CONFIG_QCA_IBSS_SUPPORT := y
  355. CONFIG_FEATURE_WLAN_RMC := y
  356. CONFIG_WLAN_OPEN_P2P_INTERFACE := y
  357. CONFIG_WLAN_ENABLE_SOCIAL_CHANNELS_5G_ONLY := y
  358. endif
  359. #enable 4addr support for QCS405
  360. ifeq ($(CONFIG_ARCH_QCS405), y)
  361. CONFIG_FEATURE_WLAN_STA_4ADDR_SCHEME := y
  362. endif
  363. #Enable power management suspend/resume functionality to PCI
  364. CONFIG_ATH_BUS_PM := y
  365. #Enable FLOWMAC module support
  366. CONFIG_ATH_SUPPORT_FLOWMAC_MODULE := n
  367. #Enable spectral support
  368. CONFIG_ATH_SUPPORT_SPECTRAL := n
  369. #Enable WDI Event support
  370. ifeq ($(CONFIG_REMOVE_PKT_LOG), y)
  371. CONFIG_WDI_EVENT_ENABLE := n
  372. else
  373. CONFIG_WDI_EVENT_ENABLE := y
  374. endif
  375. #Enable the type_specific_data in the ath_pktlog_arg
  376. ifeq ($(CONFIG_REMOVE_PKT_LOG), n)
  377. CONFIG_PKTLOG_HAS_SPECIFIC_DATA := y
  378. endif
  379. #Endianness selection
  380. CONFIG_LITTLE_ENDIAN := y
  381. #Enable TX reclaim support
  382. CONFIG_TX_CREDIT_RECLAIM_SUPPORT := n
  383. #Enable FTM support
  384. CONFIG_QCA_WIFI_FTM := y
  385. ifeq ($(CONFIG_QCA_WIFI_FTM), y)
  386. ifeq ($(CONFIG_NL80211_TESTMODE), y)
  387. QCA_WIFI_FTM_NL80211 :=y
  388. else
  389. QCA_WIFI_FTM_NL80211 :=n
  390. endif
  391. CONFIG_LINUX_QCMBR :=y
  392. else
  393. QCA_WIFI_FTM_NL80211 :=n
  394. CONFIG_LINUX_QCMBR :=n
  395. endif
  396. #Enable Checksum Offload
  397. CONFIG_CHECKSUM_OFFLOAD := y
  398. #Enable GTK offload
  399. CONFIG_GTK_OFFLOAD := y
  400. #Enable EXT WOW
  401. ifeq ($(CONFIG_HIF_PCI), y)
  402. CONFIG_EXT_WOW := y
  403. endif
  404. #Set this to 1 to catch erroneous Target accesses during debug.
  405. CONFIG_ATH_PCIE_ACCESS_DEBUG := n
  406. #Enable IPA offload
  407. ifeq ($(CONFIG_IPA), y)
  408. CONFIG_IPA_OFFLOAD := y
  409. endif
  410. ifeq ($(CONFIG_IPA3), y)
  411. CONFIG_IPA_OFFLOAD := y
  412. endif
  413. #Flag to enable SMMU S1 support
  414. ifeq ($(CONFIG_ARCH_SDM845), y)
  415. ifeq ($(CONFIG_IPA_OFFLOAD), y)
  416. CONFIG_ENABLE_SMMU_S1_TRANSLATION := y
  417. endif
  418. endif
  419. ifeq ($(CONFIG_ARCH_SM8150), y)
  420. ifeq ($(CONFIG_IPA_OFFLOAD), y)
  421. CONFIG_ENABLE_SMMU_S1_TRANSLATION := y
  422. endif
  423. endif
  424. #Flag to enable SMMU S1 support
  425. ifeq ($(CONFIG_ARCH_SDXPRAIRIE), y)
  426. ifeq ($(CONFIG_IPA_OFFLOAD), y)
  427. CONFIG_ENABLE_SMMU_S1_TRANSLATION := y
  428. endif
  429. endif
  430. ifeq ($(CONFIG_ARCH_SDX20), y)
  431. ifeq ($(CONFIG_QCA_WIFI_SDIO), y)
  432. ifeq ($(CONFIG_WCNSS_SKB_PRE_ALLOC), y)
  433. CONFIG_FEATURE_SKB_PRE_ALLOC := y
  434. endif
  435. endif
  436. endif
  437. #Enable Signed firmware support for split binary format
  438. CONFIG_QCA_SIGNED_SPLIT_BINARY_SUPPORT := n
  439. #Enable single firmware binary format
  440. CONFIG_QCA_SINGLE_BINARY_SUPPORT := n
  441. #Enable collecting target RAM dump after kernel panic
  442. CONFIG_TARGET_RAMDUMP_AFTER_KERNEL_PANIC := y
  443. #Flag to enable/disable secure firmware feature
  444. CONFIG_FEATURE_SECURE_FIRMWARE := n
  445. #Flag to enable Stats Ext implementation
  446. CONFIG_FEATURE_STATS_EXT := y
  447. #Flag to allocate memory dynamically for different buffers
  448. CONFIG_WLAN_LOGGING_BUFFERS_DYNAMICALLY := n
  449. CONFIG_WLAN_DFS_STATIC_MEM_ALLOC := y
  450. #Flag to enable HTC credit history feature
  451. CONFIG_FEATURE_HTC_CREDIT_HISTORY := y
  452. #Flag to enable MTRACE feature
  453. CONFIG_TRACE_RECORD_FEATURE := y
  454. #Flag to enable p2p debug feature
  455. CONFIG_WLAN_FEATURE_P2P_DEBUG := y
  456. #Flag to enable roam debug log
  457. CONFIG_FEATURE_ROAM_DEBUG := y
  458. #Flag to enable DFS Master feature
  459. CONFIG_WLAN_DFS_MASTER_ENABLE := y
  460. #Flag to enable WEXT support for STA/AP/P2P interfaces
  461. CONFIG_WLAN_WEXT_SUPPORT_ENABLE := y
  462. #Flag to enable/disable MTRACE feature
  463. CONFIG_ENABLE_MTRACE_LOG := y
  464. #Flag to enable nud tracking feature
  465. CONFIG_WLAN_NUD_TRACKING := y
  466. #Flag to enable wbuff feature
  467. CONFIG_WLAN_WBUFF := y
  468. #Flag to enable set and get disable channel list feature
  469. CONFIG_DISABLE_CHANNEL_LIST :=y
  470. #Flag to enable Dynamic Voltage WDCVS (Config Voltage Mode)
  471. CONFIG_WLAN_DYNAMIC_CVM := y
  472. CONFIG_WIFI_POS_CONVERGED := y
  473. ifneq ($(CONFIG_WIFI_POS_CONVERGED), y)
  474. CONFIG_WIFI_POS_LEGACY := y
  475. endif
  476. CONFIG_CP_STATS := y
  477. CONFIG_FEATURE_WLAN_WAPI := y
  478. CONFIG_AGEIE_ON_SCAN_RESULTS := y
  479. #Flag to enable FW log parsing support feature
  480. CONFIG_FEATURE_FW_LOG_PARSING := y
  481. CONFIG_PTT_SOCK_SVC_ENABLE := y
  482. CONFIG_SOFTAP_CHANNEL_RANGE := y
  483. CONFIG_FEATURE_WLAN_SCAN_PNO := y
  484. CONFIG_WLAN_FEATURE_PACKET_FILTERING := y
  485. CONFIG_WLAN_NS_OFFLOAD := y
  486. CONFIG_FEATURE_WLAN_RA_FILTERING:= y
  487. CONFIG_FEATURE_WLAN_LPHB := y
  488. CONFIG_QCA_SUPPORT_TX_THROTTLE := y
  489. CONFIG_WMI_INTERFACE_EVENT_LOGGING := y
  490. CONFIG_WLAN_FEATURE_LINK_LAYER_STATS := y
  491. CONFIG_FEATURE_WLAN_EXTSCAN := n
  492. CONFIG_WMI_BCN_OFFLOAD := y
  493. CONFIG_160MHZ_SUPPORT := y
  494. CONFIG_MCL := y
  495. CONFIG_REG_CLIENT := y
  496. CONFIG_WLAN_PMO_ENABLE := y
  497. CONFIG_CONVERGED_P2P_ENABLE := y
  498. CONFIG_WLAN_POLICY_MGR_ENABLE := y
  499. CONFIG_SUPPORT_11AX := y
  500. CONFIG_HDD_INIT_WITH_RTNL_LOCK := y
  501. CONFIG_WLAN_CONV_SPECTRAL_ENABLE := y
  502. CONFIG_WLAN_SPECTRAL_ENABLE := y
  503. CONFIG_WMI_CMD_STRINGS := y
  504. CONFIG_FEATURE_MONITOR_MODE_SUPPORT := y
  505. CONFIG_WLAN_ALLOCATE_GLOBAL_BUFFERS_DYNAMICALLY := n
  506. CONFIG_WLAN_FEATURE_TWT := y
  507. CONFIG_WLAN_FEATURE_BMI := y
  508. #Flags to enable/disable vendor commands
  509. CONFIG_FEATURE_RSSI_MONITOR := y
  510. CONFIG_FEATURE_BSS_TRANSITION := y
  511. CONFIG_FEATURE_STATION_INFO := y
  512. CONFIG_FEATURE_TX_POWER := y
  513. CONFIG_FEATURE_OTA_TEST := y
  514. CONFIG_FEATURE_ACTIVE_TOS := y
  515. CONFIG_FEATURE_SAR_LIMITS := y
  516. CONFIG_FEATURE_CONCURRENCY_MATRIX := y
  517. CONFIG_FEATURE_SAP_COND_CHAN_SWITCH := y
  518. CONFIG_FEATURE_P2P_LISTEN_OFFLOAD := y
  519. #Flags to enable/disable WMI APIs
  520. CONFIG_WMI_ROAM_SUPPORT := y
  521. CONFIG_WMI_CONCURRENCY_SUPPORT := y
  522. CONFIG_WMI_STA_SUPPORT := y
  523. #Flag to enable LTE COEX feature
  524. CONFIG_LTE_COEX := y
  525. #Flag to enable HOST OPCLASS feature
  526. CONFIG_HOST_OPCLASS := y
  527. ifeq ($(CONFIG_HELIUMPLUS), y)
  528. ifneq ($(CONFIG_FORCE_ALLOC_FROM_DMA_ZONE), y)
  529. CONFIG_ENABLE_DEBUG_ADDRESS_MARKING := y
  530. endif
  531. CONFIG_RX_OL := y
  532. endif
  533. ifeq ($(CONFIG_SLUB_DEBUG_ON), y)
  534. CONFIG_DSC_DEBUG := y
  535. CONFIG_DESC_TIMESTAMP_DEBUG_INFO := y
  536. CONFIG_FEATURE_UNIT_TEST_SUSPEND := y
  537. CONFIG_LEAK_DETECTION := y
  538. CONFIG_MAX_LOGS_PER_SEC := 500
  539. CONFIG_SCHED_HISTORY_SIZE := 256
  540. CONFIG_TALLOC_DEBUG := y
  541. CONFIG_UNIT_TEST := y
  542. endif
  543. ifeq ($(CONFIG_UNIT_TEST), y)
  544. CONFIG_DSC_TEST := y
  545. CONFIG_QDF_TEST := y
  546. endif
  547. # enable unit-test suspend for napier builds
  548. ifeq ($(CONFIG_LITHIUM), y)
  549. CONFIG_FEATURE_UNIT_TEST_SUSPEND := y
  550. endif
  551. #Flag to enable hdd memory dump feature
  552. CONFIG_FEATURE_MEMDUMP_ENABLE := y
  553. #Flag to enable/disable WLAN D0-WOW
  554. ifeq ($(CONFIG_PCI_MSM), y)
  555. ifeq ($(CONFIG_HIF_PCI), y)
  556. CONFIG_FEATURE_WLAN_D0WOW := y
  557. endif
  558. endif
  559. ifeq ($(CONFIG_ARCH_MDM9607), y)
  560. CONFIG_TUFELLO_DUAL_FW_SUPPORT := y
  561. endif
  562. ifeq ($(CONFIG_ARCH_MSM8996), y)
  563. CONFIG_CHANNEL_HOPPING_ALL_BANDS := y
  564. endif
  565. ifeq ($(CONFIG_ARCH_SDXPRAIRIE), y)
  566. CONFIG_FEATURE_MONITOR_MODE_SUPPORT := n
  567. ifneq ($(CONFIG_SLUB_DEBUG), y)
  568. CONFIG_DP_TRACE := n
  569. endif
  570. endif
  571. ifneq ($(CONFIG_HIF_USB), y)
  572. CONFIG_WLAN_LOGGING_SOCK_SVC := y
  573. endif
  574. ifneq ($(TARGET_BUILD_VARIANT),user)
  575. CONFIG_DESC_DUP_DETECT_DEBUG := y
  576. CONFIG_DEBUG_RX_RING_BUFFER := y
  577. endif
  578. ifeq ($(CONFIG_CNSS), y)
  579. ifeq ($(CONFIG_CNSS_SDIO), y)
  580. CONFIG_PLD_SDIO_CNSS_FLAG := y
  581. endif
  582. ifeq ($(CONFIG_HIF_PCI), y)
  583. CONFIG_PLD_PCIE_CNSS_FLAG := y
  584. endif
  585. endif
  586. ifeq ($(CONFIG_CNSS2), y)
  587. ifeq ($(CONFIG_HIF_PCI), y)
  588. CONFIG_PLD_PCIE_CNSS_FLAG := y
  589. CONFIG_PLD_PCIE_INIT_FLAG := y
  590. endif
  591. endif
  592. #Enable STATE MACHINE HISTORY
  593. CONFIG_SM_ENG_HIST := n
  594. ifeq ($(CONFIG_WLAN_SYSFS), y)
  595. #Enable Beacon Reception Stats
  596. CONFIG_FEATURE_BECN_STATS := y
  597. endif
  598. ifeq (y,$(findstring y,$(CONFIG_ARCH_MSM) $(CONFIG_ARCH_QCOM)))
  599. CONFIG_WLAN_FEATURE_DP_BUS_BANDWIDTH := y
  600. endif
  601. CONFIG_FOURTH_CONNECTION := y
  602. CONFIG_SAP_DHCP_FW_IND := y