blob: fb1a63f902ef14e6617d2ba453a5ed33b04c4444 [file] [log] [blame]
Rachit Kankane74dc5b82018-07-03 15:51:26 +05301# Protocol specific features
2
3#features not required for GENOA IOT, compilation errors are there.
Rachit Kankane74dc5b82018-07-03 15:51:26 +05304CONFIG_SUPPORT_11AX := y
5CONFIG_160MHZ_SUPPORT := y
Qiwei Caie689a262018-07-26 15:50:22 +08006CONFIG_FEATURE_STATS_EXT := n
Rachit Kankane74dc5b82018-07-03 15:51:26 +05307CONFIG_QCA_IBSS_SUPPORT := y
8
9#required features
Rachit Kankaneee1735c2018-08-02 13:19:34 +053010CONFIG_FEATURE_WLAN_RMC := n
Rachit Kankane74dc5b82018-07-03 15:51:26 +053011CONFIG_QCACLD_WLAN_LFR2 := y
12CONFIG_QCACLD_WLAN_LFR3 := n
13CONFIG_QCOM_TDLS := y
14CONFIG_QCACLD_FEATURE_GREEN_AP := n
15CONFIG_QCOM_VOWIFI_11R := y
16CONFIG_WLAN_FEATURE_FILS := y
17CONFIG_WLAN_FEATURE_11W := y
18CONFIG_QCOM_LTE_COEX := n
19CONFIG_WLAN_FEATURE_LPSS := n
20CONFIG_QCACLD_FEATURE_NAN := y
21CONFIG_WLAN_FEATURE_NAN_DATAPATH := y
22CONFIG_NAN_CONVERGENCE := y
23CONFIG_POWER_MANAGEMENT_OFFLOAD := y
24CONFIG_LFR_SUBNET_DETECTION := y
25CONFIG_MCC_TO_SCC_SWITCH := y
Qiwei Cai36bd9de2018-09-03 10:45:47 +080026CONFIG_QCOM_ESE := n
Rachit Kankane74dc5b82018-07-03 15:51:26 +053027CONFIG_WLAN_OPEN_P2P_INTERFACE := y
Rachit Kankanef3f40682018-07-05 11:30:33 +053028CONFIG_WLAN_CONV_SPECTRAL_ENABLE := n
Rachit Kankane74dc5b82018-07-03 15:51:26 +053029CONFIG_WLAN_ENABLE_SOCIAL_CHANNELS_5G_ONLY := y
30CONFIG_WLAN_DFS_MASTER_ENABLE := y
31CONFIG_WIFI_POS_CONVERGED := y
32CONFIG_WIFI_POS_LEGACY := n
33CONFIG_FEATURE_WLAN_WAPI := y
34CONFIG_AGEIE_ON_SCAN_RESULTS := y
35CONFIG_LEGACY_CHAN_ENUM := y
36CONFIG_WLAN_PMO_ENABLE := y
37CONFIG_CONVERGED_P2P_ENABLE := y
38CONFIG_WLAN_POLICY_MGR_ENABLE := y
39CONFIG_HDD_INIT_WITH_RTNL_LOCK := y
40CONFIG_CONVERGED_TDLS_ENABLE := y
41CONFIG_WLAN_FEATURE_TWT := n
42CONFIG_WMI_CMD_STRINGS := y
43CONFIG_SOFTAP_CHANNEL_RANGE := y
44CONFIG_FEATURE_WLAN_SCAN_PNO := y
45CONFIG_WLAN_FEATURE_DSRC := n
46CONFIG_FEATURE_MONITOR_MODE_SUPPORT := n
47CONFIG_DP_TRACE := y
48CONFIG_QCACLD_FEATURE_METERING := n
Rachit Kankanef6834c42018-08-02 18:47:50 +053049
50#Flag to enable Dynamic Voltage WDCVS (Config Voltage Mode)
51CONFIG_WLAN_DYNAMIC_CVM := n
52
Rachit Kankane74dc5b82018-07-03 15:51:26 +053053#We might need to disable WEXT support in perf builds in future
54CONFIG_WLAN_WEXT_SUPPORT_ENABLE := y
Liangwei Dong2fce7162018-08-24 01:07:22 -040055CONFIG_HOST_11D_SCAN := y
Rachit Kankane74dc5b82018-07-03 15:51:26 +053056
57ifeq ($(CONFIG_ARCH_MSM8996), y)
58CONFIG_CHANNEL_HOPPING_ALL_BANDS := y
59endif
60
61# Debug specific features
62CONFIG_WLAN_LOGGING_BUFFERS_DYNAMICALLY := y
63BUILD_DEBUG_VERSION := y
Qiwei Caiba95ce62018-08-23 10:43:16 +080064BUILD_DIAG_VERSION := n
Rachit Kankane74dc5b82018-07-03 15:51:26 +053065
66CONFIG_REMOVE_PKT_LOG := n
67CONFIG_FEATURE_HTC_CREDIT_HISTORY := y
68CONFIG_TRACE_RECORD_FEATURE := y
69CONFIG_WLAN_NUD_TRACKING := n
70CONFIG_CP_STATS := n
71CONFIG_FEATURE_FW_LOG_PARSING := n
72CONFIG_PTT_SOCK_SVC_ENABLE := y
73CONFIG_WMI_INTERFACE_EVENT_LOGGING := y
74CONFIG_WLAN_FEATURE_LINK_LAYER_STATS := n
75CONFIG_FEATURE_ROAM_DEBUG := y
76
77CONFIG_WLAN_LOG_FATAL := y
78CONFIG_WLAN_LOG_ERROR := y
79CONFIG_WLAN_LOG_WARN := y
80CONFIG_WLAN_LOG_INFO := y
81CONFIG_WLAN_LOG_DEBUG := y
82
83ifeq ($(CONFIG_REMOVE_PKT_LOG), y)
84CONFIG_WDI_EVENT_ENABLE := n
85else
86CONFIG_WDI_EVENT_ENABLE := y
87endif
88
89PANIC_ON_BUG := y
90WLAN_WARN_ON_ASSERT := y
91CONFIG_WLAN_LOGGING_SOCK_SVC := y
92
Rakshith Suresh Patkard9f4e612018-09-12 12:10:38 +053093#Flag to enable wbuff feature
94CONFIG_WLAN_WBUFF := n
95
Rachit Kankane74dc5b82018-07-03 15:51:26 +053096# other features
97WLAN_OPEN_SOURCE := y
98CONFIG_ATH_PERF_PWR_OFFLOAD := y
99CONFIG_ATH_BUS_PM := n
100CONFIG_ATH_SUPPORT_FLOWMAC_MODULE := n
101CONFIG_ATH_SUPPORT_SPECTRAL := n
102CONFIG_LITTLE_ENDIAN := y
103CONFIG_QCA_WIFI_FTM := n
104CONFIG_ATH_PCIE_ACCESS_DEBUG := n
105CONFIG_QCA_SIGNED_SPLIT_BINARY_SUPPORT := n
106CONFIG_QCA_SINGLE_BINARY_SUPPORT := n
107CONFIG_TARGET_RAMDUMP_AFTER_KERNEL_PANIC := y
108CONFIG_FEATURE_SECURE_FIRMWARE := n
109CONFIG_WLAN_FEATURE_PACKET_FILTERING := n
110CONFIG_WLAN_NS_OFFLOAD := y
111CONFIG_FEATURE_WLAN_RA_FILTERING:= y
112ifeq ($(CONFIG_POWER_MANAGEMENT_OFFLOAD), y)
113CONFIG_FEATURE_WLAN_LPHB := y
114endif
115CONFIG_FEATURE_WLAN_EXTSCAN := n
116CONFIG_MCL := y
117CONFIG_MCL_REGDB := y
118CONFIG_WLAN_OFFLOAD_PACKETS := y
119CONFIG_WLAN_SYNC_TSF := y
120CONFIG_WLAN_FEATURE_DISA := n
121CONFIG_WLAN_FEATURE_FIPS := y
122CONFIG_WLAN_FEATURE_SAE := y
123CONFIG_CHNL_MATRIX_RESTRICTION := n
Qiwei Cai50a21082018-08-07 14:30:09 +0800124CONFIG_WLAN_ALLOCATE_GLOBAL_BUFFERS_DYNAMICALLY := y
Qiwei Caia01a9622018-07-11 10:02:03 +0800125CONFIG_WLAN_FEATURE_BMI := n
Rachit Kankane74dc5b82018-07-03 15:51:26 +0530126
Qiwei Caie689a262018-07-26 15:50:22 +0800127#Flags to enable/disable vendor commands
128CONFIG_FEATURE_RSSI_MONITOR := n
129CONFIG_FEATURE_BSS_TRANSITION := n
130CONFIG_FEATURE_STATION_INFO := n
131CONFIG_FEATURE_TX_POWER := n
132CONFIG_FEATURE_OTA_TEST := n
133CONFIG_FEATURE_ACTIVE_TOS := n
134CONFIG_FEATURE_SAR_LIMITS := y
135CONFIG_FEATURE_CONCURRENCY_MATRIX := n
136CONFIG_FEATURE_SAP_COND_CHAN_SWITCH := n
Rachit Kankane1de679d2018-09-06 16:15:58 +0530137CONFIG_FEATURE_P2P_LISTEN_OFFLOAD := n
Qiwei Caie689a262018-07-26 15:50:22 +0800138
Rachit Kankane74dc5b82018-07-03 15:51:26 +0530139ifeq ($(CONFIG_ARCH_SDM845), y)
140ifeq ($(CONFIG_IPA_OFFLOAD), y)
141CONFIG_ENABLE_SMMU_S1_TRANSLATION := y
142endif
143endif
144
145#Data Path specific features
146CONFIG_TX_CREDIT_RECLAIM_SUPPORT := n
147CONFIG_CHECKSUM_OFFLOAD := y
148CONFIG_QCA_SUPPORT_TX_THROTTLE := y
149
150ifeq ($(CONFIG_POWER_MANAGEMENT_OFFLOAD), y)
151CONFIG_GTK_OFFLOAD := y
152endif
153CONFIG_QCACLD_FEATURE_APF := y
154
Jeff Johnsonfcc29d42018-07-17 20:36:45 -0700155#Flag to enable SARv1 -> SARv2 conversion
156CONFIG_WLAN_FEATURE_SARV1_TO_SARV2 := n
157
Rachit Kankane74dc5b82018-07-03 15:51:26 +0530158ifneq ($(DEVELOPER_DISABLE_BUILD_TIMESTAMP), y)
159ifneq ($(WLAN_DISABLE_BUILD_TAG), y)
160CONFIG_BUILD_TAG := y
161endif
162endif
163
Rachit Kankaneb57ea612018-09-10 12:36:20 +0530164#Buffer allocations dynamically
165ifeq ($(CONFIG_WLAN_ALLOCATE_GLOBAL_BUFFERS_DYNAMICALLY), y)
166CONFIG_WLAN_DFS_STATIC_MEM_ALLOC := n
167endif
168
Rachit Kankane74dc5b82018-07-03 15:51:26 +0530169# WoW filer configs
170CONFIG_CFG_PMO_WOW_FILTERS_MAX := 16
171
jsreekumac44b922018-06-12 20:18:39 +0530172# Offload configs
173CONFIG_CFG_GTK_OFFLOAD_MAX_VDEV := 2
174CONFIG_CFG_ROAM_OFFLOAD_MAX_VDEV := 1
175
176# Max Periodic Tx Pattern Config
177CONFIG_CFG_MAX_PERIODIC_TX_PTRNS := 2
178
179# Max Sta Vdev Config
180CONFIG_CFG_MAX_STA_VDEVS := 2
181
Rachit Kankane74dc5b82018-07-03 15:51:26 +0530182# Additional peers sent to firmware
183CONFIG_CFG_NUM_OF_ADDITIONAL_FW_PEERS := 0
jsreekumac44b922018-06-12 20:18:39 +0530184
185# Number of TDLS peers that each Tdls vdev can track
186CONFIG_CFG_NUM_OF_TDLS_CONN_TABLE_ENTRIES := 4
Rachit Kankane154559c2018-07-12 14:02:30 +0530187
188#Number of BSS sessions at a time, used for allocating memory should never be
189#less then number of vdevs - INI
190CONFIG_SIR_MAX_SUPPORTED_BSS := 3
191
192#Number of STA sessions max connected to our SAP, used for allocating memory
193#should never be less then number of max peers - INI
194CONFIG_SIR_SAP_MAX_NUM_PEERS := 10
Rachit Kankane74dc5b82018-07-03 15:51:26 +0530195###################################