Parcourir la source

qcacld-3.0: Featurize wlan roam debug

Add feature flag for wlan roam debug log to compile out in mission mode.

Change-Id: I52e41f5977b8fba12e70a24cf96368d8e019df5f
CRs-Fixed: 2241252
Qiwei Cai il y a 6 ans
Parent
commit
d96c021eca

+ 2 - 0
Kbuild

@@ -1634,6 +1634,8 @@ cppflags-$(CONFIG_CNSS_GENL) += -DCNSS_GENL
 
 cppflags-$(CONFIG_QCACLD_WLAN_LFR2) += -DWLAN_FEATURE_HOST_ROAM
 
+cppflags-$(CONFIG_FEATURE_ROAM_DEBUG) += -DFEATURE_ROAM_DEBUG
+
 cppflags-$(CONFIG_WLAN_POWER_DEBUGFS) += -DWLAN_POWER_DEBUGFS
 
 # Enable object manager reference count debug infrastructure

+ 3 - 0
configs/default_defconfig

@@ -469,6 +469,9 @@ CONFIG_TRACE_RECORD_FEATURE := y
 #Flag to enable p2p debug feature
 CONFIG_WLAN_FEATURE_P2P_DEBUG := y
 
+#Flag to enable roam debug log
+CONFIG_FEATURE_ROAM_DEBUG := y
+
 #Flag to enable DFS Master feature
 CONFIG_WLAN_DFS_MASTER_ENABLE := y
 

+ 1 - 0
configs/genoa.snoc.debug_defconfig

@@ -99,6 +99,7 @@ CONFIG_FEATURE_FW_LOG_PARSING := y
 CONFIG_PTT_SOCK_SVC_ENABLE := y
 CONFIG_WMI_INTERFACE_EVENT_LOGGING := y
 CONFIG_WLAN_FEATURE_LINK_LAYER_STATS := y
+CONFIG_FEATURE_ROAM_DEBUG := y
 
 CONFIG_WLAN_LOG_FATAL := y
 CONFIG_WLAN_LOG_ERROR := y

+ 1 - 0
configs/genoa.snoc.perf_defconfig

@@ -101,6 +101,7 @@ CONFIG_PTT_SOCK_SVC_ENABLE := y
 CONFIG_WMI_INTERFACE_EVENT_LOGGING := y
 CONFIG_WLAN_FEATURE_LINK_LAYER_STATS := y
 CONFIG_DP_TRACE := y
+CONFIG_FEATURE_ROAM_DEBUG := n
 
 CONFIG_WLAN_LOG_FATAL := y
 CONFIG_WLAN_LOG_ERROR := y