1CONFIG_CNSS_WCN6450 := y
2
3#DP configs
4CONFIG_WLAN_DP_DISABLE_TCL_CMD_CRED_SRNG := y
5CONFIG_WLAN_DP_DISABLE_TCL_STATUS_SRNG := y
6CONFIG_REO_DESC_DEFER_FREE := n
7
8CONFIG_HANDLE_RX_REROUTE_ERR := y
9
10#Enable DP Bus Vote
11CONFIG_WLAN_FEATURE_DP_BUS_BANDWIDTH := y
12
13ifeq ($(CONFIG_CNSS_EMULATION), y)
14	CONFIG_QCA_WIFI_EMULATION := y
15endif
16CONFIG_RHINE := y
17CONFIG_WLAN_FEATURE_11AX := y
18CONFIG_WLAN_FEATURE_DFS_OFFLOAD := y
19CONFIG_DIRECT_BUF_RX_ENABLE := y
20CONFIG_WLAN_CFR_ENABLE := y
21CONFIG_WMI_DBR_SUPPORT := y
22CONFIG_WLAN_ENH_CFR_ENABLE := y
23CONFIG_SCALE_INCLUDES := y
24CONFIG_HASTINGS_BT_WAR := y
25CONFIG_WDI3_IPA_OVER_GSI :=y
26CONFIG_HOST_WAKEUP_OVER_QMI := y
27CONFIG_WLAN_FEATURE_WMI_DIAG_OVER_CE7 := y
28CONFIG_WLAN_FEATURE_LRO_CTX_IN_CB := y
29CONFIG_WLAN_FEATURE_PEER_TXQ_FLUSH_CONF := y
30
31#Enable RHINE based Configs
32CONFIG_FIX_TXDMA_LIMITATION := y
33CONFIG_FEATURE_AST := y
34CONFIG_PEER_PROTECTED_ACCESS := y
35CONFIG_SERIALIZE_QUEUE_SETUP := y
36CONFIG_DP_RX_PKT_NO_PEER_DELIVER := y
37CONFIG_DP_RX_DROP_RAW_FRM := y
38CONFIG_FEATURE_ALIGN_STATS_FROM_DP := y
39CONFIG_FEATURE_STATS_EXT_V2 := y
40CONFIG_WLAN_FEATURE_DP_RX_THREADS := y
41CONFIG_WLAN_FEATURE_RX_SOFTIRQ_TIME_LIMIT := y
42CONFIG_FEATURE_NO_DBS_INTRABAND_MCC_SUPPORT := y
43CONFIG_HAL_DISABLE_NON_BA_2K_JUMP_ERROR := y
44CONFIG_ENABLE_HAL_SOC_STATS := y
45CONFIG_ENABLE_HAL_REG_WR_HISTORY := y
46CONFIG_MON_ENABLE_DROP_FOR_MAC := y
47CONFIG_PCI_LINK_STATUS_SANITY := y
48CONFIG_DDP_MON_RSSI_IN_DBM := y
49CONFIG_SYSTEM_PM_CHECK := y
50CONFIG_DISABLE_EAPOL_INTRABSS_FWD := y
51CONFIG_FEATURE_RX_LINKSPEED_ROAM_TRIGGER := y
52CONFIG_DP_TRAFFIC_END_INDICATION := y
53
54ifeq ($(CONFIG_ICNSS2), m)
55	CONFIG_ICNSS2_MODULE := y
56endif
57ifeq ($(CONFIG_CNSS_GENL), m)
58	CONFIG_CNSS_GENL_MODULE := y
59endif
60ifeq ($(CONFIG_CNSS_UTILS), m)
61	CONFIG_CNSS_UTILS_MODULE := y
62endif
63ifeq ($(CONFIG_WCNSS_MEM_PRE_ALLOC), m)
64	CONFIG_WCNSS_MEM_PRE_ALLOC_MODULE := y
65endif
66
67CONFIG_ROME_IF = ipci
68CONFIG_PLD_IPCI_ICNSS_FLAG := y
69
70ifdef CONFIG_IPCIE_FW_SIM
71	CONFIG_ROME_IF = ipci
72	CONFIG_PLD_IPCI_ICNSS_FLAG := n
73endif
74
75# Make WLAN as open-source driver by default
76WLAN_OPEN_SOURCE := y
77
78ifneq ($(DEVELOPER_DISABLE_BUILD_TIMESTAMP), y)
79ifneq ($(WLAN_DISABLE_BUILD_TAG), y)
80CONFIG_BUILD_TAG := y
81endif
82endif
83
84CONFIG_WLAN_FEATURE_MBSSID := y
85CONFIG_WLAN_FEATURE_P2P_P2P_STA := y
86
87#Flag to enable Legacy Fast Roaming3(LFR3)
88CONFIG_QCACLD_WLAN_LFR3 := y
89
90#Flag to enable Dynamic MAC address update
91CONFIG_WLAN_FEATURE_DYNAMIC_MAC_ADDR_UPDATE := y
92
93CONFIG_WIFI_MONITOR_SUPPORT := y
94CONFIG_QCA_MONITOR_PKT_SUPPORT := y
95CONFIG_MONITOR_MODULARIZED_ENABLE := n
96CONFIG_DP_CON_MON_MSI_ENABLED := y
97
98ifneq ($(CONFIG_MOBILE_ROUTER), y)
99#Flag to enable TDLS feature
100CONFIG_QCOM_TDLS := y
101
102CONFIG_WLAN_SYSFS := y
103
104CONFIG_THERMAL_STATS_SUPPORT := y
105
106#Flag to enable pre cac feature
107CONFIG_FEATURE_WLAN_PRE_CAC := y
108
109ifeq ($(CONFIG_WLAN_SYSFS), y)
110	CONFIG_WLAN_SYSFS_STA_INFO := y
111	CONFIG_WLAN_SYSFS_CHANNEL := y
112	CONFIG_WLAN_SYSFS_FW_MODE_CFG := y
113	CONFIG_WLAN_SYSFS_MEM_STATS := y
114	CONFIG_WLAN_REASSOC := y
115	CONFIG_WLAN_SYSFS_CONNECT_INFO := y
116	CONFIG_WLAN_SCAN_DISABLE := y
117	CONFIG_WLAN_SYSFS_DCM := y
118	CONFIG_WLAN_WOW_ITO := y
119	CONFIG_WLAN_WOWL_ADD_PTRN := y
120	CONFIG_WLAN_WOWL_DEL_PTRN := y
121	CONFIG_WLAN_SYSFS_TX_STBC := y
122	CONFIG_WLAN_SYSFS_WLAN_DBG := y
123	CONFIG_WLAN_TXRX_FW_ST_RST := y
124	CONFIG_WLAN_GTX_BW_MASK := y
125	CONFIG_WLAN_SYSFS_SCAN_CFG := y
126	CONFIG_WLAN_SYSFS_MONITOR_MODE_CHANNEL := y
127	CONFIG_WLAN_SYSFS_RADAR := y
128	CONFIG_WLAN_SYSFS_RTS_CTS := y
129	CONFIG_WLAN_SYSFS_HE_BSS_COLOR := y
130	CONFIG_WLAN_TXRX_FW_STATS := y
131	CONFIG_WLAN_TXRX_STATS := y
132	CONFIG_WLAN_SYSFS_DP_TRACE := y
133	CONFIG_WLAN_SYSFS_STATS := y
134ifeq ($(CONFIG_QCOM_TDLS), y)
135	CONFIG_WLAN_SYSFS_TDLS_PEERS := y
136endif
137	CONFIG_WLAN_SYSFS_TEMPERATURE := y
138	CONFIG_WLAN_THERMAL_CFG := y
139	CONFIG_WLAN_DL_MODES := y
140	CONFIG_WLAN_DUMP_IN_PROGRESS := n
141	CONFIG_WLAN_BMISS := y
142	CONFIG_WLAN_FREQ_LIST := y
143	CONFIG_DP_PKT_ADD_TIMESTAMP := y
144endif
145CONFIG_WLAN_PDEV_VDEV_SEND_MULTI_PARAM := y
146CONFIG_WLAN_POWER_DEBUG := y
147#Enable Beacon Reception Stats
148CONFIG_FEATURE_BECN_STATS := y
149#Flag to enable NAN
150CONFIG_QCACLD_FEATURE_NAN := y
151endif
152
153CONFIG_WLAN_FEATURE_MEDIUM_ASSESS := y
154
155#Disable the Export Symbol config
156ifeq ($(CONFIG_QCACLD_FEATURE_SON), y)
157CONFIG_WLAN_DISABLE_EXPORT_SYMBOL := n
158else
159CONFIG_WLAN_DISABLE_EXPORT_SYMBOL := y
160endif
161
162CONFIG_QCACLD_FEATURE_GREEN_AP := y
163
164#Flag to enable Android Packet Filtering
165CONFIG_QCACLD_FEATURE_APF := y
166
167#Flag to enable SARv1 -> SARv2 conversion
168CONFIG_WLAN_FEATURE_SARV1_TO_SARV2 := y
169
170#Flag to enable get firmware state
171CONFIG_QCACLD_FEATURE_FW_STATE := y
172
173#Flag to enable set coex configuration
174CONFIG_QCACLD_FEATURE_COEX_CONFIG := n
175
176#Flag to enable Fast Transition (11r) feature
177CONFIG_QCOM_VOWIFI_11R := y
178
179#Flag to enable disable ACTION OUI feature
180CONFIG_WLAN_FEATURE_ACTION_OUI := y
181
182#Flag to enable Adaptive 11r feature
183CONFIG_ADAPTIVE_11R := y
184
185#Flag to enable sae single pmk feature
186CONFIG_SAE_SINGLE_PMK := y
187
188#Flag to enable/disable multi client low latency feature support
189CONFIG_MULTI_CLIENT_LL_SUPPORT := y
190
191#Flag to enable/disable vendor handoff feature support
192CONFIG_WLAN_VENDOR_HANDOFF_CONTROL := y
193
194#Flag to enable mscs feature
195CONFIG_FEATURE_MSCS := y
196
197#Flag to enable FILS Feature (11ai)
198CONFIG_WLAN_FEATURE_FILS := y
199ifneq ($(CONFIG_QCA_CLD_WLAN),)
200	ifeq (y,$(findstring y,$(CONFIG_ICNSS2) $(CONFIG_ICNSS2_MODULE)))
201	#Flag to enable LTE CoEx feature
202	CONFIG_QCOM_LTE_COEX := y
203	ifneq ($(CONFIG_MOBILE_ROUTER), y)
204		CONFIG_WLAN_FEATURE_LPSS := y
205	endif
206	endif
207
208endif
209
210CONFIG_FEATURE_EPPING := y
211
212#Flag to enable offload packets feature
213CONFIG_WLAN_OFFLOAD_PACKETS := y
214
215#enable TSF get feature
216CONFIG_WLAN_SYNC_TSF := y
217
218#Flag to enable SAE
219CONFIG_WLAN_FEATURE_SAE := y
220
221#Flag to enable DISA
222CONFIG_WLAN_FEATURE_DISA := y
223
224#Flag to enable FIPS
225CONFIG_WLAN_FEATURE_FIPS := y
226
227#Flag to enable Fast Path feature
228CONFIG_WLAN_FASTPATH := y
229
230# Flag to enable NAPI
231CONFIG_WLAN_NAPI := y
232CONFIG_WLAN_NAPI_DEBUG := n
233
234# Flag to enable FW based TX Flow control
235CONFIG_WLAN_TX_FLOW_CONTROL_V2 := y
236
237CONFIG_POWER_MANAGEMENT_OFFLOAD := y
238
239# Flag to enable LFR Subnet Detection
240CONFIG_LFR_SUBNET_DETECTION := y
241
242# Flag to enable MCC to SCC switch feature
243CONFIG_MCC_TO_SCC_SWITCH := y
244
245ifeq ($(CONFIG_SLUB_DEBUG_ON), y)
246	# Enable Obj Mgr Degug services if slub build
247	CONFIG_WLAN_OBJMGR_DEBUG:= y
248	CONFIG_LOCK_STATS_ON:= y
249	CONFIG_WLAN_OBJMGR_REF_ID_TRACE := y
250endif
251
252ifeq ($(CONFIG_WLAN_SYSFS), y)
253	CONFIG_WLAN_SYSFS_RANGE_EXT := y
254endif
255
256#Whether have QMI support
257CONFIG_QMI_SUPPORT := y
258
259# Enable fw stats version 2
260CONFIG_AR900B := y
261
262# Enable sw_cookie sanity WAR for all Rhine platforms
263CONFIG_DP_WAR_VALIDATE_RX_ERR_MSDU_COOKIE := y
264
265#
266# Enable Shadow V3 for all Beryllium platform
267#
268CONFIG_SHADOW_V3 := y
269
270CONFIG_RX_DEFRAG_DO_NOT_REINJECT := y
271CONFIG_MARK_ICMP_REQ_TO_FW := y
272CONFIG_IPA_SET_RESET_TX_DB_PA := y
273#
274# Enable VERBOSE debug INI mechanism
275#
276CONFIG_VERBOSE_DEBUG := y
277CONFIG_RX_DESC_SANITY_WAR := y
278
279CONFIG_WCN6450_HEADERS_DEF := y
280CONFIG_QCA_WIFI_WCN6450 := y
281CONFIG_IPA_SET_RESET_TX_DB_PA := y
282CONFIG_WIFI_3_0_ADRASTEA := y
283CONFIG_ADRASTEA_RRI_ON_DDR := y
284CONFIG_ADRASTEA_SHADOW_REGISTERS := y
285CONFIG_HIF_HAL_REG_ACCESS_SUPPORT := y
286CONFIG_CE_LEGACY_MSI_SUPPORT := y
287CONFIG_FEATURE_HIF_DELAYED_REG_WRITE := y
288
289CONFIG_BUS_AUTO_SUSPEND := y
290
291CONFIG_QCA_WIFI_QCA8074 := y
292CONFIG_QCA_WIFI_QCA8074_VP := y
293CONFIG_DP_INTR_POLL_BASED := y
294CONFIG_TX_PER_PDEV_DESC_POOL := y
295CONFIG_DP_TRACE := y
296CONFIG_FEATURE_TSO := y
297CONFIG_FEATURE_FORCE_WAKE := y
298CONFIG_DP_LFR := y
299CONFIG_DUP_RX_DESC_WAR := y
300CONFIG_HTT_PADDR64 := y
301CONFIG_RX_OL := y
302CONFIG_TX_TID_OVERRIDE := y
303CONFIG_DP_TXRX_SOC_ATTACH := y
304ifeq ($(CONFIG_WLAN_FEATURE_DP_BUS_BANDWIDTH), y)
305CONFIG_WLAN_CLD_PM_QOS := y
306endif
307CONFIG_WLAN_CLD_DEV_PM_QOS := y
308CONFIG_DISABLE_DP_STATS := n
309CONFIG_MAX_ALLOC_PAGE_SIZE := y
310CONFIG_REO_DESC_DEFER_FREE := y
311CONFIG_RXDMA_ERR_PKT_DROP := y
312CONFIG_DELIVERY_TO_STACK_STATUS_CHECK := y
313CONFIG_WLAN_TRACE_HIDE_MAC_ADDRESS := n
314CONFIG_WLAN_TRACE_HIDE_SSID := n
315CONFIG_DP_MEM_PRE_ALLOC := y
316CONFIG_FEATURE_GPIO_CFG := y
317
318ifeq ($(CONFIG_FEATURE_TSO), y)
319	CONFIG_FEATURE_TSO_STATS := y
320	CONFIG_TSO_DEBUG_LOG_ENABLE := y
321endif
322
323ifeq ($(CONFIG_DISABLE_DP_STATS), y)
324	CONFIG_FEATURE_TSO_STATS := n
325endif
326
327# As per target team, build is done as follows:
328# Defconfig : build with default flags
329# Slub      : defconfig  + CONFIG_SLUB_DEBUG=y +
330#	      CONFIG_SLUB_DEBUG_ON=y + CONFIG_PAGE_POISONING=y
331# Perf      : Using appropriate msmXXXX-perf_defconfig
332#
333# Shipment builds (user variants) should not have any debug feature
334# enabled. This is identified using 'TARGET_BUILD_VARIANT'. Slub builds
335# are identified using the CONFIG_SLUB_DEBUG_ON configuration. Since
336# there is no other way to identify defconfig builds, QCOMs internal
337# representation of perf builds (identified using the string 'perf'),
338# is used to identify if the build is a slub or defconfig one. This
339# way no critical debug feature will be enabled for perf and shipment
340# builds. Other OEMs are also protected using the TARGET_BUILD_VARIANT
341# config.
342ifneq ($(TARGET_BUILD_VARIANT),user)
343	CONFIG_WLAN_DEBUG_CRASH_INJECT := y
344endif
345
346#Disable pktlog feature for Rhine based target
347CONFIG_FEATURE_PKTLOG := n
348
349#Enable WLAN/Power debugfs feature only if debug_fs is enabled
350ifeq ($(CONFIG_DEBUG_FS), y)
351       # Flag to enable debugfs. Depends on CONFIG_DEBUG_FS in kernel
352       # configuration.
353       CONFIG_WLAN_DEBUGFS := y
354
355       # Flag to enable streamfs. Depends on CONFIG_DEBUG_FS and
356       # CONFIG_RELAY in kernel configuration.
357ifeq ($(CONFIG_RELAY), y)
358       CONFIG_WLAN_STREAMFS := y
359endif
360endif
361
362ifeq ($(CONFIG_WLAN_DEBUGFS), y)
363       CONFIG_WLAN_MWS_INFO_DEBUGFS := y
364       CONFIG_WLAN_FEATURE_MIB_STATS := y
365endif
366
367#Whether to build debug version
368CONFIG_WLAN_DEBUG_VERSION := y
369
370#Enable this flag to build driver in diag version
371CONFIG_WLAN_DIAG_VERSION := y
372
373ifeq ($(CONFIG_SLUB_DEBUG), y)
374	PANIC_ON_BUG := y
375	WLAN_WARN_ON_ASSERT := y
376else ifeq ($(CONFIG_PERF_DEBUG), y)
377	PANIC_ON_BUG := y
378	WLAN_WARN_ON_ASSERT := y
379else
380	PANIC_ON_BUG := n
381	WLAN_WARN_ON_ASSERT := n
382endif
383
384# Compile all log levels by default
385CONFIG_WLAN_LOG_FATAL := y
386CONFIG_WLAN_LOG_ERROR := y
387CONFIG_WLAN_LOG_WARN := y
388CONFIG_WLAN_LOG_INFO := y
389CONFIG_WLAN_LOG_DEBUG := y
390CONFIG_WLAN_LOG_ENTER := y
391CONFIG_WLAN_LOG_EXIT := y
392
393#Enable OL debug and wmi unified functions
394CONFIG_ATH_PERF_PWR_OFFLOAD := y
395
396#Disable packet log
397CONFIG_REMOVE_PKT_LOG := y
398
399#Enable 11AC TX
400CONFIG_ATH_11AC_TXCOMPACT := y
401
402#Enable PCI specific APIS (dma, etc)
403CONFIG_HIF_IPCI := y
404
405# enable/disable feature flags based upon mobile router profile
406ifeq ($(CONFIG_MOBILE_ROUTER), y)
407CONFIG_FEATURE_WLAN_MCC_TO_SCC_SWITCH := y
408CONFIG_FEATURE_WLAN_AUTO_SHUTDOWN := y
409CONFIG_FEATURE_WLAN_AP_AP_ACS_OPTIMIZE := y
410CONFIG_FEATURE_WLAN_STA_4ADDR_SCHEME := y
411CONFIG_MDM_PLATFORM := y
412CONFIG_FEATURE_HAL_DELAYED_REG_WRITE := n
413CONFIG_FEATURE_WLAN_STA_AP_MODE_DFS_DISABLE := y
414CONFIG_FEATURE_AP_MCC_CH_AVOIDANCE := y
415CONFIG_FEATURE_STA_MODE_VOTE_LINK := y
416else
417CONFIG_QCOM_ESE := y
418CONFIG_WLAN_OPEN_P2P_INTERFACE := y
419CONFIG_WLAN_ENABLE_SOCIAL_CHANNELS_5G_ONLY := y
420endif
421
422#Enable power management suspend/resume functionality to PCI
423CONFIG_ATH_BUS_PM := y
424
425#Enable FLOWMAC module support
426CONFIG_ATH_SUPPORT_FLOWMAC_MODULE := n
427
428#Enable spectral support
429CONFIG_ATH_SUPPORT_SPECTRAL := n
430
431CONFIG_PKTLOG_LEGACY := n
432CONFIG_WLAN_CUSTOM_DSCP_UP_MAP := y
433
434CONFIG_WAPI_BIG_ENDIAN := y
435
436#Enable WDI Event support
437CONFIG_WDI_EVENT_ENABLE := y
438ifeq ($(CONFIG_REMOVE_PKT_LOG), y)
439ifeq ($(CONFIG_WLAN_ENH_CFR_ENABLE), n)
440CONFIG_WDI_EVENT_ENABLE := n
441endif
442endif
443
444#Enable the type_specific_data in the ath_pktlog_arg
445ifeq ($(CONFIG_REMOVE_PKT_LOG), n)
446CONFIG_PKTLOG_HAS_SPECIFIC_DATA := y
447endif
448
449#Endianness selection
450CONFIG_LITTLE_ENDIAN := y
451
452#Enable TX reclaim support
453CONFIG_TX_CREDIT_RECLAIM_SUPPORT := n
454
455#Enable FTM support
456CONFIG_QCA_WIFI_FTM := y
457
458ifeq ($(CONFIG_QCA_WIFI_FTM), y)
459
460ifeq ($(CONFIG_NL80211_TESTMODE), y)
461	QCA_WIFI_FTM_NL80211 :=y
462else
463	QCA_WIFI_FTM_NL80211 :=n
464endif
465	CONFIG_LINUX_QCMBR :=y
466
467else
468	QCA_WIFI_FTM_NL80211 :=n
469	CONFIG_LINUX_QCMBR :=n
470endif
471
472
473#Enable Checksum Offload
474CONFIG_CHECKSUM_OFFLOAD := y
475
476#Enable GTK offload
477CONFIG_GTK_OFFLOAD := y
478
479#Set this to 1 to catch erroneous Target accesses during debug.
480CONFIG_ATH_PCIE_ACCESS_DEBUG := n
481
482#Enable IPA offload for MDM platforms
483ifeq ($(CONFIG_MDM_PLATFORM), y)
484ifeq ($(CONFIG_IPA), y)
485CONFIG_IPA_OFFLOAD := y
486endif
487ifeq ($(CONFIG_IPA3), y)
488CONFIG_IPA_OFFLOAD := y
489endif
490ifeq ($(CONFIG_IPA3), m)
491CONFIG_IPA_OFFLOAD := y
492endif
493else
494CONFIG_IPA_OFFLOAD := n
495endif
496
497#Enable Signed firmware support for split binary format
498CONFIG_QCA_SIGNED_SPLIT_BINARY_SUPPORT := n
499
500#Enable single firmware binary format
501CONFIG_QCA_SINGLE_BINARY_SUPPORT := n
502
503#Enable collecting target RAM dump after kernel panic
504CONFIG_TARGET_RAMDUMP_AFTER_KERNEL_PANIC := y
505
506#Flag to enable/disable secure firmware feature
507CONFIG_FEATURE_SECURE_FIRMWARE := n
508
509#Flag to enable Stats Ext implementation
510CONFIG_FEATURE_STATS_EXT := y
511
512#Flag to allocate memory dynamically for different buffers
513CONFIG_WLAN_LOGGING_BUFFERS_DYNAMICALLY := n
514CONFIG_WLAN_DFS_STATIC_MEM_ALLOC := y
515
516#Flag to enable HTC credit history feature
517CONFIG_FEATURE_HTC_CREDIT_HISTORY := y
518
519#Flag to enable MTRACE feature
520CONFIG_TRACE_RECORD_FEATURE := y
521
522#Flag to enable p2p debug feature
523CONFIG_WLAN_FEATURE_P2P_DEBUG := y
524
525#Flag to enable roam debug log
526CONFIG_FEATURE_ROAM_DEBUG := y
527
528#Flag to enable DFS Master feature
529CONFIG_WLAN_DFS_MASTER_ENABLE := y
530
531#Flag to enable WEXT support for STA/AP/P2P interfaces
532ifeq ($(CONFIG_WIRELESS_EXT), y)
533CONFIG_WLAN_WEXT_SUPPORT_ENABLE := y
534endif
535
536#Flag to enable/disable MTRACE feature
537CONFIG_ENABLE_MTRACE_LOG := y
538
539#Flag to enable nud tracking feature
540CONFIG_WLAN_NUD_TRACKING := y
541
542#Flag to enable/Disable Function call trace
543CONFIG_FUNC_CALL_MAP := n
544
545#Flag to enable wbuff feature
546CONFIG_WLAN_WBUFF := y
547
548#Flag to enable set and get disable channel list feature
549CONFIG_DISABLE_CHANNEL_LIST :=y
550
551#Flag to enable beacon receive feature
552CONFIG_WLAN_BCN_RECV_FEATURE := y
553
554#Flag to enable LTE COEX feature
555CONFIG_LTE_COEX := y
556
557#Flag to enable/disable TARGET 11d scan
558CONFIG_TARGET_11D_SCAN := y
559
560#Flag to enable/disable Avoid acs freq feature
561CONFIG_SAP_AVOID_ACS_FREQ_LIST := y
562
563#Flag to enable HOST OPCLASS feature
564CONFIG_HOST_OPCLASS := y
565
566#Flag to enable Dynamic Voltage WDCVS (Config Voltage Mode)
567CONFIG_WLAN_DYNAMIC_CVM := y
568
569#Flag to enable SAR Safety Feature
570CONFIG_SAR_SAFETY_FEATURE := y
571
572CONFIG_CONNECTION_ROAMING_CFG := n
573
574CONFIG_FEATURE_SET := y
575
576CONFIG_WIFI_POS_CONVERGED := y
577CONFIG_WLAN_TWT_CONVERGED := y
578ifneq ($(CONFIG_WIFI_POS_CONVERGED), y)
579CONFIG_WIFI_POS_LEGACY := y
580endif
581
582CONFIG_CP_STATS := y
583
584CONFIG_QCA_TARGET_IF_MLME := y
585
586CONFIG_FEATURE_INTEROP_ISSUES_AP := y
587
588CONFIG_FEATURE_WLAN_WAPI := y
589
590CONFIG_AGEIE_ON_SCAN_RESULTS := y
591
592#Flag to enable FW log parsing support feature
593CONFIG_FEATURE_FW_LOG_PARSING := y
594
595CONFIG_PTT_SOCK_SVC_ENABLE := y
596CONFIG_SOFTAP_CHANNEL_RANGE := y
597CONFIG_FEATURE_WLAN_SCAN_PNO := y
598CONFIG_WLAN_FEATURE_PACKET_FILTERING := y
599CONFIG_WLAN_NS_OFFLOAD := y
600CONFIG_FEATURE_WLAN_RA_FILTERING:= y
601CONFIG_FEATURE_WLAN_LPHB := y
602CONFIG_QCA_SUPPORT_TX_THROTTLE := y
603CONFIG_WMI_INTERFACE_EVENT_LOGGING := y
604CONFIG_WLAN_FEATURE_LINK_LAYER_STATS := y
605CONFIG_FEATURE_CLUB_LL_STATS_AND_GET_STATION := y
606CONFIG_FEATURE_WLAN_EXTSCAN := n
607CONFIG_WMI_BCN_OFFLOAD := y
608CONFIG_160MHZ_SUPPORT := y
609CONFIG_REG_CLIENT := y
610CONFIG_WLAN_PMO_ENABLE := y
611CONFIG_CONVERGED_P2P_ENABLE := y
612CONFIG_WLAN_POLICY_MGR_ENABLE := y
613CONFIG_FEATURE_DENYLIST_MGR := y
614CONFIG_FOURTH_CONNECTION := y
615CONFIG_SUPPORT_11AX := y
616CONFIG_HDD_INIT_WITH_RTNL_LOCK := y
617CONFIG_WLAN_CONV_SPECTRAL_ENABLE := y
618CONFIG_WLAN_SPECTRAL_ENABLE := y
619CONFIG_WMI_CMD_STRINGS := y
620
621CONFIG_FEATURE_MONITOR_MODE_SUPPORT := y
622
623CONFIG_WLAN_ALLOCATE_GLOBAL_BUFFERS_DYNAMICALLY := n
624CONFIG_WLAN_FEATURE_TWT := y
625CONFIG_FW_THERMAL_THROTTLE := y
626CONFIG_WLAN_FEATURE_BIG_DATA_STATS := y
627CONFIG_WLAN_FEATURE_IGMP_OFFLOAD := y
628CONFIG_WLAN_FEATURE_GET_USABLE_CHAN_LIST := y
629CONFIG_FEATURE_RADAR_HISTORY := y
630
631CONFIG_WLAN_FEATURE_BMI := n
632
633#Flags to enable/disable vendor commands
634CONFIG_FEATURE_RSSI_MONITOR := y
635CONFIG_FEATURE_BSS_TRANSITION := y
636CONFIG_FEATURE_STATION_INFO := y
637CONFIG_FEATURE_TX_POWER := y
638CONFIG_FEATURE_OTA_TEST := y
639CONFIG_FEATURE_ACTIVE_TOS := y
640CONFIG_FEATURE_SAR_LIMITS := y
641CONFIG_FEATURE_CONCURRENCY_MATRIX := y
642CONFIG_FEATURE_SAP_COND_CHAN_SWITCH := y
643CONFIG_FEATURE_P2P_LISTEN_OFFLOAD := y
644CONFIG_QCACLD_FEATURE_MPTA_HELPER := n
645CONFIG_QCACLD_RX_DESC_MULTI_PAGE_ALLOC := y
646
647#Flags to enable/disable WMI APIs
648CONFIG_WMI_ROAM_SUPPORT := y
649CONFIG_WMI_CONCURRENCY_SUPPORT := y
650CONFIG_WMI_STA_SUPPORT := y
651
652CONFIG_DP_TRACE := y
653
654ifeq ($(CONFIG_CNSS_EMULATION), y)
655#on emulation platform, increase host timeouts by 1000 times
656CONFIG_QDF_TIMER_MULTIPLIER_FRAC := 1000
657endif
658
659ifeq ($(CONFIG_SLUB_DEBUG_ON), y)
660	CONFIG_DSC_DEBUG := y
661	CONFIG_DESC_TIMESTAMP_DEBUG_INFO := y
662	CONFIG_FEATURE_UNIT_TEST_SUSPEND := y
663	CONFIG_LEAK_DETECTION := y
664ifndef CONFIG_MAX_LOGS_PER_SEC
665	CONFIG_MAX_LOGS_PER_SEC := 500
666endif
667	CONFIG_SCHED_HISTORY_SIZE := 256
668	CONFIG_TALLOC_DEBUG := y
669	CONFIG_UNIT_TEST := y
670	CONFIG_REGISTER_OP_DEBUG := y
671	CONFIG_ENABLE_QDF_PTR_HASH_DEBUG := y
672	CONFIG_HAL_DEBUG := y
673	CONFIG_FEATURE_HAL_RECORD_SUSPEND_WRITE := y
674
675	CONFIG_HIF_CE_DEBUG_DATA_BUF := y
676	CONFIG_WLAN_RECORD_RX_PADDR := y
677	CONFIG_HIF_CPU_PERF_AFFINE_MASK := y
678	CONFIG_QDF_NBUF_HISTORY_SIZE := 8192
679	CONFIG_DP_RX_REFILL_CPU_PERF_AFFINE_MASK := y
680	CONFIG_FEATURE_HIF_LATENCY_PROFILE_ENABLE := y
681	CONFIG_DP_TX_HW_DESC_HISTORY := y
682	CONFIG_WLAN_FEATURE_DP_TX_DESC_HISTORY := y
683
684ifneq ($(CONFIG_CNSS_EMULATION), y)
685	CONFIG_HIF_DETECTION_LATENCY_ENABLE := y
686endif
687endif
688
689	CONFIG_HIF_DEBUG := y
690
691ifeq ($(CONFIG_UNIT_TEST), y)
692	CONFIG_DSC_TEST := y
693	CONFIG_QDF_TEST := y
694	CONFIG_FEATURE_WLM_STATS := y
695endif
696
697CONFIG_RX_DESC_DEBUG_CHECK:= y
698CONFIG_ALLOW_PKT_DROPPING := y
699
700CONFIG_DP_HW_TX_DELAY_STATS_ENABLE := y
701CONFIG_WLAN_FEATURE_DP_EVENT_HISTORY := y
702CONFIG_DYNAMIC_RX_AGGREGATION := y
703CONFIG_WLAN_SUPPORT_DATA_STALL := y
704CONFIG_WLAN_DP_PER_RING_TYPE_CONFIG := y
705CONFIG_WLAN_CE_INTERRUPT_THRESHOLD_CONFIG := y
706#Enable WMI TX/RX over QMI
707CONFIG_WMI_SEND_RECV_QMI := y
708CONFIG_WLAN_DP_PENDING_MEM_FLUSH := y
709CONFIG_WLAN_SKIP_BAR_UPDATE := y
710CONFIG_TX_MULTIQ_PER_AC := y
711CONFIG_WLAN_TRACEPOINTS := y
712ENABLE_CE4_COMP_DISABLE_HTT_HTC_MISC_LIST := y
713
714#Flag to enable hdd memory dump feature
715CONFIG_FEATURE_MEMDUMP_ENABLE := y
716
717CONFIG_WLAN_LOGGING_SOCK_SVC := y
718
719CONFIG_CONNECTIVITY_PKTLOG := y
720CONFIG_PKTLOG_HAS_SPECIFIC_DATA := y
721
722ifneq ($(TARGET_BUILD_VARIANT),user)
723CONFIG_DESC_DUP_DETECT_DEBUG := y
724endif
725
726#Enable STATE MACHINE HISTORY
727CONFIG_SM_ENG_HIST := n
728
729#Enable OEM DATA feature
730CONFIG_FEATURE_OEM_DATA := y
731
732#Enable FW Offload
733CONFIG_WLAN_FW_OFFLOAD := y
734
735#Enable eLNA mDNS and ICMP feature
736CONFIG_WLAN_FEATURE_ELNA := y
737CONFIG_WLAN_FEATURE_MDNS_OFFLOAD := y
738CONFIG_WLAN_FEATURE_ICMP_OFFLOAD := y
739
740#Enable 6 GHz Band
741CONFIG_BAND_6GHZ := y
742CONFIG_RX_FISA := y
743CONFIG_MORE_TX_DESC := y
744ifeq ($(CONFIG_SLUB_DEBUG_ON), y)
745	CONFIG_DP_FT_LOCK_HISTORY := y
746endif
747
748CONFIG_HANDLE_BC_EAP_TX_FRM := y
749
750CONFIG_6G_SCAN_CHAN_SORT_ALGO := y
751
752CONFIG_SAP_DHCP_FW_IND := y
753
754#Enable support to get ANI level
755CONFIG_ANI_LEVEL_REQUEST := y
756
757#Enable RX RING buffers debug
758CONFIG_DEBUG_RX_RING_BUFFER := y
759
760#Enable Hash debug
761CONFIG_RX_HASH_DEBUG := y
762
763#Enable VDEV OPS wakelock feature
764CONFIG_FEATURE_VDEV_OPS_WAKELOCK := y
765
766# Enable RX buffer pool support
767CONFIG_WLAN_FEATURE_RX_BUFFER_POOL := y
768CONFIG_DP_RX_BUFFER_POOL_SIZE := 128
769CONFIG_DP_RX_BUFFER_POOL_ALLOC_THRES := 5
770CONFIG_DP_RX_REFILL_BUFF_POOL_SIZE := 2048
771CONFIG_DP_RX_REFILL_THRD_THRESHOLD := 512
772CONFIG_DP_SWLM := y
773
774CONFIG_WLAN_FEATURE_CE_RX_BUFFER_REUSE := y
775
776#Enable Hang Event
777CONFIG_WLAN_HANG_EVENT := y
778
779CONFIG_WLAN_THERMAL_MULTI_CLIENT_SUPPORT := y
780
781CONFIG_DP_LEGACY_MODE_CSM_DEFAULT_DISABLE := 1
782CONFIG_DP_RX_DESC_COOKIE_INVALIDATE := y
783
784CONFIG_WLAN_DEBUG_LINK_VOTE := y
785
786CONFIG_QCACLD_WLAN_CONNECTIVITY_DIAG_EVENT := y
787
788CONFIG_WLAN_FEATURE_CAL_FAILURE_TRIGGER := y
789
790CONFIG_DP_TX_TRACKING := y
791
792ifeq ($(CONFIG_QCACLD_FEATURE_SON), y)
793CONFIG_WDI_EVENT_ENABLE := y
794CONFIG_FEATURE_MONITOR_MODE_SUPPORT := y
795CONFIG_WIFI_MONITOR_SUPPORT := y
796CONFIG_DCS := y
797CONFIG_FEATURE_WDS := y
798endif
799
800ifeq ($(CONFIG_FEATURE_WDS), y)
801CONFIG_FEATURE_MEC := y
802CONFIG_FEATURE_WLAN_STA_4ADDR_SCHEME := y
803CONFIG_FEATURE_MCL_REPEATER := y
804CONFIG_BYPASS_WDS_OL_OPS := y
805CONFIG_WDS_CONV_TARGET_IF_OPS_ENABLE := y
806endif
807
808ifeq ($(CONFIG_WLAN_FEATURE_CE_RX_BUFFER_REUSE), y)
809CONFIG_WLAN_WBUFF := y
810endif
811
812CONFIG_WLAN_FEATURE_SAP_ACS_OPTIMIZE := y
813
814# Enable sending DSCP-TID map config to firmware
815CONFIG_WLAN_CUSTOM_DSCP_UP_MAP := y
816CONFIG_WLAN_SEND_DSCP_UP_MAP_TO_FW := y
817