Rachit Kankane | 74dc5b8 | 2018-07-03 15:51:26 +0530 | [diff] [blame] | 1 | # Protocol specific features |
| 2 | |
| 3 | #features not required for GENOA IOT, compilation errors are there. |
Rachit Kankane | 74dc5b8 | 2018-07-03 15:51:26 +0530 | [diff] [blame] | 4 | CONFIG_SUPPORT_11AX := y |
| 5 | CONFIG_160MHZ_SUPPORT := y |
Qiwei Cai | e689a26 | 2018-07-26 15:50:22 +0800 | [diff] [blame] | 6 | CONFIG_FEATURE_STATS_EXT := n |
Rachit Kankane | 74dc5b8 | 2018-07-03 15:51:26 +0530 | [diff] [blame] | 7 | CONFIG_QCA_IBSS_SUPPORT := y |
Rachit Kankane | 2a3fd39 | 2018-12-06 14:03:57 +0530 | [diff] [blame] | 8 | CONFIG_FEATURE_WLAN_FT_IEEE8021X := y |
| 9 | CONFIG_FEATURE_WLAN_FT_PSK := y |
Rachit Kankane | 74dc5b8 | 2018-07-03 15:51:26 +0530 | [diff] [blame] | 10 | |
| 11 | #required features |
Rachit Kankane | ee1735c | 2018-08-02 13:19:34 +0530 | [diff] [blame] | 12 | CONFIG_FEATURE_WLAN_RMC := n |
Rachit Kankane | 74dc5b8 | 2018-07-03 15:51:26 +0530 | [diff] [blame] | 13 | CONFIG_QCACLD_WLAN_LFR2 := y |
| 14 | CONFIG_QCACLD_WLAN_LFR3 := n |
| 15 | CONFIG_QCOM_TDLS := y |
| 16 | CONFIG_QCACLD_FEATURE_GREEN_AP := n |
| 17 | CONFIG_QCOM_VOWIFI_11R := y |
| 18 | CONFIG_WLAN_FEATURE_FILS := y |
| 19 | CONFIG_WLAN_FEATURE_11W := y |
| 20 | CONFIG_QCOM_LTE_COEX := n |
| 21 | CONFIG_WLAN_FEATURE_LPSS := n |
| 22 | CONFIG_QCACLD_FEATURE_NAN := y |
Rachit Kankane | 74dc5b8 | 2018-07-03 15:51:26 +0530 | [diff] [blame] | 23 | CONFIG_POWER_MANAGEMENT_OFFLOAD := y |
| 24 | CONFIG_LFR_SUBNET_DETECTION := y |
| 25 | CONFIG_MCC_TO_SCC_SWITCH := y |
Qiwei Cai | 36bd9de | 2018-09-03 10:45:47 +0800 | [diff] [blame] | 26 | CONFIG_QCOM_ESE := n |
Rachit Kankane | 74dc5b8 | 2018-07-03 15:51:26 +0530 | [diff] [blame] | 27 | CONFIG_WLAN_OPEN_P2P_INTERFACE := y |
Rachit Kankane | f3f4068 | 2018-07-05 11:30:33 +0530 | [diff] [blame] | 28 | CONFIG_WLAN_CONV_SPECTRAL_ENABLE := n |
Rachit Kankane | 74dc5b8 | 2018-07-03 15:51:26 +0530 | [diff] [blame] | 29 | CONFIG_WLAN_ENABLE_SOCIAL_CHANNELS_5G_ONLY := y |
| 30 | CONFIG_WLAN_DFS_MASTER_ENABLE := y |
| 31 | CONFIG_WIFI_POS_CONVERGED := y |
| 32 | CONFIG_WIFI_POS_LEGACY := n |
| 33 | CONFIG_FEATURE_WLAN_WAPI := y |
| 34 | CONFIG_AGEIE_ON_SCAN_RESULTS := y |
Rachit Kankane | 74dc5b8 | 2018-07-03 15:51:26 +0530 | [diff] [blame] | 35 | CONFIG_WLAN_PMO_ENABLE := y |
| 36 | CONFIG_CONVERGED_P2P_ENABLE := y |
| 37 | CONFIG_WLAN_POLICY_MGR_ENABLE := y |
| 38 | CONFIG_HDD_INIT_WITH_RTNL_LOCK := y |
Rachit Kankane | 74dc5b8 | 2018-07-03 15:51:26 +0530 | [diff] [blame] | 39 | CONFIG_WLAN_FEATURE_TWT := n |
| 40 | CONFIG_WMI_CMD_STRINGS := y |
| 41 | CONFIG_SOFTAP_CHANNEL_RANGE := y |
| 42 | CONFIG_FEATURE_WLAN_SCAN_PNO := y |
| 43 | CONFIG_WLAN_FEATURE_DSRC := n |
| 44 | CONFIG_FEATURE_MONITOR_MODE_SUPPORT := n |
| 45 | CONFIG_DP_TRACE := y |
| 46 | CONFIG_QCACLD_FEATURE_METERING := n |
Rachit Kankane | f6834c4 | 2018-08-02 18:47:50 +0530 | [diff] [blame] | 47 | |
| 48 | #Flag to enable Dynamic Voltage WDCVS (Config Voltage Mode) |
| 49 | CONFIG_WLAN_DYNAMIC_CVM := n |
| 50 | |
Rachit Kankane | 74dc5b8 | 2018-07-03 15:51:26 +0530 | [diff] [blame] | 51 | #We might need to disable WEXT support in perf builds in future |
| 52 | CONFIG_WLAN_WEXT_SUPPORT_ENABLE := y |
Liangwei Dong | 2fce716 | 2018-08-24 01:07:22 -0400 | [diff] [blame] | 53 | CONFIG_HOST_11D_SCAN := y |
Rachit Kankane | 74dc5b8 | 2018-07-03 15:51:26 +0530 | [diff] [blame] | 54 | |
Ashish Kumar Dhanotiya | 2168aad | 2019-06-12 20:51:36 +0530 | [diff] [blame] | 55 | #Flag to enable/disable Avoid acs freq feature |
| 56 | CONFIG_SAP_AVOID_ACS_FREQ_LIST := n |
| 57 | |
Rachit Kankane | 74dc5b8 | 2018-07-03 15:51:26 +0530 | [diff] [blame] | 58 | ifeq ($(CONFIG_ARCH_MSM8996), y) |
| 59 | CONFIG_CHANNEL_HOPPING_ALL_BANDS := y |
| 60 | endif |
| 61 | |
| 62 | # Debug specific features |
| 63 | CONFIG_WLAN_LOGGING_BUFFERS_DYNAMICALLY := y |
| 64 | BUILD_DEBUG_VERSION := y |
Qiwei Cai | ba95ce6 | 2018-08-23 10:43:16 +0800 | [diff] [blame] | 65 | BUILD_DIAG_VERSION := n |
Rachit Kankane | 74dc5b8 | 2018-07-03 15:51:26 +0530 | [diff] [blame] | 66 | |
Nirav Shah | ca7ab5c | 2019-05-13 11:18:28 +0530 | [diff] [blame] | 67 | CONFIG_REMOVE_PKT_LOG := y |
Rachit Kankane | 74dc5b8 | 2018-07-03 15:51:26 +0530 | [diff] [blame] | 68 | CONFIG_FEATURE_HTC_CREDIT_HISTORY := y |
| 69 | CONFIG_TRACE_RECORD_FEATURE := y |
| 70 | CONFIG_WLAN_NUD_TRACKING := n |
Nirav Shah | fd307be | 2019-04-26 11:50:01 +0530 | [diff] [blame] | 71 | CONFIG_CP_STATS := y |
Rachit Kankane | 74dc5b8 | 2018-07-03 15:51:26 +0530 | [diff] [blame] | 72 | CONFIG_FEATURE_FW_LOG_PARSING := n |
| 73 | CONFIG_PTT_SOCK_SVC_ENABLE := y |
| 74 | CONFIG_WMI_INTERFACE_EVENT_LOGGING := y |
| 75 | CONFIG_WLAN_FEATURE_LINK_LAYER_STATS := n |
| 76 | CONFIG_FEATURE_ROAM_DEBUG := y |
| 77 | |
| 78 | CONFIG_WLAN_LOG_FATAL := y |
| 79 | CONFIG_WLAN_LOG_ERROR := y |
| 80 | CONFIG_WLAN_LOG_WARN := y |
| 81 | CONFIG_WLAN_LOG_INFO := y |
| 82 | CONFIG_WLAN_LOG_DEBUG := y |
| 83 | |
| 84 | ifeq ($(CONFIG_REMOVE_PKT_LOG), y) |
| 85 | CONFIG_WDI_EVENT_ENABLE := n |
| 86 | else |
| 87 | CONFIG_WDI_EVENT_ENABLE := y |
| 88 | endif |
| 89 | |
Chaoli Zhou | b8c766a | 2019-12-25 17:40:54 +0800 | [diff] [blame^] | 90 | ifeq ($(CONFIG_REMOVE_PKT_LOG), n) |
| 91 | CONFIG_PKTLOG_LEGACY := y |
| 92 | endif |
| 93 | |
Tiger Yu | bf14ba8 | 2019-09-09 12:46:22 +0800 | [diff] [blame] | 94 | #Enable the type_specific_data in the ath_pktlog_arg |
| 95 | ifeq ($(CONFIG_REMOVE_PKT_LOG), n) |
| 96 | CONFIG_PKTLOG_HAS_SPECIFIC_DATA := y |
| 97 | endif |
| 98 | |
Rachit Kankane | 74dc5b8 | 2018-07-03 15:51:26 +0530 | [diff] [blame] | 99 | PANIC_ON_BUG := y |
| 100 | WLAN_WARN_ON_ASSERT := y |
| 101 | CONFIG_WLAN_LOGGING_SOCK_SVC := y |
| 102 | |
Rakshith Suresh Patkar | d9f4e61 | 2018-09-12 12:10:38 +0530 | [diff] [blame] | 103 | #Flag to enable wbuff feature |
| 104 | CONFIG_WLAN_WBUFF := n |
| 105 | |
Rachit Kankane | 74dc5b8 | 2018-07-03 15:51:26 +0530 | [diff] [blame] | 106 | # other features |
| 107 | WLAN_OPEN_SOURCE := y |
| 108 | CONFIG_ATH_PERF_PWR_OFFLOAD := y |
| 109 | CONFIG_ATH_BUS_PM := n |
| 110 | CONFIG_ATH_SUPPORT_FLOWMAC_MODULE := n |
| 111 | CONFIG_ATH_SUPPORT_SPECTRAL := n |
| 112 | CONFIG_LITTLE_ENDIAN := y |
Rachit Kankane | 74dc5b8 | 2018-07-03 15:51:26 +0530 | [diff] [blame] | 113 | CONFIG_ATH_PCIE_ACCESS_DEBUG := n |
| 114 | CONFIG_QCA_SIGNED_SPLIT_BINARY_SUPPORT := n |
| 115 | CONFIG_QCA_SINGLE_BINARY_SUPPORT := n |
| 116 | CONFIG_TARGET_RAMDUMP_AFTER_KERNEL_PANIC := y |
| 117 | CONFIG_FEATURE_SECURE_FIRMWARE := n |
Rachit Kankane | 3621f7b | 2019-05-09 14:30:14 +0530 | [diff] [blame] | 118 | CONFIG_WLAN_FEATURE_PACKET_FILTERING := y |
Rachit Kankane | 74dc5b8 | 2018-07-03 15:51:26 +0530 | [diff] [blame] | 119 | CONFIG_WLAN_NS_OFFLOAD := y |
| 120 | CONFIG_FEATURE_WLAN_RA_FILTERING:= y |
| 121 | ifeq ($(CONFIG_POWER_MANAGEMENT_OFFLOAD), y) |
| 122 | CONFIG_FEATURE_WLAN_LPHB := y |
| 123 | endif |
| 124 | CONFIG_FEATURE_WLAN_EXTSCAN := n |
| 125 | CONFIG_MCL := y |
bings | 2f0f9f0 | 2019-03-08 10:59:15 +0800 | [diff] [blame] | 126 | CONFIG_REG_CLIENT := y |
Rachit Kankane | 74dc5b8 | 2018-07-03 15:51:26 +0530 | [diff] [blame] | 127 | CONFIG_WLAN_OFFLOAD_PACKETS := y |
| 128 | CONFIG_WLAN_SYNC_TSF := y |
| 129 | CONFIG_WLAN_FEATURE_DISA := n |
| 130 | CONFIG_WLAN_FEATURE_FIPS := y |
| 131 | CONFIG_WLAN_FEATURE_SAE := y |
| 132 | CONFIG_CHNL_MATRIX_RESTRICTION := n |
Qiwei Cai | 50a2108 | 2018-08-07 14:30:09 +0800 | [diff] [blame] | 133 | CONFIG_WLAN_ALLOCATE_GLOBAL_BUFFERS_DYNAMICALLY := y |
Qiwei Cai | a01a962 | 2018-07-11 10:02:03 +0800 | [diff] [blame] | 134 | CONFIG_WLAN_FEATURE_BMI := n |
Nirav Shah | 8d6862c | 2019-06-10 22:02:39 +0530 | [diff] [blame] | 135 | # Enable FW stats version 2 |
| 136 | CONFIG_AR900B := y |
Rachit Kankane | 74dc5b8 | 2018-07-03 15:51:26 +0530 | [diff] [blame] | 137 | |
Qiwei Cai | e689a26 | 2018-07-26 15:50:22 +0800 | [diff] [blame] | 138 | #Flags to enable/disable vendor commands |
| 139 | CONFIG_FEATURE_RSSI_MONITOR := n |
| 140 | CONFIG_FEATURE_BSS_TRANSITION := n |
| 141 | CONFIG_FEATURE_STATION_INFO := n |
| 142 | CONFIG_FEATURE_TX_POWER := n |
| 143 | CONFIG_FEATURE_OTA_TEST := n |
| 144 | CONFIG_FEATURE_ACTIVE_TOS := n |
| 145 | CONFIG_FEATURE_SAR_LIMITS := y |
| 146 | CONFIG_FEATURE_CONCURRENCY_MATRIX := n |
| 147 | CONFIG_FEATURE_SAP_COND_CHAN_SWITCH := n |
Rachit Kankane | 1de679d | 2018-09-06 16:15:58 +0530 | [diff] [blame] | 148 | CONFIG_FEATURE_P2P_LISTEN_OFFLOAD := n |
Qiwei Cai | e689a26 | 2018-07-26 15:50:22 +0800 | [diff] [blame] | 149 | |
Qiwei Cai | dcb73b0 | 2018-09-17 19:58:29 +0800 | [diff] [blame] | 150 | #Flags to enable/disable WMI APIs |
| 151 | CONFIG_WMI_ROAM_SUPPORT := y |
| 152 | CONFIG_WMI_CONCURRENCY_SUPPORT := y |
| 153 | CONFIG_WMI_STA_SUPPORT := y |
| 154 | |
Rachit Kankane | 74dc5b8 | 2018-07-03 15:51:26 +0530 | [diff] [blame] | 155 | ifeq ($(CONFIG_ARCH_SDM845), y) |
| 156 | ifeq ($(CONFIG_IPA_OFFLOAD), y) |
| 157 | CONFIG_ENABLE_SMMU_S1_TRANSLATION := y |
| 158 | endif |
| 159 | endif |
| 160 | |
| 161 | #Data Path specific features |
| 162 | CONFIG_TX_CREDIT_RECLAIM_SUPPORT := n |
| 163 | CONFIG_CHECKSUM_OFFLOAD := y |
| 164 | CONFIG_QCA_SUPPORT_TX_THROTTLE := y |
| 165 | |
| 166 | ifeq ($(CONFIG_POWER_MANAGEMENT_OFFLOAD), y) |
| 167 | CONFIG_GTK_OFFLOAD := y |
| 168 | endif |
| 169 | CONFIG_QCACLD_FEATURE_APF := y |
| 170 | |
Jeff Johnson | fcc29d4 | 2018-07-17 20:36:45 -0700 | [diff] [blame] | 171 | #Flag to enable SARv1 -> SARv2 conversion |
| 172 | CONFIG_WLAN_FEATURE_SARV1_TO_SARV2 := n |
| 173 | |
Rachit Kankane | 74dc5b8 | 2018-07-03 15:51:26 +0530 | [diff] [blame] | 174 | ifneq ($(DEVELOPER_DISABLE_BUILD_TIMESTAMP), y) |
| 175 | ifneq ($(WLAN_DISABLE_BUILD_TAG), y) |
| 176 | CONFIG_BUILD_TAG := y |
| 177 | endif |
| 178 | endif |
| 179 | |
Rachit Kankane | b57ea61 | 2018-09-10 12:36:20 +0530 | [diff] [blame] | 180 | #Buffer allocations dynamically |
| 181 | ifeq ($(CONFIG_WLAN_ALLOCATE_GLOBAL_BUFFERS_DYNAMICALLY), y) |
| 182 | CONFIG_WLAN_DFS_STATIC_MEM_ALLOC := n |
| 183 | endif |
| 184 | |
Rachit Kankane | 74dc5b8 | 2018-07-03 15:51:26 +0530 | [diff] [blame] | 185 | # WoW filer configs |
| 186 | CONFIG_CFG_PMO_WOW_FILTERS_MAX := 16 |
| 187 | |
jsreekum | ac44b92 | 2018-06-12 20:18:39 +0530 | [diff] [blame] | 188 | # Offload configs |
| 189 | CONFIG_CFG_GTK_OFFLOAD_MAX_VDEV := 2 |
| 190 | CONFIG_CFG_ROAM_OFFLOAD_MAX_VDEV := 1 |
| 191 | |
| 192 | # Max Periodic Tx Pattern Config |
| 193 | CONFIG_CFG_MAX_PERIODIC_TX_PTRNS := 2 |
| 194 | |
| 195 | # Max Sta Vdev Config |
| 196 | CONFIG_CFG_MAX_STA_VDEVS := 2 |
| 197 | |
Rachit Kankane | 74dc5b8 | 2018-07-03 15:51:26 +0530 | [diff] [blame] | 198 | # Additional peers sent to firmware |
| 199 | CONFIG_CFG_NUM_OF_ADDITIONAL_FW_PEERS := 0 |
jsreekum | ac44b92 | 2018-06-12 20:18:39 +0530 | [diff] [blame] | 200 | |
| 201 | # Number of TDLS peers that each Tdls vdev can track |
| 202 | CONFIG_CFG_NUM_OF_TDLS_CONN_TABLE_ENTRIES := 4 |
Rachit Kankane | 154559c | 2018-07-12 14:02:30 +0530 | [diff] [blame] | 203 | |
Dustin Brown | a19834b | 2019-02-04 14:40:26 -0800 | [diff] [blame] | 204 | # Number of vdevs supported at one time, used for allocating memory |
| 205 | CONFIG_WLAN_MAX_VDEVS := 3 |
Rachit Kankane | 154559c | 2018-07-12 14:02:30 +0530 | [diff] [blame] | 206 | |
| 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 |
| 209 | CONFIG_SIR_SAP_MAX_NUM_PEERS := 10 |
Ajit Pal Singh | 7210044 | 2018-12-04 17:04:36 +0530 | [diff] [blame] | 210 | |
| 211 | #Max no of offloaded beaconing entities supported |
| 212 | CONFIG_BEACON_TX_OFFLOAD_MAX_VDEV := 3 |
Harprit Chhabada | 253e36a | 2018-12-11 15:29:55 -0800 | [diff] [blame] | 213 | |
| 214 | #Beacon offload config |
| 215 | CONFIG_WMI_BCN_OFFLOAD := y |
| 216 | |
nakul kachhwaha | 8b6c231 | 2019-04-10 16:17:04 +0530 | [diff] [blame] | 217 | #Flag to enable Supported Operating class |
| 218 | CONFIG_HOST_OPCLASS := y |
Sandeep Puligilla | 2c8d621 | 2019-03-25 17:41:37 -0700 | [diff] [blame] | 219 | |
Sandeep Puligilla | 2c8d621 | 2019-03-25 17:41:37 -0700 | [diff] [blame] | 220 | #Enable STATE MACHINE HISTORY |
| 221 | CONFIG_SM_ENG_HIST := n |
Tiger Yu | 8b119e9 | 2019-04-09 13:55:07 +0800 | [diff] [blame] | 222 | |
Tiger Yu | e40e783 | 2019-04-25 10:46:53 +0800 | [diff] [blame] | 223 | ifeq (y,$(findstring y,$(CONFIG_ARCH_MSM) $(CONFIG_ARCH_QCOM) $(CONFIG_QCA_SUPPORT_TXRX_DRIVER_TCP_DEL_ACK))) |
Tiger Yu | 8b119e9 | 2019-04-09 13:55:07 +0800 | [diff] [blame] | 224 | CONFIG_WLAN_FEATURE_DP_BUS_BANDWIDTH := y |
| 225 | endif |
| 226 | |
Nirav Shah | a43f6dc | 2019-07-24 14:32:25 +0530 | [diff] [blame] | 227 | CONFIG_SAP_DHCP_FW_IND := n |
Paul Zhang | c9dbaee | 2019-06-23 22:07:31 +0800 | [diff] [blame] | 228 | |
| 229 | #Enable FW Offload |
| 230 | CONFIG_WLAN_FW_OFFLOAD := y |
| 231 | |
Rachit Kankane | 74dc5b8 | 2018-07-03 15:51:26 +0530 | [diff] [blame] | 232 | ################################### |