From d71df8271f1ca2c5f001f715aecf6b7ee85b2d29 Mon Sep 17 00:00:00 2001 From: Rajeev Kumar Date: Thu, 7 Jan 2016 18:00:16 -0800 Subject: [PATCH] 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 --- config/WCNSS_qcom_cfg.ini | 3 --- core/hdd/inc/wlan_hdd_cfg.h | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/config/WCNSS_qcom_cfg.ini b/config/WCNSS_qcom_cfg.ini index 8a5646885a79..8de3a16d4241 100644 --- a/config/WCNSS_qcom_cfg.ini +++ b/config/WCNSS_qcom_cfg.ini @@ -418,9 +418,6 @@ gEnablePowerSaveOffload=2 #Enable firmware uart print gEnablefwprint=0 -#Enable firmware log -gEnablefwlog=1 - #IPA config gIPAConfig=0 gIPADescSize=800 diff --git a/core/hdd/inc/wlan_hdd_cfg.h b/core/hdd/inc/wlan_hdd_cfg.h index 242eb793e20b..beb482abdf5e 100644 --- a/core/hdd/inc/wlan_hdd_cfg.h +++ b/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_DISABLE (0) #define CFG_ENABLE_FW_LOG_ENABLE (1) +#ifdef QCA_WIFI_3_0_ADRASTEA #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