qca6174_defconfig 16 KB

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