Browse Source

qcacld-3.0: Add CONFIG_MOBILE_ROUTER for Genoa

Disable/enable some feature based on CONFIG_MOBILE_ROUTER,
which should be as same as hasting & rome

Change-Id: Ib0ba2d51e6dc869477226ae452e4439c255d1ee5
CRs-Fixed: 2646429
Chaoli Zhou 5 years ago
parent
commit
af5cedc79e
1 changed files with 22 additions and 3 deletions
  1. 22 3
      configs/genoa.common

+ 22 - 3
configs/genoa.common

@@ -4,7 +4,6 @@
 CONFIG_SUPPORT_11AX := y
 CONFIG_160MHZ_SUPPORT := y
 CONFIG_FEATURE_STATS_EXT := n
-CONFIG_QCA_IBSS_SUPPORT := y
 CONFIG_FEATURE_WLAN_FT_IEEE8021X := y
 CONFIG_FEATURE_WLAN_FT_PSK := y
 
@@ -25,9 +24,7 @@ CONFIG_POWER_MANAGEMENT_OFFLOAD := y
 CONFIG_LFR_SUBNET_DETECTION := y
 CONFIG_MCC_TO_SCC_SWITCH := y
 CONFIG_QCOM_ESE := n
-CONFIG_WLAN_OPEN_P2P_INTERFACE := y
 CONFIG_WLAN_CONV_SPECTRAL_ENABLE := n
-CONFIG_WLAN_ENABLE_SOCIAL_CHANNELS_5G_ONLY := y
 CONFIG_WLAN_DFS_MASTER_ENABLE := y
 CONFIG_WIFI_POS_CONVERGED := y
 CONFIG_WIFI_POS_LEGACY := n
@@ -243,4 +240,26 @@ CONFIG_WLAN_FW_OFFLOAD := y
 
 #Enable PCIe Shadow Register
 CONFIG_QCN7605_PCIE_SHADOW_REG_SUPPORT := y
+
+ifeq ($(CONFIG_ARCH_SDXPRAIRIE), y)
+CONFIG_MOBILE_ROUTER := y
+endif
+
+# enable/disable feature flags based upon mobile router profile
+ifeq ($(CONFIG_MOBILE_ROUTER), y)
+CONFIG_FEATURE_WLAN_MCC_TO_SCC_SWITCH := y
+CONFIG_FEATURE_WLAN_AUTO_SHUTDOWN := y
+CONFIG_FEATURE_WLAN_AP_AP_ACS_OPTIMIZE := y
+CONFIG_FEATURE_WLAN_STA_4ADDR_SCHEME := y
+CONFIG_MDM_PLATFORM := y
+CONFIG_FEATURE_WLAN_STA_AP_MODE_DFS_DISABLE := y
+CONFIG_FEATURE_AP_MCC_CH_AVOIDANCE := y
+CONFIG_QCA_IBSS_SUPPORT := n
+CONFIG_WLAN_OPEN_P2P_INTERFACE := n
+CONFIG_WLAN_ENABLE_SOCIAL_CHANNELS_5G_ONLY := n
+else
+CONFIG_QCA_IBSS_SUPPORT := y
+CONFIG_WLAN_OPEN_P2P_INTERFACE := y
+CONFIG_WLAN_ENABLE_SOCIAL_CHANNELS_5G_ONLY := y
+endif
 ###################################