Bladeren bron

qcacld-3.0: Allocate gplog_msg dynamically

Allocate memory for gplog_msg buffer dynamically.

Change-Id: I816624383cd8126a4a83bd31171d42a7705a7720
CRs-Fixed: 2266753
Rachit Kankane 6 jaren geleden
bovenliggende
commit
0868f8f18a
4 gewijzigde bestanden met toevoegingen van 6 en 0 verwijderingen
  1. 1 0
      Kbuild
  2. 3 0
      configs/default_defconfig
  3. 1 0
      configs/genoa.snoc.debug_defconfig
  4. 1 0
      configs/genoa.snoc.perf_defconfig

+ 1 - 0
Kbuild

@@ -1548,6 +1548,7 @@ cppflags-$(CONFIG_WIFI_POS_LEGACY) += -DFEATURE_OEM_DATA_SUPPORT
 cppflags-$(CONFIG_FEATURE_HTC_CREDIT_HISTORY) += -DFEATURE_HTC_CREDIT_HISTORY
 cppflags-$(CONFIG_WLAN_FEATURE_P2P_DEBUG) += -DWLAN_FEATURE_P2P_DEBUG
 cppflags-$(CONFIG_WLAN_LOGGING_SOCK_SVC) += -DWLAN_LOGGING_SOCK_SVC_ENABLE
+cppflags-$(CONFIG_WLAN_LOGGING_BUFFERS_DYNAMICALLY) += -DWLAN_LOGGING_BUFFERS_DYNAMICALLY
 cppflags-$(CONFIG_WLAN_FEATURE_FILS) += -DWLAN_FEATURE_FILS_SK
 cppflags-$(CONFIG_CP_STATS) += -DQCA_SUPPORT_CP_STATS
 cppflags-$(CONFIG_FEATURE_MEMDUMP_ENABLE) += -DWLAN_FEATURE_MEMDUMP_ENABLE

+ 3 - 0
configs/default_defconfig

@@ -469,6 +469,9 @@ CONFIG_FEATURE_SECURE_FIRMWARE := n
 #Flag to enable Stats Ext implementation
 CONFIG_FEATURE_STATS_EXT := y
 
+#Flag to allocate memory dynamically for different buffers
+CONFIG_WLAN_LOGGING_BUFFERS_DYNAMICALLY := n
+
 #Flag to enable HTC credit history feature
 CONFIG_FEATURE_HTC_CREDIT_HISTORY := y
 

+ 1 - 0
configs/genoa.snoc.debug_defconfig

@@ -86,6 +86,7 @@ CONFIG_ENABLE_DEBUG_ADDRESS_MARKING := y
 endif
 
 # Debug specific features
+CONFIG_WLAN_LOGGING_BUFFERS_DYNAMICALLY := y
 BUILD_DEBUG_VERSION := y
 BUILD_DIAG_VERSION := y
 CONFIG_FEATURE_TSO_DEBUG := y

+ 1 - 0
configs/genoa.snoc.perf_defconfig

@@ -82,6 +82,7 @@ CONFIG_ENABLE_DEBUG_ADDRESS_MARKING := y
 endif
 
 # Debug specific features
+CONFIG_WLAN_LOGGING_BUFFERS_DYNAMICALLY := y
 BUILD_DEBUG_VERSION := y
 BUILD_DIAG_VERSION := y
 CONFIG_FEATURE_TSO_DEBUG := n