qca6174_defconfig 17 KB

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