1# Protocol specific features 2 3#features not required for GENOA IOT, compilation errors are there. 4CONFIG_TX_AGGREGATION_SIZE_ENABLE := y 5CONFIG_SUPPORT_11AX := y 6CONFIG_160MHZ_SUPPORT := y 7CONFIG_FEATURE_STATS_EXT := n 8CONFIG_FEATURE_WLAN_FT_IEEE8021X := y 9CONFIG_FEATURE_WLAN_FT_PSK := y 10 11#required features 12CONFIG_QCACLD_WLAN_LFR2 := y 13CONFIG_QCACLD_WLAN_LFR3 := n 14CONFIG_QCOM_TDLS := y 15CONFIG_QCACLD_FEATURE_GREEN_AP := n 16CONFIG_QCOM_VOWIFI_11R := y 17CONFIG_WLAN_FEATURE_FILS := y 18CONFIG_QCOM_LTE_COEX := n 19CONFIG_WLAN_FEATURE_LPSS := n 20CONFIG_QCACLD_FEATURE_NAN := y 21CONFIG_POWER_MANAGEMENT_OFFLOAD := y 22CONFIG_LFR_SUBNET_DETECTION := y 23CONFIG_MCC_TO_SCC_SWITCH := y 24CONFIG_QCOM_ESE := n 25CONFIG_WLAN_CONV_SPECTRAL_ENABLE := n 26CONFIG_WLAN_DFS_MASTER_ENABLE := y 27CONFIG_WIFI_POS_CONVERGED := y 28CONFIG_WIFI_POS_LEGACY := n 29CONFIG_FEATURE_WLAN_WAPI := y 30CONFIG_AGEIE_ON_SCAN_RESULTS := y 31CONFIG_WLAN_PMO_ENABLE := y 32CONFIG_CONVERGED_P2P_ENABLE := y 33CONFIG_WLAN_POLICY_MGR_ENABLE := y 34CONFIG_HDD_INIT_WITH_RTNL_LOCK := y 35CONFIG_WLAN_FEATURE_TWT := n 36CONFIG_WMI_CMD_STRINGS := y 37CONFIG_SOFTAP_CHANNEL_RANGE := y 38CONFIG_FEATURE_WLAN_SCAN_PNO := y 39CONFIG_WLAN_FEATURE_DSRC := n 40CONFIG_FEATURE_MONITOR_MODE_SUPPORT := n 41CONFIG_DP_TRACE := y 42CONFIG_QCACLD_FEATURE_METERING := n 43 44#Flag to enable Dynamic Voltage WDCVS (Config Voltage Mode) 45CONFIG_WLAN_DYNAMIC_CVM := n 46 47#We might need to disable WEXT support in perf builds in future 48ifeq ($(CONFIG_WIRELESS_EXT), y) 49CONFIG_WLAN_WEXT_SUPPORT_ENABLE := y 50endif 51CONFIG_HOST_11D_SCAN := y 52 53#Flag to enable/disable Avoid acs freq feature 54CONFIG_SAP_AVOID_ACS_FREQ_LIST := n 55 56ifeq ($(CONFIG_ARCH_MSM8996), y) 57CONFIG_CHANNEL_HOPPING_ALL_BANDS := y 58endif 59 60# Debug specific features 61CONFIG_WLAN_LOGGING_BUFFERS_DYNAMICALLY := y 62CONFIG_WLAN_DEBUG_VERSION := y 63CONFIG_WLAN_DIAG_VERSION := n 64 65CONFIG_REMOVE_PKT_LOG := y 66CONFIG_FEATURE_HTC_CREDIT_HISTORY := y 67CONFIG_TRACE_RECORD_FEATURE := y 68CONFIG_WLAN_NUD_TRACKING := n 69CONFIG_CP_STATS := y 70CONFIG_QCA_TARGET_IF_MLME := y 71CONFIG_FEATURE_FW_LOG_PARSING := y 72CONFIG_PTT_SOCK_SVC_ENABLE := y 73CONFIG_WMI_INTERFACE_EVENT_LOGGING := y 74CONFIG_FEATURE_ROAM_DEBUG := y 75 76CONFIG_WLAN_LOG_FATAL := y 77CONFIG_WLAN_LOG_ERROR := y 78CONFIG_WLAN_LOG_WARN := y 79CONFIG_WLAN_LOG_INFO := y 80CONFIG_WLAN_LOG_DEBUG := y 81 82ifeq ($(CONFIG_REMOVE_PKT_LOG), y) 83CONFIG_WDI_EVENT_ENABLE := n 84else 85CONFIG_WDI_EVENT_ENABLE := y 86endif 87 88ifeq ($(CONFIG_REMOVE_PKT_LOG), n) 89CONFIG_PKTLOG_LEGACY := y 90endif 91 92#Enable the type_specific_data in the ath_pktlog_arg 93ifeq ($(CONFIG_REMOVE_PKT_LOG), n) 94CONFIG_PKTLOG_HAS_SPECIFIC_DATA := y 95endif 96 97ifeq ($(CONFIG_SLUB_DEBUG), y) 98 PANIC_ON_BUG := y 99 WLAN_WARN_ON_ASSERT := y 100else ifeq ($(CONFIG_PERF_DEBUG), y) 101 PANIC_ON_BUG := y 102 WLAN_WARN_ON_ASSERT := y 103else 104 PANIC_ON_BUG := n 105 WLAN_WARN_ON_ASSERT := n 106endif 107 108CONFIG_WLAN_LOGGING_SOCK_SVC := y 109 110#Flag to enable wbuff feature 111CONFIG_WLAN_WBUFF := n 112 113# other features 114WLAN_OPEN_SOURCE := y 115CONFIG_ATH_PERF_PWR_OFFLOAD := y 116CONFIG_ATH_BUS_PM := n 117CONFIG_ATH_SUPPORT_FLOWMAC_MODULE := n 118CONFIG_ATH_SUPPORT_SPECTRAL := n 119CONFIG_LITTLE_ENDIAN := y 120CONFIG_ATH_PCIE_ACCESS_DEBUG := n 121CONFIG_QCA_SIGNED_SPLIT_BINARY_SUPPORT := n 122CONFIG_QCA_SINGLE_BINARY_SUPPORT := n 123CONFIG_TARGET_RAMDUMP_AFTER_KERNEL_PANIC := y 124CONFIG_FEATURE_SECURE_FIRMWARE := n 125CONFIG_WLAN_FEATURE_PACKET_FILTERING := y 126CONFIG_WLAN_NS_OFFLOAD := y 127CONFIG_FEATURE_WLAN_RA_FILTERING:= y 128ifeq ($(CONFIG_POWER_MANAGEMENT_OFFLOAD), y) 129CONFIG_FEATURE_WLAN_LPHB := y 130endif 131CONFIG_FEATURE_WLAN_EXTSCAN := n 132CONFIG_REG_CLIENT := y 133CONFIG_WLAN_OFFLOAD_PACKETS := y 134CONFIG_WLAN_SYNC_TSF := y 135CONFIG_WLAN_FEATURE_DISA := n 136CONFIG_WLAN_FEATURE_FIPS := y 137CONFIG_WLAN_FEATURE_SAE := y 138CONFIG_CHNL_MATRIX_RESTRICTION := n 139CONFIG_WLAN_ALLOCATE_GLOBAL_BUFFERS_DYNAMICALLY := y 140CONFIG_WLAN_FEATURE_BMI := n 141# Enable FW stats version 2 142CONFIG_AR900B := y 143 144#Flags to enable/disable vendor commands 145CONFIG_FEATURE_RSSI_MONITOR := n 146CONFIG_FEATURE_BSS_TRANSITION := n 147CONFIG_FEATURE_STATION_INFO := y 148CONFIG_FEATURE_TX_POWER := n 149CONFIG_FEATURE_OTA_TEST := n 150CONFIG_FEATURE_ACTIVE_TOS := n 151CONFIG_FEATURE_SAR_LIMITS := y 152CONFIG_FEATURE_CONCURRENCY_MATRIX := n 153CONFIG_FEATURE_SAP_COND_CHAN_SWITCH := n 154CONFIG_FEATURE_P2P_LISTEN_OFFLOAD := n 155 156#Flags to enable/disable WMI APIs 157CONFIG_WMI_ROAM_SUPPORT := y 158CONFIG_WMI_CONCURRENCY_SUPPORT := y 159CONFIG_WMI_STA_SUPPORT := y 160 161ifeq ($(CONFIG_ARCH_SDM845), y) 162ifeq ($(CONFIG_IPA_OFFLOAD), y) 163CONFIG_ENABLE_SMMU_S1_TRANSLATION := y 164endif 165endif 166 167#Data Path specific features 168CONFIG_TX_CREDIT_RECLAIM_SUPPORT := n 169CONFIG_CHECKSUM_OFFLOAD := y 170CONFIG_QCA_SUPPORT_TX_THROTTLE := y 171 172ifeq ($(CONFIG_POWER_MANAGEMENT_OFFLOAD), y) 173CONFIG_GTK_OFFLOAD := y 174endif 175CONFIG_QCACLD_FEATURE_APF := y 176 177#Flag to enable SARv1 -> SARv2 conversion 178CONFIG_WLAN_FEATURE_SARV1_TO_SARV2 := n 179 180ifneq ($(DEVELOPER_DISABLE_BUILD_TIMESTAMP), y) 181ifneq ($(WLAN_DISABLE_BUILD_TAG), y) 182CONFIG_BUILD_TAG := y 183endif 184endif 185 186# Use static allocation for DFS 187CONFIG_WLAN_DFS_STATIC_MEM_ALLOC := y 188 189# WoW filer configs 190CONFIG_CFG_PMO_WOW_FILTERS_MAX := 16 191 192# Offload configs 193CONFIG_CFG_GTK_OFFLOAD_MAX_VDEV := 2 194CONFIG_CFG_ROAM_OFFLOAD_MAX_VDEV := 1 195 196# Max Periodic Tx Pattern Config 197CONFIG_CFG_MAX_PERIODIC_TX_PTRNS := 3 198 199# Max Sta Vdev Config 200CONFIG_CFG_MAX_STA_VDEVS := 2 201 202# Additional peers sent to firmware 203CONFIG_CFG_NUM_OF_ADDITIONAL_FW_PEERS := 0 204 205# Number of TDLS peers that each Tdls vdev can track 206CONFIG_CFG_NUM_OF_TDLS_CONN_TABLE_ENTRIES := 4 207 208# Number of vdevs supported at one time, used for allocating memory 209CONFIG_WLAN_MAX_VDEVS := 3 210 211#Number of STA sessions max connected to our SAP, used for allocating memory 212#should never be less then number of max peers - INI 213CONFIG_SIR_SAP_MAX_NUM_PEERS := 10 214 215#Max no of offloaded beaconing entities supported 216CONFIG_BEACON_TX_OFFLOAD_MAX_VDEV := 3 217 218#Beacon offload config 219CONFIG_WMI_BCN_OFFLOAD := y 220 221#Flag to enable Supported Operating class 222CONFIG_HOST_OPCLASS := y 223 224#Enable STATE MACHINE HISTORY 225CONFIG_SM_ENG_HIST := n 226 227ifeq (y,$(findstring y,$(CONFIG_ARCH_MSM) $(CONFIG_ARCH_QCOM) $(CONFIG_QCA_SUPPORT_TXRX_DRIVER_TCP_DEL_ACK))) 228CONFIG_WLAN_FEATURE_DP_BUS_BANDWIDTH := y 229endif 230 231CONFIG_SAP_DHCP_FW_IND := n 232 233#Enable FW Offload 234CONFIG_WLAN_FW_OFFLOAD := y 235 236#Enable PCIe Shadow Register 237CONFIG_QCN7605_PCIE_SHADOW_REG_SUPPORT := y 238 239ifeq (y, $(filter y, $(CONFIG_ARCH_SDXPRAIRIE) $(CONFIG_ARCH_SA515) $(CONFIG_ARCH_SDXPOORWILLS) $(CONFIG_ARCH_SA515M))) 240CONFIG_MOBILE_ROUTER := y 241endif 242 243# enable/disable feature flags based upon mobile router profile 244ifeq ($(CONFIG_MOBILE_ROUTER), y) 245CONFIG_FEATURE_WLAN_MCC_TO_SCC_SWITCH := y 246CONFIG_FEATURE_WLAN_AUTO_SHUTDOWN := y 247CONFIG_FEATURE_WLAN_AP_AP_ACS_OPTIMIZE := y 248CONFIG_FEATURE_WLAN_STA_4ADDR_SCHEME := y 249CONFIG_MDM_PLATFORM := y 250CONFIG_FEATURE_WLAN_STA_AP_MODE_DFS_DISABLE := y 251CONFIG_FEATURE_AP_MCC_CH_AVOIDANCE := y 252CONFIG_WLAN_OPEN_P2P_INTERFACE := n 253CONFIG_WLAN_ENABLE_SOCIAL_CHANNELS_5G_ONLY := n 254else 255CONFIG_WLAN_OPEN_P2P_INTERFACE := y 256CONFIG_WLAN_ENABLE_SOCIAL_CHANNELS_5G_ONLY := y 257endif 258 259CONFIG_WLAN_SYSFS_MEM_STATS := y 260################################### 261