1# Protocol specific features
2CONFIG_QCACLD_WLAN_LFR2 := y
3CONFIG_QCACLD_WLAN_LFR3 := y
4CONFIG_QCOM_TDLS := y
5CONFIG_QCACLD_FEATURE_GREEN_AP := y
6CONFIG_QCOM_VOWIFI_11R := y
7CONFIG_WLAN_FEATURE_FILS := y
8CONFIG_QCOM_LTE_COEX := n
9CONFIG_WLAN_FEATURE_LPSS := n
10CONFIG_QCACLD_FEATURE_NAN := n
11CONFIG_POWER_MANAGEMENT_OFFLOAD := y
12CONFIG_LFR_SUBNET_DETECTION := y
13CONFIG_MCC_TO_SCC_SWITCH := y
14CONFIG_QCOM_ESE := y
15CONFIG_WLAN_OPEN_P2P_INTERFACE := y
16CONFIG_WLAN_ENABLE_SOCIAL_CHANNELS_5G_ONLY := y
17CONFIG_WLAN_DFS_MASTER_ENABLE := y
18CONFIG_WIFI_POS_CONVERGED := y
19CONFIG_WIFI_POS_LEGACY := n
20CONFIG_FEATURE_WLAN_WAPI := y
21CONFIG_AGEIE_ON_SCAN_RESULTS := y
22CONFIG_CONVERGED_P2P_ENABLE := y
23CONFIG_WLAN_POLICY_MGR_ENABLE := y
24CONFIG_SUPPORT_11AX := n
25CONFIG_HOST_OPCLASS := y
26CONFIG_HDD_INIT_WITH_RTNL_LOCK := y
27CONFIG_WLAN_CONV_SPECTRAL_ENABLE := y
28CONFIG_WLAN_SPECTRAL_ENABLE := y
29CONFIG_WMI_CMD_STRINGS := n
30CONFIG_SOFTAP_CHANNEL_RANGE := y
31CONFIG_FEATURE_WLAN_SCAN_PNO := y
32CONFIG_DFS_PRI_MULTIPLIER := y
33CONFIG_DFS_OVERRIDE_RF_THRESHOLD := y
34
35# Interface specific features
36CONFIG_ROME_IF = snoc
37CONFIG_HELIUMPLUS := y
38CONFIG_64BIT_PADDR := y
39CONFIG_QMI_SUPPORT := y
40CONFIG_WIFI_3_0_ADRASTEA := y
41CONFIG_ADRASTEA_RRI_ON_DDR := y
42CONFIG_ATH_PROCFS_DIAG_SUPPORT := y
43CONFIG_ADRASTEA_SHADOW_REGISTERS := y
44CONFIG_HTT_PADDR64 := y
45CONFIG_AR900B := y
46CONFIG_HIF_SNOC:= y
47
48# Data Path specific features
49CONFIG_WLAN_FASTPATH := y
50CONFIG_FEATURE_TSO := y
51CONFIG_WLAN_NAPI := y
52CONFIG_WLAN_TX_FLOW_CONTROL_V2 := n
53CONFIG_ATH_11AC_TXCOMPACT := y
54CONFIG_TX_CREDIT_RECLAIM_SUPPORT := n
55CONFIG_CHECKSUM_OFFLOAD := y
56CONFIG_QCA_SUPPORT_TX_THROTTLE := y
57CONFIG_RX_OL := y
58CONFIG_FEATURE_MONITOR_MODE_SUPPORT := n
59CONFIG_DESC_DUP_DETECT_DEBUG := n
60CONFIG_DEBUG_RX_RING_BUFFER := n
61CONFIG_RX_PERFORMANCE := y
62CONFIG_SLUB_MEM_OPTIMIZE := y
63CONFIG_TGT_NUM_MSDU_DESC := 900
64CONFIG_WLAN_PDEV_TX_FLOW_CONTROL := y
65CONFIG_FEATURE_WLAN_STA_4ADDR_SCHEME := y
66
67ifeq ($(CONFIG_INET_LRO), y)
68CONFIG_WLAN_LRO := y
69else
70CONFIG_WLAN_LRO := n
71endif
72
73ifeq ($(CONFIG_IPA), y)
74CONFIG_IPA_OFFLOAD := y
75endif
76ifeq ($(CONFIG_IPA3), y)
77CONFIG_IPA_OFFLOAD := y
78endif
79
80ifneq ($(CONFIG_FORCE_ALLOC_FROM_DMA_ZONE), y)
81CONFIG_ENABLE_DEBUG_ADDRESS_MARKING := y
82endif
83
84# Debug specific features
85CONFIG_WLAN_DEBUG_VERSION := n
86CONFIG_WLAN_DIAG_VERSION := y
87CONFIG_FEATURE_TSO_DEBUG := y
88CONFIG_FEATURE_EPPING := n
89CONFIG_WLAN_NAPI_DEBUG := n
90CONFIG_REMOVE_PKT_LOG := y
91CONFIG_FEATURE_STATS_EXT := y
92CONFIG_FEATURE_HTC_CREDIT_HISTORY := y
93CONFIG_TRACE_RECORD_FEATURE := y
94CONFIG_WLAN_FEATURE_P2P_DEBUG := n
95CONFIG_WLAN_NUD_TRACKING := n
96CONFIG_CP_STATS := n
97CONFIG_QCA_TARGET_IF_MLME := y
98CONFIG_FEATURE_FW_LOG_PARSING := y
99CONFIG_PTT_SOCK_SVC_ENABLE := y
100CONFIG_WMI_INTERFACE_EVENT_LOGGING := y
101CONFIG_WLAN_FEATURE_LINK_LAYER_STATS := y
102CONFIG_DP_TRACE := n
103CONFIG_QCACLD_FEATURE_HW_CAPABILITY := y
104
105CONFIG_WLAN_LOG_FATAL := y
106CONFIG_WLAN_LOG_ERROR := y
107CONFIG_WLAN_LOG_WARN := y
108CONFIG_WLAN_LOG_INFO := y
109CONFIG_WLAN_LOG_DEBUG := y
110
111ifeq ($(CONFIG_REMOVE_PKT_LOG), y)
112CONFIG_WDI_EVENT_ENABLE := n
113else
114CONFIG_WDI_EVENT_ENABLE := y
115endif
116
117# Features gets enabled on slub debug
118CONFIG_WLAN_OBJMGR_DEBUG:= n
119CONFIG_OL_RX_INDICATION_RECORD := n
120CONFIG_TSOSEG_DEBUG := n
121CONFIG_FEATURE_PKTLOG := n
122CONFIG_WLAN_DEBUG_CRASH_INJECT := n
123PANIC_ON_BUG := y
124WLAN_WARN_ON_ASSERT := y
125CONFIG_FEATURE_MEMDUMP_ENABLE := n
126CONFIG_WLAN_LOGGING_SOCK_SVC := n
127CONFIG_FEATURE_UNIT_TEST_SUSPEND := n
128CONFIG_LEAK_DETECTION := n
129
130ifeq ($(CONFIG_DEBUG_FS), y)
131       CONFIG_WLAN_DEBUGFS := n
132       CONFIG_WLAN_POWER_DEBUGFS := n
133endif
134
135# other features
136WLAN_OPEN_SOURCE := y
137CONFIG_ATH_PERF_PWR_OFFLOAD := y
138CONFIG_ATH_BUS_PM := y
139CONFIG_ATH_SUPPORT_FLOWMAC_MODULE := n
140CONFIG_ATH_SUPPORT_SPECTRAL := n
141CONFIG_LITTLE_ENDIAN := y
142CONFIG_QCA_WIFI_FTM := y
143CONFIG_ATH_PCIE_ACCESS_DEBUG := n
144CONFIG_QCA_SIGNED_SPLIT_BINARY_SUPPORT := n
145CONFIG_QCA_SINGLE_BINARY_SUPPORT := n
146CONFIG_TARGET_RAMDUMP_AFTER_KERNEL_PANIC := y
147CONFIG_FEATURE_SECURE_FIRMWARE := n
148CONFIG_WLAN_FEATURE_PACKET_FILTERING := y
149CONFIG_WLAN_NS_OFFLOAD := y
150CONFIG_FEATURE_WLAN_RA_FILTERING:= y
151CONFIG_FEATURE_WLAN_LPHB := y
152CONFIG_FEATURE_WLAN_EXTSCAN := n
153CONFIG_160MHZ_SUPPORT := y
154CONFIG_WLAN_OFFLOAD_PACKETS := y
155CONFIG_WLAN_SYNC_TSF := y
156CONFIG_WLAN_SYNC_TSF_PLUS := y
157CONFIG_WLAN_SYNC_TSF_PLUS_NOIRQ := y
158CONFIG_WLAN_FEATURE_DISA := n
159CONFIG_WLAN_FEATURE_FIPS := n
160CONFIG_WLAN_FEATURE_SAE := y
161CONFIG_GTK_OFFLOAD := y
162CONFIG_QCACLD_FEATURE_COEX_CONFIG := y
163CONFIG_QCACLD_FEATURE_MPTA_HELPER := y
164CONFIG_WMI_ROAM_SUPPORT := y
165CONFIG_WMI_STA_SUPPORT := y
166CONFIG_REG_CLIENT := y
167CONFIG_WLAN_FEATURE_DP_BUS_BANDWIDTH := y
168CONFIG_WMI_CONCURRENCY_SUPPORT := y
169CONFIG_LL_DP_SUPPORT := y
170CONFIG_WLAN_FEATURE_LL_MODE := y
171
172ifeq ($(CONFIG_WLAN_FEATURE_LL_MODE), y)
173	CONFIG_WLAN_CLD_PM_QOS := y
174endif
175
176ifeq ($(CONFIG_QCA_WIFI_FTM), y)
177
178ifeq ($(CONFIG_NL80211_TESTMODE), y)
179	QCA_WIFI_FTM_NL80211 :=y
180else
181	QCA_WIFI_FTM_NL80211 :=n
182endif
183	CONFIG_LINUX_QCMBR :=y
184
185else
186	QCA_WIFI_FTM_NL80211 :=n
187	CONFIG_LINUX_QCMBR :=n
188endif
189
190ifneq ($(DEVELOPER_DISABLE_BUILD_TIMESTAMP), y)
191ifneq ($(WLAN_DISABLE_BUILD_TAG), y)
192CONFIG_BUILD_TAG := y
193endif
194endif
195
196#Enable FW Offload
197CONFIG_WLAN_FW_OFFLOAD := y
198
199CONFIG_ENABLE_SIZE_OPTIMIZE := y
200CONFIG_FEATURE_WLAN_TIME_SYNC_FTM := y
201
202# configure log buffer size
203CONFIG_CFG_NUM_DP_TRACE_RECORD := 1000
204CONFIG_CFG_NUM_HTC_CREDIT_HISTORY := 16
205CONFIG_CFG_NUM_WMI_EVENT_HISTORY := 16
206CONFIG_CFG_NUM_WMI_MGMT_EVENT_HISTORY := 16
207CONFIG_CFG_NUM_TX_RX_HISTOGRAM := 16
208# CONFIG_CFG_NUM_RX_IND_RECORD := 1024
209
210CONFIG_SAP_DHCP_FW_IND := y
211###################################
212