瀏覽代碼

qcacld-3.0: Disable features for Genoa

Disable all those features which are not required for GENOA IOT

Change-Id: I9aaf36b4aa632ab44de85e0da00081fded31ad91
CRs-Fixed: 2266976
Rachit Kankane 6 年之前
父節點
當前提交
95f3158770
共有 2 個文件被更改,包括 18 次插入15 次删除
  1. 11 7
      configs/genoa.snoc.debug_defconfig
  2. 7 8
      configs/genoa.snoc.perf_defconfig

+ 11 - 7
configs/genoa.snoc.debug_defconfig

@@ -1,12 +1,14 @@
 # Protocol specific features
 CONFIG_QCACLD_WLAN_LFR2 := y
+# not required for GENOA IOT, compilation errors are there
+# if we disable LFR3, once the issue is, we need to disable LFR3.
 CONFIG_QCACLD_WLAN_LFR3 := y
 CONFIG_QCOM_TDLS := y
-CONFIG_QCACLD_FEATURE_GREEN_AP := y
+CONFIG_QCACLD_FEATURE_GREEN_AP := n
 CONFIG_QCOM_VOWIFI_11R := y
 CONFIG_WLAN_FEATURE_FILS := y
 CONFIG_WLAN_FEATURE_11W := y
-CONFIG_QCOM_LTE_COEX := y
+CONFIG_QCOM_LTE_COEX := n
 CONFIG_WLAN_FEATURE_LPSS := y
 CONFIG_QCACLD_FEATURE_NAN := y
 CONFIG_WLAN_FEATURE_NAN_DATAPATH := y
@@ -30,8 +32,10 @@ CONFIG_WLAN_POLICY_MGR_ENABLE := y
 CONFIG_SUPPORT_11AX := y
 CONFIG_HDD_INIT_WITH_RTNL_LOCK := y
 CONFIG_CONVERGED_TDLS_ENABLE := y
+# not required for GENOA IOT, compilation errors are there
+# if we disable SPECTRAL scan, once the issue is,
+# we need to disable SPECTRAL scan feature.
 CONFIG_WLAN_CONV_SPECTRAL_ENABLE := y
-CONFIG_WLAN_SPECTRAL_ENABLE := y
 CONFIG_WMI_CMD_STRINGS := y
 CONFIG_SOFTAP_CHANNEL_RANGE := y
 CONFIG_FEATURE_WLAN_SCAN_PNO := y
@@ -95,10 +99,10 @@ CONFIG_TRACE_RECORD_FEATURE := y
 CONFIG_WLAN_FEATURE_P2P_DEBUG := y
 CONFIG_WLAN_NUD_TRACKING := y
 CONFIG_CP_STATS := y
-CONFIG_FEATURE_FW_LOG_PARSING := y
+CONFIG_FEATURE_FW_LOG_PARSING := n
 CONFIG_PTT_SOCK_SVC_ENABLE := y
 CONFIG_WMI_INTERFACE_EVENT_LOGGING := y
-CONFIG_WLAN_FEATURE_LINK_LAYER_STATS := y
+CONFIG_WLAN_FEATURE_LINK_LAYER_STATS := n
 CONFIG_FEATURE_ROAM_DEBUG := y
 
 CONFIG_WLAN_LOG_FATAL := y
@@ -144,13 +148,13 @@ CONFIG_QCA_SIGNED_SPLIT_BINARY_SUPPORT := n
 CONFIG_QCA_SINGLE_BINARY_SUPPORT := n
 CONFIG_TARGET_RAMDUMP_AFTER_KERNEL_PANIC := y
 CONFIG_FEATURE_SECURE_FIRMWARE := n
-CONFIG_WLAN_FEATURE_PACKET_FILTERING := y
+CONFIG_WLAN_FEATURE_PACKET_FILTERING := n
 CONFIG_WLAN_NS_OFFLOAD := y
 CONFIG_FEATURE_WLAN_RA_FILTERING:= y
 ifeq ($(CONFIG_POWER_MANAGEMENT_OFFLOAD), y)
 CONFIG_FEATURE_WLAN_LPHB := y
 endif
-CONFIG_FEATURE_WLAN_EXTSCAN := y
+CONFIG_FEATURE_WLAN_EXTSCAN := n
 CONFIG_160MHZ_SUPPORT := y
 CONFIG_MCL := y
 CONFIG_MCL_REGDB := y

+ 7 - 8
configs/genoa.snoc.perf_defconfig

@@ -2,11 +2,11 @@
 CONFIG_QCACLD_WLAN_LFR2 := y
 CONFIG_QCACLD_WLAN_LFR3 := n
 CONFIG_QCOM_TDLS := y
-CONFIG_QCACLD_FEATURE_GREEN_AP := y
+CONFIG_QCACLD_FEATURE_GREEN_AP := n
 CONFIG_QCOM_VOWIFI_11R := y
 CONFIG_WLAN_FEATURE_FILS := y
 CONFIG_WLAN_FEATURE_11W := y
-CONFIG_QCOM_LTE_COEX := y
+CONFIG_QCOM_LTE_COEX := n
 CONFIG_WLAN_FEATURE_LPSS := y
 CONFIG_QCACLD_FEATURE_NAN := y
 CONFIG_WLAN_FEATURE_NAN_DATAPATH := y
@@ -31,8 +31,7 @@ CONFIG_WLAN_POLICY_MGR_ENABLE := y
 CONFIG_SUPPORT_11AX := y
 CONFIG_HDD_INIT_WITH_RTNL_LOCK := y
 CONFIG_CONVERGED_TDLS_ENABLE := y
-CONFIG_WLAN_CONV_SPECTRAL_ENABLE := y
-CONFIG_WLAN_SPECTRAL_ENABLE := y
+CONFIG_WLAN_CONV_SPECTRAL_ENABLE := n
 CONFIG_WMI_CMD_STRINGS := y
 CONFIG_SOFTAP_CHANNEL_RANGE := y
 CONFIG_FEATURE_WLAN_SCAN_PNO := y
@@ -96,10 +95,10 @@ CONFIG_TRACE_RECORD_FEATURE := y
 CONFIG_WLAN_FEATURE_P2P_DEBUG := n
 CONFIG_WLAN_NUD_TRACKING := n
 CONFIG_CP_STATS := n
-CONFIG_FEATURE_FW_LOG_PARSING := y
+CONFIG_FEATURE_FW_LOG_PARSING := n
 CONFIG_PTT_SOCK_SVC_ENABLE := y
 CONFIG_WMI_INTERFACE_EVENT_LOGGING := y
-CONFIG_WLAN_FEATURE_LINK_LAYER_STATS := y
+CONFIG_WLAN_FEATURE_LINK_LAYER_STATS := n
 CONFIG_DP_TRACE := y
 CONFIG_FEATURE_ROAM_DEBUG := n
 
@@ -146,11 +145,11 @@ CONFIG_QCA_SIGNED_SPLIT_BINARY_SUPPORT := n
 CONFIG_QCA_SINGLE_BINARY_SUPPORT := n
 CONFIG_TARGET_RAMDUMP_AFTER_KERNEL_PANIC := y
 CONFIG_FEATURE_SECURE_FIRMWARE := n
-CONFIG_WLAN_FEATURE_PACKET_FILTERING := y
+CONFIG_WLAN_FEATURE_PACKET_FILTERING := n
 CONFIG_WLAN_NS_OFFLOAD := y
 CONFIG_FEATURE_WLAN_RA_FILTERING:= y
 CONFIG_FEATURE_WLAN_LPHB := y
-CONFIG_FEATURE_WLAN_EXTSCAN := y
+CONFIG_FEATURE_WLAN_EXTSCAN := n
 CONFIG_160MHZ_SUPPORT := y
 CONFIG_MCL := y
 CONFIG_MCL_REGDB := y