blob: 828a01041daa528cbcac51f4bc315784aa8a6b40 [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
Rachit Kankane2a3fd392018-12-06 14:03:57 +05308CONFIG_FEATURE_WLAN_FT_IEEE8021X := y
9CONFIG_FEATURE_WLAN_FT_PSK := y
Rachit Kankane74dc5b82018-07-03 15:51:26 +053010
11#required features
Rachit Kankaneee1735c2018-08-02 13:19:34 +053012CONFIG_FEATURE_WLAN_RMC := n
Rachit Kankane74dc5b82018-07-03 15:51:26 +053013CONFIG_QCACLD_WLAN_LFR2 := y
14CONFIG_QCACLD_WLAN_LFR3 := n
15CONFIG_QCOM_TDLS := y
16CONFIG_QCACLD_FEATURE_GREEN_AP := n
17CONFIG_QCOM_VOWIFI_11R := y
18CONFIG_WLAN_FEATURE_FILS := y
19CONFIG_WLAN_FEATURE_11W := y
20CONFIG_QCOM_LTE_COEX := n
21CONFIG_WLAN_FEATURE_LPSS := n
22CONFIG_QCACLD_FEATURE_NAN := y
Rachit Kankane74dc5b82018-07-03 15:51:26 +053023CONFIG_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
Rachit Kankane74dc5b82018-07-03 15:51:26 +053035CONFIG_WLAN_PMO_ENABLE := y
36CONFIG_CONVERGED_P2P_ENABLE := y
37CONFIG_WLAN_POLICY_MGR_ENABLE := y
38CONFIG_HDD_INIT_WITH_RTNL_LOCK := y
Rachit Kankane74dc5b82018-07-03 15:51:26 +053039CONFIG_WLAN_FEATURE_TWT := n
40CONFIG_WMI_CMD_STRINGS := y
41CONFIG_SOFTAP_CHANNEL_RANGE := y
42CONFIG_FEATURE_WLAN_SCAN_PNO := y
43CONFIG_WLAN_FEATURE_DSRC := n
44CONFIG_FEATURE_MONITOR_MODE_SUPPORT := n
45CONFIG_DP_TRACE := y
46CONFIG_QCACLD_FEATURE_METERING := n
Rachit Kankanef6834c42018-08-02 18:47:50 +053047
48#Flag to enable Dynamic Voltage WDCVS (Config Voltage Mode)
49CONFIG_WLAN_DYNAMIC_CVM := n
50
Rachit Kankane74dc5b82018-07-03 15:51:26 +053051#We might need to disable WEXT support in perf builds in future
52CONFIG_WLAN_WEXT_SUPPORT_ENABLE := y
Liangwei Dong2fce7162018-08-24 01:07:22 -040053CONFIG_HOST_11D_SCAN := y
Rachit Kankane74dc5b82018-07-03 15:51:26 +053054
Ashish Kumar Dhanotiya2168aad2019-06-12 20:51:36 +053055#Flag to enable/disable Avoid acs freq feature
56CONFIG_SAP_AVOID_ACS_FREQ_LIST := n
57
Rachit Kankane74dc5b82018-07-03 15:51:26 +053058ifeq ($(CONFIG_ARCH_MSM8996), y)
59CONFIG_CHANNEL_HOPPING_ALL_BANDS := y
60endif
61
62# Debug specific features
63CONFIG_WLAN_LOGGING_BUFFERS_DYNAMICALLY := y
64BUILD_DEBUG_VERSION := y
Qiwei Caiba95ce62018-08-23 10:43:16 +080065BUILD_DIAG_VERSION := n
Rachit Kankane74dc5b82018-07-03 15:51:26 +053066
Nirav Shahca7ab5c2019-05-13 11:18:28 +053067CONFIG_REMOVE_PKT_LOG := y
Rachit Kankane74dc5b82018-07-03 15:51:26 +053068CONFIG_FEATURE_HTC_CREDIT_HISTORY := y
69CONFIG_TRACE_RECORD_FEATURE := y
70CONFIG_WLAN_NUD_TRACKING := n
Nirav Shahfd307be2019-04-26 11:50:01 +053071CONFIG_CP_STATS := y
Rachit Kankane74dc5b82018-07-03 15:51:26 +053072CONFIG_FEATURE_FW_LOG_PARSING := n
73CONFIG_PTT_SOCK_SVC_ENABLE := y
74CONFIG_WMI_INTERFACE_EVENT_LOGGING := y
75CONFIG_WLAN_FEATURE_LINK_LAYER_STATS := n
76CONFIG_FEATURE_ROAM_DEBUG := y
77
78CONFIG_WLAN_LOG_FATAL := y
79CONFIG_WLAN_LOG_ERROR := y
80CONFIG_WLAN_LOG_WARN := y
81CONFIG_WLAN_LOG_INFO := y
82CONFIG_WLAN_LOG_DEBUG := y
83
84ifeq ($(CONFIG_REMOVE_PKT_LOG), y)
85CONFIG_WDI_EVENT_ENABLE := n
86else
87CONFIG_WDI_EVENT_ENABLE := y
88endif
89
Chaoli Zhoub8c766a2019-12-25 17:40:54 +080090ifeq ($(CONFIG_REMOVE_PKT_LOG), n)
91CONFIG_PKTLOG_LEGACY := y
92endif
93
Tiger Yubf14ba82019-09-09 12:46:22 +080094#Enable the type_specific_data in the ath_pktlog_arg
95ifeq ($(CONFIG_REMOVE_PKT_LOG), n)
96CONFIG_PKTLOG_HAS_SPECIFIC_DATA := y
97endif
98
Rachit Kankane74dc5b82018-07-03 15:51:26 +053099PANIC_ON_BUG := y
100WLAN_WARN_ON_ASSERT := y
101CONFIG_WLAN_LOGGING_SOCK_SVC := y
102
Rakshith Suresh Patkard9f4e612018-09-12 12:10:38 +0530103#Flag to enable wbuff feature
104CONFIG_WLAN_WBUFF := n
105
Rachit Kankane74dc5b82018-07-03 15:51:26 +0530106# other features
107WLAN_OPEN_SOURCE := y
108CONFIG_ATH_PERF_PWR_OFFLOAD := y
109CONFIG_ATH_BUS_PM := n
110CONFIG_ATH_SUPPORT_FLOWMAC_MODULE := n
111CONFIG_ATH_SUPPORT_SPECTRAL := n
112CONFIG_LITTLE_ENDIAN := y
Rachit Kankane74dc5b82018-07-03 15:51:26 +0530113CONFIG_ATH_PCIE_ACCESS_DEBUG := n
114CONFIG_QCA_SIGNED_SPLIT_BINARY_SUPPORT := n
115CONFIG_QCA_SINGLE_BINARY_SUPPORT := n
116CONFIG_TARGET_RAMDUMP_AFTER_KERNEL_PANIC := y
117CONFIG_FEATURE_SECURE_FIRMWARE := n
Rachit Kankane3621f7b2019-05-09 14:30:14 +0530118CONFIG_WLAN_FEATURE_PACKET_FILTERING := y
Rachit Kankane74dc5b82018-07-03 15:51:26 +0530119CONFIG_WLAN_NS_OFFLOAD := y
120CONFIG_FEATURE_WLAN_RA_FILTERING:= y
121ifeq ($(CONFIG_POWER_MANAGEMENT_OFFLOAD), y)
122CONFIG_FEATURE_WLAN_LPHB := y
123endif
124CONFIG_FEATURE_WLAN_EXTSCAN := n
125CONFIG_MCL := y
bings2f0f9f02019-03-08 10:59:15 +0800126CONFIG_REG_CLIENT := y
Rachit Kankane74dc5b82018-07-03 15:51:26 +0530127CONFIG_WLAN_OFFLOAD_PACKETS := y
128CONFIG_WLAN_SYNC_TSF := y
129CONFIG_WLAN_FEATURE_DISA := n
130CONFIG_WLAN_FEATURE_FIPS := y
131CONFIG_WLAN_FEATURE_SAE := y
132CONFIG_CHNL_MATRIX_RESTRICTION := n
Qiwei Cai50a21082018-08-07 14:30:09 +0800133CONFIG_WLAN_ALLOCATE_GLOBAL_BUFFERS_DYNAMICALLY := y
Qiwei Caia01a9622018-07-11 10:02:03 +0800134CONFIG_WLAN_FEATURE_BMI := n
Nirav Shah8d6862c2019-06-10 22:02:39 +0530135# Enable FW stats version 2
136CONFIG_AR900B := y
Rachit Kankane74dc5b82018-07-03 15:51:26 +0530137
Qiwei Caie689a262018-07-26 15:50:22 +0800138#Flags to enable/disable vendor commands
139CONFIG_FEATURE_RSSI_MONITOR := n
140CONFIG_FEATURE_BSS_TRANSITION := n
141CONFIG_FEATURE_STATION_INFO := n
142CONFIG_FEATURE_TX_POWER := n
143CONFIG_FEATURE_OTA_TEST := n
144CONFIG_FEATURE_ACTIVE_TOS := n
145CONFIG_FEATURE_SAR_LIMITS := y
146CONFIG_FEATURE_CONCURRENCY_MATRIX := n
147CONFIG_FEATURE_SAP_COND_CHAN_SWITCH := n
Rachit Kankane1de679d2018-09-06 16:15:58 +0530148CONFIG_FEATURE_P2P_LISTEN_OFFLOAD := n
Qiwei Caie689a262018-07-26 15:50:22 +0800149
Qiwei Caidcb73b02018-09-17 19:58:29 +0800150#Flags to enable/disable WMI APIs
151CONFIG_WMI_ROAM_SUPPORT := y
152CONFIG_WMI_CONCURRENCY_SUPPORT := y
153CONFIG_WMI_STA_SUPPORT := y
154
Rachit Kankane74dc5b82018-07-03 15:51:26 +0530155ifeq ($(CONFIG_ARCH_SDM845), y)
156ifeq ($(CONFIG_IPA_OFFLOAD), y)
157CONFIG_ENABLE_SMMU_S1_TRANSLATION := y
158endif
159endif
160
161#Data Path specific features
162CONFIG_TX_CREDIT_RECLAIM_SUPPORT := n
163CONFIG_CHECKSUM_OFFLOAD := y
164CONFIG_QCA_SUPPORT_TX_THROTTLE := y
165
166ifeq ($(CONFIG_POWER_MANAGEMENT_OFFLOAD), y)
167CONFIG_GTK_OFFLOAD := y
168endif
169CONFIG_QCACLD_FEATURE_APF := y
170
Jeff Johnsonfcc29d42018-07-17 20:36:45 -0700171#Flag to enable SARv1 -> SARv2 conversion
172CONFIG_WLAN_FEATURE_SARV1_TO_SARV2 := n
173
Rachit Kankane74dc5b82018-07-03 15:51:26 +0530174ifneq ($(DEVELOPER_DISABLE_BUILD_TIMESTAMP), y)
175ifneq ($(WLAN_DISABLE_BUILD_TAG), y)
176CONFIG_BUILD_TAG := y
177endif
178endif
179
Rachit Kankaneb57ea612018-09-10 12:36:20 +0530180#Buffer allocations dynamically
181ifeq ($(CONFIG_WLAN_ALLOCATE_GLOBAL_BUFFERS_DYNAMICALLY), y)
182CONFIG_WLAN_DFS_STATIC_MEM_ALLOC := n
183endif
184
Rachit Kankane74dc5b82018-07-03 15:51:26 +0530185# WoW filer configs
186CONFIG_CFG_PMO_WOW_FILTERS_MAX := 16
187
jsreekumac44b922018-06-12 20:18:39 +0530188# Offload configs
189CONFIG_CFG_GTK_OFFLOAD_MAX_VDEV := 2
190CONFIG_CFG_ROAM_OFFLOAD_MAX_VDEV := 1
191
192# Max Periodic Tx Pattern Config
193CONFIG_CFG_MAX_PERIODIC_TX_PTRNS := 2
194
195# Max Sta Vdev Config
196CONFIG_CFG_MAX_STA_VDEVS := 2
197
Rachit Kankane74dc5b82018-07-03 15:51:26 +0530198# Additional peers sent to firmware
199CONFIG_CFG_NUM_OF_ADDITIONAL_FW_PEERS := 0
jsreekumac44b922018-06-12 20:18:39 +0530200
201# Number of TDLS peers that each Tdls vdev can track
202CONFIG_CFG_NUM_OF_TDLS_CONN_TABLE_ENTRIES := 4
Rachit Kankane154559c2018-07-12 14:02:30 +0530203
Dustin Browna19834b2019-02-04 14:40:26 -0800204# Number of vdevs supported at one time, used for allocating memory
205CONFIG_WLAN_MAX_VDEVS := 3
Rachit Kankane154559c2018-07-12 14:02:30 +0530206
207#Number of STA sessions max connected to our SAP, used for allocating memory
208#should never be less then number of max peers - INI
209CONFIG_SIR_SAP_MAX_NUM_PEERS := 10
Ajit Pal Singh72100442018-12-04 17:04:36 +0530210
211#Max no of offloaded beaconing entities supported
212CONFIG_BEACON_TX_OFFLOAD_MAX_VDEV := 3
Harprit Chhabada253e36a2018-12-11 15:29:55 -0800213
214#Beacon offload config
215CONFIG_WMI_BCN_OFFLOAD := y
216
nakul kachhwaha8b6c2312019-04-10 16:17:04 +0530217#Flag to enable Supported Operating class
218CONFIG_HOST_OPCLASS := y
Sandeep Puligilla2c8d6212019-03-25 17:41:37 -0700219
Sandeep Puligilla2c8d6212019-03-25 17:41:37 -0700220#Enable STATE MACHINE HISTORY
221CONFIG_SM_ENG_HIST := n
Tiger Yu8b119e92019-04-09 13:55:07 +0800222
Tiger Yue40e7832019-04-25 10:46:53 +0800223ifeq (y,$(findstring y,$(CONFIG_ARCH_MSM) $(CONFIG_ARCH_QCOM) $(CONFIG_QCA_SUPPORT_TXRX_DRIVER_TCP_DEL_ACK)))
Tiger Yu8b119e92019-04-09 13:55:07 +0800224CONFIG_WLAN_FEATURE_DP_BUS_BANDWIDTH := y
225endif
226
Nirav Shaha43f6dc2019-07-24 14:32:25 +0530227CONFIG_SAP_DHCP_FW_IND := n
Paul Zhangc9dbaee2019-06-23 22:07:31 +0800228
229#Enable FW Offload
230CONFIG_WLAN_FW_OFFLOAD := y
231
Rachit Kankane74dc5b82018-07-03 15:51:26 +0530232###################################