wear_defconfig 24 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064
  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. ifeq ($(CONFIG_ARCH_SDM845), y)
  19. CONFIG_IPA3 := n
  20. endif
  21. CONFIG_SCALE_INCLUDES := y
  22. CONFIG_HASTINGS_BT_WAR := y
  23. CONFIG_WDI3_IPA_OVER_GSI :=y
  24. CONFIG_DIRECT_BUF_RX_ENABLE := y
  25. CONFIG_WMI_DBR_SUPPORT := y
  26. CONFIG_MORE_TX_DESC := y
  27. CONFIG_FIX_TXDMA_ALIGNMENT := y
  28. endif
  29. ifeq ($(CONFIG_CNSS_QCA6490), y)
  30. CONFIG_DIRECT_BUF_RX_ENABLE := y
  31. CONFIG_WMI_DBR_SUPPORT := y
  32. CONFIG_WLAN_CFR_ENABLE := y
  33. CONFIG_WLAN_ENH_CFR_ENABLE := y
  34. ifeq ($(CONFIG_CNSS_EMULATION), y)
  35. CONFIG_QCA_WIFI_NAPIER_EMULATION := y
  36. endif
  37. CONFIG_LITHIUM := y
  38. CONFIG_WLAN_FEATURE_11AX := y
  39. CONFIG_WLAN_FEATURE_DFS_OFFLOAD := y
  40. ifeq ($(CONFIG_ARCH_SDM845), y)
  41. CONFIG_IPA3 := n
  42. endif
  43. CONFIG_SCALE_INCLUDES := y
  44. CONFIG_HASTINGS_BT_WAR := y
  45. CONFIG_WDI3_IPA_OVER_GSI :=y
  46. CONFIG_GENERIC_SHADOW_REGISTER_ACCESS_ENABLE :=y
  47. endif
  48. ifeq ($(CONFIG_CNSS_QCA6750), y)
  49. ifeq ($(CONFIG_CNSS_EMULATION), y)
  50. CONFIG_QCA_WIFI_NAPIER_EMULATION := y
  51. endif
  52. CONFIG_LITHIUM := y
  53. CONFIG_WLAN_FEATURE_11AX := y
  54. CONFIG_WLAN_FEATURE_DFS_OFFLOAD := y
  55. ifeq ($(CONFIG_ARCH_SDM845), y)
  56. CONFIG_IPA3 := n
  57. endif
  58. CONFIG_SCALE_INCLUDES := y
  59. CONFIG_HASTINGS_BT_WAR := y
  60. CONFIG_WDI3_IPA_OVER_GSI :=y
  61. endif
  62. ifeq ($(CONFIG_CLD_HL_SDIO_CORE), y)
  63. CONFIG_QCA_WIFI_SDIO := y
  64. ifndef CONFIG_SDIO_TRANSFER
  65. CONFIG_SDIO_TRANSFER = mailbox
  66. endif
  67. endif
  68. ifeq ($(CONFIG_QCA_WIFI_SDIO), y)
  69. CONFIG_ROME_IF = sdio
  70. endif
  71. ifeq ($(CONFIG_CNSS_UTILS), m)
  72. CONFIG_CNSS_UTILS_MODULE := y
  73. endif
  74. ifeq ($(CONFIG_WCNSS_MEM_PRE_ALLOC), m)
  75. CONFIG_WCNSS_MEM_PRE_ALLOC_MODULE := y
  76. endif
  77. ifdef CONFIG_ICNSS
  78. CONFIG_ROME_IF = snoc
  79. endif
  80. ifdef CONFIG_ICNSS2
  81. CONFIG_ROME_IF = ipci
  82. endif
  83. ifeq (y,$(findstring y,$(CONFIG_CNSS) $(CONFIG_CNSS2)))
  84. ifndef CONFIG_ROME_IF
  85. #use pci as default interface
  86. CONFIG_ROME_IF = pci
  87. endif
  88. endif
  89. ifeq (m,$(findstring m,$(CONFIG_CNSS2)))
  90. ifndef CONFIG_ROME_IF
  91. #use pci as default interface
  92. CONFIG_ROME_IF = pci
  93. endif
  94. endif
  95. # Make WLAN as open-source driver by default
  96. WLAN_OPEN_SOURCE := y
  97. ifeq ($(CONFIG_ICNSS), y)
  98. CONFIG_HELIUMPLUS := y
  99. CONFIG_64BIT_PADDR := y
  100. CONFIG_FEATURE_TSO := y
  101. CONFIG_FEATURE_TSO_DEBUG := y
  102. ifeq ($(CONFIG_INET_LRO), y)
  103. CONFIG_WLAN_LRO := y
  104. else
  105. CONFIG_WLAN_LRO := n
  106. endif
  107. endif
  108. ifneq ($(DEVELOPER_DISABLE_BUILD_TIMESTAMP), y)
  109. ifneq ($(WLAN_DISABLE_BUILD_TAG), y)
  110. CONFIG_BUILD_TAG := y
  111. endif
  112. endif
  113. ifeq ($(CONFIG_ARCH_MDM9630), y)
  114. CONFIG_MOBILE_ROUTER := y
  115. endif
  116. ifeq ($(CONFIG_ARCH_MDM9640), y)
  117. CONFIG_MOBILE_ROUTER := y
  118. endif
  119. ifeq ($(CONFIG_ARCH_SDX20), y)
  120. CONFIG_MOBILE_ROUTER := y
  121. endif
  122. ifeq ($(CONFIG_ARCH_SDXPRAIRIE), y)
  123. CONFIG_MOBILE_ROUTER := y
  124. endif
  125. ifeq ($(CONFIG_ARCH_MSM8917), y)
  126. ifeq ($(CONFIG_ROME_IF), sdio)
  127. CONFIG_WLAN_SYNC_TSF_PLUS := y
  128. endif
  129. endif
  130. ifeq (y,$(findstring y,$(CONFIG_ARCH_QCS405) $(CONFIG_ARCH_QCS403)))
  131. CONFIG_ARCH_QCS40X := y
  132. endif
  133. ifeq ($(CONFIG_ARCH_QCS40X), y)
  134. CONFIG_WLAN_SYNC_TSF_PLUS := y
  135. CONFIG_WLAN_SYNC_TSF_PLUS_NOIRQ := y
  136. CONFIG_RX_PERFORMANCE := y
  137. CONFIG_TGT_NUM_MSDU_DESC := 900
  138. CONFIG_MULTI_IF_LOG := y
  139. CONFIG_DFS_PRI_MULTIPLIER := y
  140. CONFIG_DFS_OVERRIDE_RF_THRESHOLD := y
  141. endif
  142. CONFIG_WLAN_FEATURE_MBSSID := y
  143. #Flag to enable Legacy Fast Roaming3(LFR3)
  144. ifeq (y,$(findstring y,$(CONFIG_HELIUMPLUS) $(CONFIG_LITHIUM)))
  145. CONFIG_QCACLD_WLAN_LFR3 := y
  146. else
  147. CONFIG_QCACLD_WLAN_LFR2 := y
  148. endif
  149. ifneq ($(CONFIG_MOBILE_ROUTER), y)
  150. #Flag to enable TDLS feature
  151. CONFIG_QCOM_TDLS := y
  152. CONFIG_WLAN_SYSFS := y
  153. CONFIG_WLAN_POWER_DEBUG := y
  154. #Enable Beacon Reception Stats
  155. CONFIG_FEATURE_BECN_STATS := y
  156. endif
  157. #Disable the Export Symbol config
  158. CONFIG_WLAN_DISABLE_EXPORT_SYMBOL := y
  159. CONFIG_QCACLD_FEATURE_GREEN_AP := y
  160. #Flag to enable Android Packet Filtering
  161. CONFIG_QCACLD_FEATURE_APF := y
  162. #Flag to enable SARv1 -> SARv2 conversion
  163. CONFIG_WLAN_FEATURE_SARV1_TO_SARV2 := n
  164. #Flag to enable get firmware state
  165. CONFIG_QCACLD_FEATURE_FW_STATE := y
  166. #Flag to enable set coex configuration
  167. CONFIG_QCACLD_FEATURE_COEX_CONFIG := n
  168. #Flag to enable get hw capability
  169. ifeq ($(CONFIG_ARCH_QCS40X), y)
  170. CONFIG_QCACLD_FEATURE_HW_CAPABILITY := y
  171. endif
  172. ifeq ($(CONFIG_ARCH_MSM8998), y)
  173. CONFIG_QCACLD_FEATURE_METERING := y
  174. endif
  175. ifeq ($(CONFIG_ARCH_SDM845), y)
  176. CONFIG_QCACLD_FEATURE_METERING := y
  177. endif
  178. ifeq ($(CONFIG_ARCH_SM8150), y)
  179. CONFIG_QCACLD_FEATURE_METERING := y
  180. endif
  181. ifeq ($(CONFIG_HELIUMPLUS), y)
  182. CONFIG_QCACLD_FEATURE_METERING := y
  183. endif
  184. ifeq ($(CONFIG_ARCH_KONA), y)
  185. CONFIG_QCACLD_FEATURE_METERING := y
  186. CONFIG_WDI3_STATS_UPDATE := y
  187. CONFIG_WLAN_SYNC_TSF_TIMER := y
  188. endif
  189. #Flag to enable Fast Transition (11r) feature
  190. CONFIG_QCOM_VOWIFI_11R := y
  191. #Flag to enable disable ACTION OUI feature
  192. CONFIG_WLAN_FEATURE_ACTION_OUI := y
  193. #Flag to enable Adaptive 11r feature
  194. CONFIG_ADAPTIVE_11R := y
  195. #Flag to enable sae single pmk feature
  196. CONFIG_SAE_SINGLE_PMK := y
  197. #Flag to enable FILS Feature (11ai)
  198. CONFIG_WLAN_FEATURE_FILS := y
  199. ifneq ($(CONFIG_QCA_CLD_WLAN),)
  200. ifeq (y,$(findstring y,$(CONFIG_CNSS) $(CONFIG_CNSS2) $(CONFIG_ICNSS)$(CONFIG_ICNSS2)))
  201. #Flag to enable LTE CoEx feature
  202. CONFIG_QCOM_LTE_COEX := y
  203. ifneq ($(CONFIG_MOBILE_ROUTER), y)
  204. #Flag to enable LPSS feature
  205. CONFIG_WLAN_FEATURE_LPSS := y
  206. endif
  207. endif
  208. ifeq (m,$(findstring m,$(CONFIG_CNSS2) $(CONFIG_ICNSS2)))
  209. #Flag to enable LTE CoEx feature
  210. CONFIG_QCOM_LTE_COEX := y
  211. ifneq ($(CONFIG_MOBILE_ROUTER), y)
  212. #Flag to enable LPSS feature
  213. CONFIG_WLAN_FEATURE_LPSS := y
  214. endif
  215. endif
  216. endif
  217. #Flag to enable the tx desc sanity check
  218. ifeq ($(CONFIG_ROME_IF),usb)
  219. CONFIG_QCA_TXDESC_SANITY_CHECKS := y
  220. endif
  221. ifneq ($(CONFIG_MOBILE_ROUTER), y)
  222. #Flag to enable NAN
  223. CONFIG_QCACLD_FEATURE_NAN := y
  224. endif
  225. #Flag to enable Linux QCMBR feature as default feature
  226. ifeq ($(CONFIG_ROME_IF),usb)
  227. CONFIG_LINUX_QCMBR :=y
  228. endif
  229. CONFIG_FEATURE_EPPING := y
  230. #Flag to enable offload packets feature
  231. CONFIG_WLAN_OFFLOAD_PACKETS := y
  232. #enable TSF get feature
  233. CONFIG_WLAN_SYNC_TSF := y
  234. #Enable DSRC feature
  235. ifeq ($(CONFIG_QCA_WIFI_SDIO), y)
  236. CONFIG_WLAN_FEATURE_DSRC := y
  237. endif
  238. ifneq ($(CONFIG_ROME_IF),usb)
  239. #Flag to enable SAE
  240. CONFIG_WLAN_FEATURE_SAE := y
  241. ifneq ($(CONFIG_ROME_IF),sdio)
  242. #Flag to enable DISA
  243. CONFIG_WLAN_FEATURE_DISA := y
  244. #Flag to enable FIPS
  245. CONFIG_WLAN_FEATURE_FIPS := y
  246. #Flag to enable Fast Path feature
  247. ifneq ($(CONFIG_LITHIUM), y)
  248. CONFIG_WLAN_FASTPATH := y
  249. endif
  250. # Flag to enable NAPI
  251. CONFIG_WLAN_NAPI := y
  252. CONFIG_WLAN_NAPI_DEBUG := n
  253. # Flag to enable FW based TX Flow control
  254. ifeq ($(CONFIG_LITHIUM), y)
  255. CONFIG_WLAN_TX_FLOW_CONTROL_V2 := y
  256. else
  257. CONFIG_WLAN_TX_FLOW_CONTROL_V2 := n
  258. endif
  259. endif
  260. endif
  261. CONFIG_POWER_MANAGEMENT_OFFLOAD := y
  262. ifeq ($(CONFIG_ROME_IF), snoc)
  263. CONFIG_WLAN_TX_FLOW_CONTROL_V2 := y
  264. endif
  265. ifeq ($(CONFIG_ARCH_QCS40X), y)
  266. CONFIG_WLAN_TX_FLOW_CONTROL_V2 := n
  267. # Flag to improve TCP TX throughput for both
  268. # CONFIG_WLAN_TX_FLOW_CONTROL_LEGACY and CONFIG_WLAN_TX_FLOW_CONTROL_V2
  269. # disabled platform, avoid frame drop in driver
  270. CONFIG_WLAN_PDEV_TX_FLOW_CONTROL := y
  271. endif
  272. # Flag to enable LFR Subnet Detection
  273. CONFIG_LFR_SUBNET_DETECTION := y
  274. # Flag to enable MCC to SCC switch feature
  275. CONFIG_MCC_TO_SCC_SWITCH := y
  276. ifeq ($(CONFIG_SLUB_DEBUG), y)
  277. # Enable Obj Mgr Degug services if slub build
  278. CONFIG_WLAN_OBJMGR_DEBUG:= y
  279. CONFIG_LOCK_STATS_ON:= y
  280. endif
  281. ifeq (y,$(findstring y,$(CONFIG_QCA_WIFI_SDIO) $(CONFIG_HIF_USB)))
  282. CONFIG_HL_DP_SUPPORT := y
  283. else
  284. CONFIG_LL_DP_SUPPORT := y
  285. endif
  286. ifeq ($(CONFIG_ROME_IF),pci)
  287. ifneq ($(CONFIG_WLAN_TX_FLOW_CONTROL_V2), y)
  288. ifneq ($(CONFIG_LITHIUM), y)
  289. CONFIG_WLAN_TX_FLOW_CONTROL_LEGACY := y
  290. endif
  291. endif
  292. endif
  293. #Whether have QMI support
  294. CONFIG_QMI_SUPPORT := y
  295. ifeq ($(CONFIG_ICNSS), y)
  296. CONFIG_WIFI_3_0_ADRASTEA := y
  297. CONFIG_ADRASTEA_RRI_ON_DDR := y
  298. # Enable athdiag procfs debug support for adrastea
  299. CONFIG_ATH_PROCFS_DIAG_SUPPORT := y
  300. # Enable 11AC TX compact feature for adrastea
  301. CONFIG_ATH_11AC_TXCOMPACT := y
  302. ifeq ($(CONFIG_QMI_SUPPORT), y)
  303. CONFIG_ADRASTEA_SHADOW_REGISTERS := y
  304. endif
  305. endif
  306. # Enable fw stats version 2
  307. ifeq (y,$(findstring y,$(CONFIG_HELIUMPLUS) $(CONFIG_LITHIUM)))
  308. CONFIG_AR900B := y
  309. endif
  310. # NOTE: CONFIG_64BIT_PADDR requires CONFIG_HELIUMPLUS
  311. ifeq ($(CONFIG_HELIUMPLUS), y)
  312. ifeq ($(CONFIG_64BIT_PADDR), y)
  313. CONFIG_HTT_PADDR64 := y
  314. endif
  315. ifeq ($(CONFIG_SLUB_DEBUG_ON), y)
  316. CONFIG_OL_RX_INDICATION_RECORD := y
  317. CONFIG_TSOSEG_DEBUG := y
  318. CONFIG_HIF_LARGE_CE_RING_HISTORY := 8192
  319. endif
  320. endif #CONFIG_HELIUMPLUS
  321. ifeq ($(CONFIG_LITHIUM), y)
  322. CONFIG_RX_DEFRAG_DO_NOT_REINJECT := y
  323. #
  324. # Enable Shadow V2 for all lithium platform
  325. #
  326. CONFIG_SHADOW_V2 := y
  327. ifeq ($(CONFIG_CNSS_QCA6290), y)
  328. CONFIG_QCA6290_HEADERS_DEF := y
  329. CONFIG_QCA_WIFI_QCA6290 := y
  330. endif
  331. ifeq ($(CONFIG_CNSS_QCA6390), y)
  332. CONFIG_QCA6390_HEADERS_DEF := y
  333. CONFIG_QCA_WIFI_QCA6390 := y
  334. endif
  335. ifeq ($(CONFIG_CNSS_QCA6490), y)
  336. CONFIG_QCA6490_HEADERS_DEF := y
  337. CONFIG_QCA_WIFI_QCA6490 := y
  338. endif
  339. ifeq ($(CONFIG_CNSS_QCA6750), y)
  340. CONFIG_QCA6750_HEADERS_DEF := y
  341. CONFIG_QCA_WIFI_QCA6750 := y
  342. endif
  343. ifeq ($(CONFIG_LITHIUM), y)
  344. #
  345. # Enable VERBOSE debug INI mechanism
  346. #
  347. CONFIG_VERBOSE_DEBUG := y
  348. CONFIG_RX_DESC_SANITY_WAR := y
  349. ifeq ($(CONFIG_PCI_MSM), y)
  350. CONFIG_FEATURE_HAL_DELAYED_REG_WRITE := y
  351. endif
  352. endif
  353. CONFIG_QCA_WIFI_QCA8074 := y
  354. CONFIG_QCA_WIFI_QCA8074_VP := y
  355. CONFIG_DP_INTR_POLL_BASED := y
  356. CONFIG_TX_PER_PDEV_DESC_POOL := y
  357. CONFIG_DP_TRACE := y
  358. CONFIG_FEATURE_TSO := y
  359. CONFIG_FEATURE_FORCE_WAKE := y
  360. CONFIG_DP_LFR := y
  361. CONFIG_DUP_RX_DESC_WAR := y
  362. CONFIG_HTT_PADDR64 := y
  363. CONFIG_RX_OL := y
  364. CONFIG_TX_TID_OVERRIDE := y
  365. CONFIG_DP_TXRX_SOC_ATTACH := y
  366. CONFIG_WLAN_CLD_PM_QOS := y
  367. CONFIG_DISABLE_DP_STATS := n
  368. CONFIG_MAX_ALLOC_PAGE_SIZE := y
  369. CONFIG_REO_DESC_DEFER_FREE := y
  370. CONFIG_RXDMA_ERR_PKT_DROP := y
  371. CONFIG_DELIVERY_TO_STACK_STATUS_CHECK := y
  372. ifeq ($(CONFIG_FEATURE_TSO), y)
  373. CONFIG_FEATURE_TSO_STATS := y
  374. CONFIG_TSO_DEBUG_LOG_ENABLE := y
  375. endif
  376. ifeq ($(CONFIG_DISABLE_DP_STATS), y)
  377. CONFIG_FEATURE_TSO_STATS := n
  378. endif
  379. endif
  380. # As per target team, build is done as follows:
  381. # Defconfig : build with default flags
  382. # Slub : defconfig + CONFIG_SLUB_DEBUG=y +
  383. # CONFIG_SLUB_DEBUG_ON=y + CONFIG_PAGE_POISONING=y
  384. # Perf : Using appropriate msmXXXX-perf_defconfig
  385. #
  386. # Shipment builds (user variants) should not have any debug feature
  387. # enabled. This is identified using 'TARGET_BUILD_VARIANT'. Slub builds
  388. # are identified using the CONFIG_SLUB_DEBUG_ON configuration. Since
  389. # there is no other way to identify defconfig builds, QCOMs internal
  390. # representation of perf builds (identified using the string 'perf'),
  391. # is used to identify if the build is a slub or defconfig one. This
  392. # way no critical debug feature will be enabled for perf and shipment
  393. # builds. Other OEMs are also protected using the TARGET_BUILD_VARIANT
  394. # config.
  395. ifneq ($(TARGET_BUILD_VARIANT),user)
  396. ifeq ($(CONFIG_LITHIUM), y)
  397. CONFIG_FEATURE_PKTLOG := n
  398. else
  399. CONFIG_FEATURE_PKTLOG := y
  400. endif
  401. CONFIG_WLAN_DEBUG_CRASH_INJECT := y
  402. endif
  403. #Enable WLAN/Power debugfs feature only if debug_fs is enabled
  404. ifeq ($(CONFIG_DEBUG_FS), y)
  405. # Flag to enable debugfs. Depends on CONFIG_DEBUG_FS in kernel
  406. # configuration.
  407. CONFIG_WLAN_DEBUGFS := y
  408. # Flag to enable streamfs. Depends on CONFIG_DEBUG_FS and
  409. # CONFIG_RELAY in kernel configuration.
  410. ifeq ($(CONFIG_RELAY), y)
  411. CONFIG_WLAN_STREAMFS := y
  412. endif
  413. endif
  414. ifeq ($(CONFIG_WLAN_DEBUGFS), y)
  415. CONFIG_WLAN_MWS_INFO_DEBUGFS := y
  416. CONFIG_WLAN_FEATURE_MIB_STATS := y
  417. else
  418. CONFIG_WLAN_MWS_INFO_DEBUGFS := n
  419. CONFIG_WLAN_FEATURE_MIB_STATS := n
  420. endif
  421. # Feature flags which are not (currently) configurable via Kconfig
  422. #Whether to build debug version
  423. BUILD_DEBUG_VERSION := y
  424. #Enable this flag to build driver in diag version
  425. BUILD_DIAG_VERSION := y
  426. ifeq ($(CONFIG_SLUB_DEBUG), y)
  427. PANIC_ON_BUG := y
  428. WLAN_WARN_ON_ASSERT := y
  429. else ifeq ($(CONFIG_PERF_DEBUG), y)
  430. PANIC_ON_BUG := y
  431. WLAN_WARN_ON_ASSERT := y
  432. else
  433. PANIC_ON_BUG := n
  434. WLAN_WARN_ON_ASSERT := n
  435. endif
  436. # Compile all log levels by default
  437. CONFIG_WLAN_LOG_FATAL := y
  438. CONFIG_WLAN_LOG_ERROR := y
  439. CONFIG_WLAN_LOG_WARN := y
  440. CONFIG_WLAN_LOG_INFO := y
  441. CONFIG_WLAN_LOG_DEBUG := y
  442. CONFIG_WLAN_LOG_ENTER := y
  443. CONFIG_WLAN_LOG_EXIT := y
  444. #Enable OL debug and wmi unified functions
  445. CONFIG_ATH_PERF_PWR_OFFLOAD := y
  446. #Disable packet log
  447. CONFIG_REMOVE_PKT_LOG := n
  448. #Enable 11AC TX
  449. ifeq ($(CONFIG_ROME_IF),pci)
  450. CONFIG_ATH_11AC_TXCOMPACT := y
  451. endif
  452. ifeq ($(CONFIG_ROME_IF),ipci)
  453. CONFIG_ATH_11AC_TXCOMPACT := y
  454. endif
  455. ifeq ($(CONFIG_ROME_IF),usb)
  456. CONFIG_ATH_11AC_TXCOMPACT := n
  457. endif
  458. #Enable PCI specific APIS (dma, etc)
  459. ifeq ($(CONFIG_ROME_IF),pci)
  460. CONFIG_HIF_PCI := y
  461. endif
  462. ifeq ($(CONFIG_ROME_IF),ipci)
  463. CONFIG_HIF_IPCI := y
  464. endif
  465. #Enable USB specific APIS
  466. ifeq ($(CONFIG_ROME_IF),usb)
  467. CONFIG_HIF_USB := y
  468. endif
  469. #Enable SDIO specific APIS
  470. ifeq ($(CONFIG_ROME_IF),sdio)
  471. CONFIG_HIF_SDIO := y
  472. CONFIG_TX_DESC_HI_PRIO_RESERVE := y
  473. CONFIG_FEATURE_HL_GROUP_CREDIT_FLOW_CONTROL := y
  474. CONFIG_TGT_NUM_MSDU_DESC := 0
  475. endif
  476. ifeq ($(CONFIG_ROME_IF),snoc)
  477. CONFIG_HIF_SNOC:= y
  478. endif
  479. # enable/disable feature flags based upon mobile router profile
  480. ifeq ($(CONFIG_MOBILE_ROUTER), y)
  481. CONFIG_FEATURE_WLAN_MCC_TO_SCC_SWITCH := y
  482. CONFIG_FEATURE_WLAN_AUTO_SHUTDOWN := y
  483. CONFIG_FEATURE_WLAN_AP_AP_ACS_OPTIMIZE := y
  484. CONFIG_FEATURE_WLAN_STA_4ADDR_SCHEME := y
  485. CONFIG_MDM_PLATFORM := y
  486. ifneq ($(CONFIG_ARCH_SDXPRAIRIE), y)
  487. CONFIG_FEATURE_WLAN_STA_AP_MODE_DFS_DISABLE := y
  488. endif
  489. CONFIG_FEATURE_AP_MCC_CH_AVOIDANCE := y
  490. else
  491. CONFIG_QCOM_ESE := y
  492. CONFIG_FEATURE_WLAN_RMC := y
  493. CONFIG_WLAN_OPEN_P2P_INTERFACE := y
  494. CONFIG_WLAN_ENABLE_SOCIAL_CHANNELS_5G_ONLY := y
  495. endif
  496. #enable 4addr support for QCS40X
  497. ifeq ($(CONFIG_ARCH_QCS40X), y)
  498. CONFIG_FEATURE_WLAN_STA_4ADDR_SCHEME := y
  499. endif
  500. #Enable power management suspend/resume functionality to PCI
  501. CONFIG_ATH_BUS_PM := y
  502. #Enable FLOWMAC module support
  503. CONFIG_ATH_SUPPORT_FLOWMAC_MODULE := n
  504. #Enable spectral support
  505. CONFIG_ATH_SUPPORT_SPECTRAL := n
  506. #Define the legacy pktlog
  507. ifeq ($(CONFIG_REMOVE_PKT_LOG), n)
  508. ifeq ($(CONFIG_HELIUMPLUS), y)
  509. CONFIG_PKTLOG_LEGACY := y
  510. endif
  511. #Customize DSCP_to-UP map based on RFC8325
  512. ifeq ($(CONFIG_HELIUMPLUS), y)
  513. CONFIG_WLAN_CUSTOM_DSCP_UP_MAP := y
  514. CONFIG_WLAN_SEND_DSCP_UP_MAP_TO_FW := y
  515. endif
  516. ifeq ($(CONFIG_LITHIUM), y)
  517. CONFIG_WLAN_CUSTOM_DSCP_UP_MAP := y
  518. endif
  519. ifeq ($(CONFIG_ARCH_BENGAL), y)
  520. CONFIG_SMMU_S1_UNMAP := y
  521. endif
  522. ifeq ($(CONFIG_ROME_IF), sdio)
  523. CONFIG_PKTLOG_LEGACY := y
  524. endif
  525. ifeq ($(CONFIG_ROME_IF), pci)
  526. CONFIG_PKTLOG_LEGACY := y
  527. endif
  528. ifeq ($(CONFIG_ROME_IF), usb)
  529. CONFIG_PKTLOG_LEGACY := y
  530. endif
  531. ifeq ($(CONFIG_ROME_IF), snoc)
  532. CONFIG_PKTLOG_LEGACY := y
  533. endif
  534. endif
  535. ifeq ($(CONFIG_LITHIUM), y)
  536. CONFIG_PKTLOG_LEGACY := n
  537. endif
  538. ifeq ($(CONFIG_LITHIUM), y)
  539. CONFIG_WAPI_BIG_ENDIAN := y
  540. else
  541. CONFIG_WAPI_BIG_ENDIAN := n
  542. endif
  543. #Enable WDI Event support
  544. ifeq ($(CONFIG_REMOVE_PKT_LOG), y)
  545. CONFIG_WDI_EVENT_ENABLE := n
  546. else
  547. CONFIG_WDI_EVENT_ENABLE := y
  548. endif
  549. #Enable the type_specific_data in the ath_pktlog_arg
  550. ifeq ($(CONFIG_REMOVE_PKT_LOG), n)
  551. ifeq ($(CONFIG_LITHIUM), y)
  552. CONFIG_PKTLOG_HAS_SPECIFIC_DATA := y
  553. endif
  554. ifeq ($(CONFIG_HELIUMPLUS), y)
  555. CONFIG_PKTLOG_HAS_SPECIFIC_DATA := y
  556. endif
  557. endif
  558. #Endianness selection
  559. CONFIG_LITTLE_ENDIAN := y
  560. #Enable TX reclaim support
  561. CONFIG_TX_CREDIT_RECLAIM_SUPPORT := n
  562. #Enable FTM support
  563. CONFIG_QCA_WIFI_FTM := y
  564. ifeq ($(CONFIG_QCA_WIFI_FTM), y)
  565. ifeq ($(CONFIG_NL80211_TESTMODE), y)
  566. QCA_WIFI_FTM_NL80211 :=y
  567. else
  568. QCA_WIFI_FTM_NL80211 :=n
  569. endif
  570. CONFIG_LINUX_QCMBR :=y
  571. else
  572. QCA_WIFI_FTM_NL80211 :=n
  573. CONFIG_LINUX_QCMBR :=n
  574. endif
  575. #Enable Checksum Offload
  576. CONFIG_CHECKSUM_OFFLOAD := y
  577. #Enable GTK offload
  578. CONFIG_GTK_OFFLOAD := y
  579. #Enable EXT WOW
  580. ifeq ($(CONFIG_HIF_PCI), y)
  581. CONFIG_EXT_WOW := y
  582. endif
  583. #Set this to 1 to catch erroneous Target accesses during debug.
  584. CONFIG_ATH_PCIE_ACCESS_DEBUG := n
  585. #Enable IPA offload
  586. ifeq ($(CONFIG_IPA), y)
  587. CONFIG_IPA_OFFLOAD := n
  588. endif
  589. ifeq ($(CONFIG_IPA3), y)
  590. CONFIG_IPA_OFFLOAD := n
  591. endif
  592. #Flag to enable SMMU S1 support
  593. ifeq ($(CONFIG_ARCH_SDM845), y)
  594. ifeq ($(CONFIG_IPA_OFFLOAD), y)
  595. CONFIG_ENABLE_SMMU_S1_TRANSLATION := y
  596. endif
  597. endif
  598. ifeq ($(CONFIG_ARCH_SM8150), y)
  599. ifeq ($(CONFIG_IPA_OFFLOAD), y)
  600. ifneq ($(CONFIG_LITHIUM), y)
  601. CONFIG_ENABLE_SMMU_S1_TRANSLATION := y
  602. endif
  603. endif
  604. endif
  605. ifeq ($(CONFIG_ARCH_SDXPRAIRIE), y)
  606. ifeq ($(CONFIG_IPA_OFFLOAD), y)
  607. CONFIG_ENABLE_SMMU_S1_TRANSLATION := y
  608. endif
  609. endif
  610. ifeq ($(CONFIG_ARCH_KONA), y)
  611. ifeq ($(CONFIG_IPA_OFFLOAD), y)
  612. CONFIG_ENABLE_SMMU_S1_TRANSLATION := y
  613. CONFIG_SMMU_S1_UNMAP := y
  614. endif
  615. endif
  616. ifeq ($(CONFIG_HELIUMPLUS), y)
  617. ifneq ($(CONFIG_ARCH_SDM630), y)
  618. ifneq ($(CONFIG_ARCH_SDM660), y)
  619. ifneq ($(CONFIG_ARCH_MSM8998), y)
  620. ifeq ($(CONFIG_IPA_OFFLOAD), y)
  621. CONFIG_ENABLE_SMMU_S1_TRANSLATION := y
  622. endif
  623. endif
  624. endif
  625. endif
  626. endif
  627. ifeq ($(CONFIG_ARCH_SDX20), y)
  628. ifeq ($(CONFIG_QCA_WIFI_SDIO), y)
  629. ifeq ($(CONFIG_WCNSS_SKB_PRE_ALLOC), y)
  630. CONFIG_FEATURE_SKB_PRE_ALLOC := y
  631. endif
  632. endif
  633. endif
  634. #Enable Signed firmware support for split binary format
  635. CONFIG_QCA_SIGNED_SPLIT_BINARY_SUPPORT := n
  636. #Enable single firmware binary format
  637. CONFIG_QCA_SINGLE_BINARY_SUPPORT := n
  638. #Enable collecting target RAM dump after kernel panic
  639. CONFIG_TARGET_RAMDUMP_AFTER_KERNEL_PANIC := y
  640. #Flag to enable/disable secure firmware feature
  641. CONFIG_FEATURE_SECURE_FIRMWARE := n
  642. #Flag to enable Stats Ext implementation
  643. CONFIG_FEATURE_STATS_EXT := y
  644. #Flag to allocate memory dynamically for different buffers
  645. CONFIG_WLAN_LOGGING_BUFFERS_DYNAMICALLY := n
  646. CONFIG_WLAN_DFS_STATIC_MEM_ALLOC := y
  647. #Flag to enable HTC credit history feature
  648. CONFIG_FEATURE_HTC_CREDIT_HISTORY := y
  649. #Flag to enable MTRACE feature
  650. CONFIG_TRACE_RECORD_FEATURE := y
  651. #Flag to enable p2p debug feature
  652. CONFIG_WLAN_FEATURE_P2P_DEBUG := y
  653. #Flag to enable roam debug log
  654. CONFIG_FEATURE_ROAM_DEBUG := y
  655. #Flag to enable DFS Master feature
  656. CONFIG_WLAN_DFS_MASTER_ENABLE := y
  657. #Flag to enable WEXT support for STA/AP/P2P interfaces
  658. CONFIG_WLAN_WEXT_SUPPORT_ENABLE := y
  659. #Flag to enable/disable MTRACE feature
  660. CONFIG_ENABLE_MTRACE_LOG := y
  661. #Flag to enable nud tracking feature
  662. CONFIG_WLAN_NUD_TRACKING := y
  663. #Flag to enable wbuff feature
  664. CONFIG_WLAN_WBUFF := y
  665. #Flag to enable set and get disable channel list feature
  666. CONFIG_DISABLE_CHANNEL_LIST :=y
  667. #Flag to enable beacon receive feature
  668. CONFIG_WLAN_BCN_RECV_FEATURE := y
  669. #Flag to enable LTE COEX feature
  670. CONFIG_LTE_COEX := y
  671. #Flag to enable/disable TARGET 11d scan
  672. CONFIG_TARGET_11D_SCAN := y
  673. #Flag to enable/disable Avoid acs freq feature
  674. CONFIG_SAP_AVOID_ACS_FREQ_LIST := y
  675. #Flag to enable HOST OPCLASS feature
  676. CONFIG_HOST_OPCLASS := y
  677. #Flag to enable Dynamic Voltage WDCVS (Config Voltage Mode)
  678. CONFIG_WLAN_DYNAMIC_CVM := y
  679. #Flag to enable SAR Safety Feature
  680. CONFIG_SAR_SAFETY_FEATURE := y
  681. CONFIG_WIFI_POS_CONVERGED := y
  682. ifneq ($(CONFIG_WIFI_POS_CONVERGED), y)
  683. CONFIG_WIFI_POS_LEGACY := y
  684. endif
  685. CONFIG_CP_STATS := y
  686. CONFIG_FEATURE_INTEROP_ISSUES_AP := y
  687. CONFIG_FEATURE_WLAN_WAPI := y
  688. CONFIG_AGEIE_ON_SCAN_RESULTS := y
  689. #Flag to enable FW log parsing support feature
  690. CONFIG_FEATURE_FW_LOG_PARSING := y
  691. CONFIG_PTT_SOCK_SVC_ENABLE := y
  692. CONFIG_SOFTAP_CHANNEL_RANGE := y
  693. CONFIG_FEATURE_WLAN_SCAN_PNO := y
  694. CONFIG_WLAN_FEATURE_PACKET_FILTERING := y
  695. CONFIG_WLAN_NS_OFFLOAD := y
  696. CONFIG_FEATURE_WLAN_RA_FILTERING:= y
  697. CONFIG_FEATURE_WLAN_LPHB := y
  698. CONFIG_QCA_SUPPORT_TX_THROTTLE := y
  699. CONFIG_WMI_INTERFACE_EVENT_LOGGING := y
  700. CONFIG_WLAN_FEATURE_LINK_LAYER_STATS := y
  701. CONFIG_FEATURE_WLAN_EXTSCAN := n
  702. CONFIG_WMI_BCN_OFFLOAD := y
  703. CONFIG_160MHZ_SUPPORT := y
  704. CONFIG_REG_CLIENT := y
  705. CONFIG_WLAN_PMO_ENABLE := y
  706. CONFIG_CONVERGED_P2P_ENABLE := y
  707. CONFIG_WLAN_POLICY_MGR_ENABLE := y
  708. CONFIG_FEATURE_DENYLIST_MGR := y
  709. CONFIG_FOURTH_CONNECTION := y
  710. CONFIG_SUPPORT_11AX := y
  711. CONFIG_HDD_INIT_WITH_RTNL_LOCK := y
  712. CONFIG_WLAN_CONV_SPECTRAL_ENABLE := y
  713. CONFIG_WLAN_SPECTRAL_ENABLE := y
  714. CONFIG_WMI_CMD_STRINGS := y
  715. CONFIG_FEATURE_MONITOR_MODE_SUPPORT := y
  716. CONFIG_WLAN_ALLOCATE_GLOBAL_BUFFERS_DYNAMICALLY := n
  717. CONFIG_WLAN_FEATURE_TWT := y
  718. CONFIG_FW_THERMAL_THROTTLE := y
  719. ifeq (y,$(findstring y,$(CONFIG_LITHIUM) $(CONFIG_ICNSS)))
  720. CONFIG_WLAN_FEATURE_BMI := n
  721. else
  722. CONFIG_WLAN_FEATURE_BMI := y
  723. endif
  724. #Flags to enable/disable vendor commands
  725. CONFIG_FEATURE_RSSI_MONITOR := y
  726. CONFIG_FEATURE_BSS_TRANSITION := y
  727. CONFIG_FEATURE_STATION_INFO := y
  728. CONFIG_FEATURE_TX_POWER := y
  729. CONFIG_FEATURE_OTA_TEST := y
  730. CONFIG_FEATURE_ACTIVE_TOS := y
  731. CONFIG_FEATURE_SAR_LIMITS := y
  732. CONFIG_FEATURE_CONCURRENCY_MATRIX := y
  733. CONFIG_FEATURE_SAP_COND_CHAN_SWITCH := y
  734. CONFIG_FEATURE_P2P_LISTEN_OFFLOAD := y
  735. CONFIG_QCACLD_FEATURE_MPTA_HELPER := n
  736. CONFIG_QCACLD_RX_DESC_MULTI_PAGE_ALLOC := y
  737. #Flags to enable/disable WMI APIs
  738. CONFIG_WMI_ROAM_SUPPORT := y
  739. CONFIG_WMI_CONCURRENCY_SUPPORT := y
  740. CONFIG_WMI_STA_SUPPORT := y
  741. CONFIG_DP_TRACE := y
  742. ifeq ($(CONFIG_HELIUMPLUS), y)
  743. ifneq ($(CONFIG_FORCE_ALLOC_FROM_DMA_ZONE), y)
  744. CONFIG_ENABLE_DEBUG_ADDRESS_MARKING := y
  745. endif
  746. CONFIG_RX_OL := y
  747. endif
  748. ifeq ($(CONFIG_SLUB_DEBUG_ON), y)
  749. CONFIG_DSC_DEBUG := y
  750. CONFIG_DESC_TIMESTAMP_DEBUG_INFO := y
  751. CONFIG_FEATURE_UNIT_TEST_SUSPEND := y
  752. CONFIG_LEAK_DETECTION := y
  753. CONFIG_MAX_LOGS_PER_SEC := 500
  754. CONFIG_SCHED_HISTORY_SIZE := 256
  755. CONFIG_TALLOC_DEBUG := y
  756. CONFIG_UNIT_TEST := y
  757. CONFIG_REGISTER_OP_DEBUG := y
  758. CONFIG_ENABLE_QDF_PTR_HASH_DEBUG := y
  759. endif
  760. ifeq ($(CONFIG_UNIT_TEST), y)
  761. CONFIG_DSC_TEST := y
  762. CONFIG_QDF_TEST := y
  763. CONFIG_FEATURE_WLM_STATS := y
  764. endif
  765. ifeq ($(CONFIG_LITHIUM), y)
  766. ifeq ($(CONFIG_SLUB_DEBUG_ON), y)
  767. CONFIG_WLAN_FEATURE_DP_EVENT_HISTORY := y
  768. CONFIG_HIF_CE_DEBUG_DATA_BUF := y
  769. CONFIG_WLAN_RECORD_RX_PADDR := y
  770. CONFIG_HIF_CPU_PERF_AFFINE_MASK := y
  771. CONFIG_WLAN_FEATURE_DP_RX_RING_HISTORY := y
  772. CONFIG_ALLOW_PKT_DROPPING := y
  773. endif
  774. CONFIG_DYNAMIC_RX_AGGREGATION := y
  775. CONFIG_RX_DESC_DEBUG_CHECK:= y
  776. CONFIG_WLAN_SUPPORT_DATA_STALL := y
  777. CONFIG_WLAN_DP_PER_RING_TYPE_CONFIG := y
  778. CONFIG_WLAN_CE_INTERRUPT_THRESHOLD_CONFIG := y
  779. #Enable WMI TX/RX over QMI
  780. CONFIG_WMI_SEND_RECV_QMI := y
  781. CONFIG_WLAN_DP_PENDING_MEM_FLUSH := y
  782. endif
  783. #Flag to enable hdd memory dump feature
  784. CONFIG_FEATURE_MEMDUMP_ENABLE := y
  785. #Flag to enable/disable WLAN D0-WOW
  786. ifeq ($(CONFIG_PCI_MSM), y)
  787. ifeq ($(CONFIG_HIF_PCI), y)
  788. CONFIG_FEATURE_WLAN_D0WOW := y
  789. endif
  790. endif
  791. ifeq ($(CONFIG_ARCH_MDM9607), y)
  792. CONFIG_TUFELLO_DUAL_FW_SUPPORT := y
  793. endif
  794. ifeq ($(CONFIG_ARCH_MSM8996), y)
  795. CONFIG_CHANNEL_HOPPING_ALL_BANDS := y
  796. endif
  797. ifeq ($(CONFIG_ARCH_SDXPRAIRIE), y)
  798. ifneq ($(CONFIG_SLUB_DEBUG), y)
  799. CONFIG_DP_TRACE := n
  800. endif
  801. CONFIG_DIRECT_BUF_RX_ENABLE := n
  802. CONFIG_WMI_DBR_SUPPORT := n
  803. endif
  804. ifneq ($(CONFIG_HIF_USB), y)
  805. CONFIG_WLAN_LOGGING_SOCK_SVC := y
  806. endif
  807. ifneq ($(TARGET_BUILD_VARIANT),user)
  808. CONFIG_DESC_DUP_DETECT_DEBUG := y
  809. CONFIG_DEBUG_RX_RING_BUFFER := y
  810. endif
  811. ifeq ($(CONFIG_CNSS), y)
  812. ifeq ($(CONFIG_CNSS_SDIO), y)
  813. CONFIG_PLD_SDIO_CNSS_FLAG := y
  814. endif
  815. ifeq ($(CONFIG_HIF_PCI), y)
  816. CONFIG_PLD_PCIE_CNSS_FLAG := y
  817. endif
  818. endif
  819. ifeq ($(CONFIG_ICNSS2), y)
  820. CONFIG_PLD_IPCI_ICNSS_FLAG := y
  821. endif
  822. ifeq ($(CONFIG_CNSS2), y)
  823. ifeq ($(CONFIG_HIF_PCI), y)
  824. CONFIG_PLD_PCIE_CNSS_FLAG := y
  825. CONFIG_PLD_PCIE_INIT_FLAG := y
  826. endif
  827. endif
  828. ifeq ($(CONFIG_CNSS2), m)
  829. ifeq ($(CONFIG_HIF_PCI), y)
  830. CONFIG_PLD_PCIE_CNSS_FLAG := y
  831. CONFIG_PLD_PCIE_INIT_FLAG := y
  832. endif
  833. endif
  834. #Enable STATE MACHINE HISTORY
  835. CONFIG_SM_ENG_HIST := n
  836. #Enable OEM DATA feature
  837. CONFIG_FEATURE_OEM_DATA := y
  838. #Enable FW Offload
  839. CONFIG_WLAN_FW_OFFLOAD := y
  840. #Enable eLNA bypass feature
  841. ifeq ($(CONFIG_WLAN_FW_OFFLOAD), y)
  842. CONFIG_WLAN_FEATURE_ELNA := y
  843. endif
  844. #Enable DP Bus Vote
  845. CONFIG_WLAN_FEATURE_DP_BUS_BANDWIDTH := y
  846. ifeq ($(CONFIG_CNSS_QCA6490), y)
  847. #Enable 6 GHz Band
  848. CONFIG_BAND_6GHZ := y
  849. CONFIG_RX_FISA := y
  850. CONFIG_MORE_TX_DESC := y
  851. endif
  852. CONFIG_HANDLE_BC_EAP_TX_FRM := y
  853. ifeq ($(CONFIG_BAND_6GHZ), y)
  854. CONFIG_6G_SCAN_CHAN_SORT_ALGO := y
  855. endif
  856. CONFIG_SAP_DHCP_FW_IND := y
  857. #Enable support to get ANI level
  858. CONFIG_ANI_LEVEL_REQUEST := y
  859. ifeq ($(CONFIG_ARCH_QCS405), y)
  860. CONFIG_FEATURE_WLAN_TIME_SYNC_FTM := y
  861. endif
  862. CONFIG_WLAN_HANG_EVENT := y
  863. #Enable VDEV Response wakelock feature
  864. CONFIG_FEATURE_VDEV_RSP_WAKELOCK := y
  865. #Enable Low Power Modes: Deep Sleep/Hibernate
  866. CONFIG_ENABLE_LOW_POWER_MODE := y