Pārlūkot izejas kodu

qcacld-3.0: Configure FW WMI logging for adrastea and rome

In adrastea multithreaded firmware WMI logging infrastructure
is not yet ready. Disable WMI FW logging for adrastea and enable
it for ROME based targets.

Change-Id: I64c858681f57a2a013fd23bcd9204f59ff638102
CRs-Fixed: 959416
Rajeev Kumar 9 gadi atpakaļ
vecāks
revīzija
d71df8271f
2 mainītis faili ar 4 papildinājumiem un 3 dzēšanām
  1. 0 3
      config/WCNSS_qcom_cfg.ini
  2. 4 0
      core/hdd/inc/wlan_hdd_cfg.h

+ 0 - 3
config/WCNSS_qcom_cfg.ini

@@ -418,9 +418,6 @@ gEnablePowerSaveOffload=2
 #Enable firmware uart print
 #Enable firmware uart print
 gEnablefwprint=0
 gEnablefwprint=0
 
 
-#Enable firmware log
-gEnablefwlog=1
-
 #IPA config
 #IPA config
 gIPAConfig=0
 gIPAConfig=0
 gIPADescSize=800
 gIPADescSize=800

+ 4 - 0
core/hdd/inc/wlan_hdd_cfg.h

@@ -1945,7 +1945,11 @@ typedef enum {
 #define CFG_ENABLE_FW_LOG_NAME                   "gEnablefwlog"
 #define CFG_ENABLE_FW_LOG_NAME                   "gEnablefwlog"
 #define CFG_ENABLE_FW_LOG_DISABLE                (0)
 #define CFG_ENABLE_FW_LOG_DISABLE                (0)
 #define CFG_ENABLE_FW_LOG_ENABLE                 (1)
 #define CFG_ENABLE_FW_LOG_ENABLE                 (1)
+#ifdef QCA_WIFI_3_0_ADRASTEA
 #define CFG_ENABLE_FW_LOG_DEFAULT                (CFG_ENABLE_FW_LOG_DISABLE)
 #define CFG_ENABLE_FW_LOG_DEFAULT                (CFG_ENABLE_FW_LOG_DISABLE)
+#else
+#define CFG_ENABLE_FW_LOG_DEFAULT                (CFG_ENABLE_FW_LOG_ENABLE)
+#endif
 
 
 /*
 /*
  * Enable/Disable SSR for USB
  * Enable/Disable SSR for USB