qca6390_defconfig 16 KB

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