default_defconfig 17 KB

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