summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMukul Sharma <mukul@codeaurora.org>2016-09-03 15:35:30 +0530
committerqcabuildsw <qcabuildsw@localhost>2016-09-10 19:08:34 -0700
commit71d0c5773be3e449da630e5ca21ae81eaa89f4b6 (patch)
tree4708a719ee4cc9111347f1205994fe4c29276214
parent4d1eb2bd586e00a78ad6bd5ad317d0dff595ba70 (diff)
qcacld-3.0: Reduce LL stats / Firmware Memory Dump Blocking time
qcacld-2.0 to qcacld-3.0 propagation Currently driver block wpa_supplicant context for response for 5 / 5 seconds for LL stats and firmware memory dump feature respectively. But in M framework watch dog will be triggered after 1 second because driver is holding the context longer, which lead to wd thread starvation. As a part of this fix, block time is reduced to 800 msec respectively in both cases. Change-Id: I02cc7623bc0bc6004ece972f8c4a5e8e751131d2 CRs-Fixed: 951119 (cherry picked from commit 6f39e5ac60eac096107a36b8feb9218ceeef6c38)
-rw-r--r--core/hdd/inc/wlan_hdd_memdump.h2
-rw-r--r--core/hdd/src/wlan_hdd_stats.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/hdd/inc/wlan_hdd_memdump.h b/core/hdd/inc/wlan_hdd_memdump.h
index 48a609396bce..529f4c772380 100644
--- a/core/hdd/inc/wlan_hdd_memdump.h
+++ b/core/hdd/inc/wlan_hdd_memdump.h
@@ -64,7 +64,7 @@ enum qca_wlan_vendor_attr_memory_dump {
#define FW_DRAM_LOCATION 0x00400000
#define FW_MEM_DUMP_REQ_ID 1
#define FW_MEM_DUMP_NUM_SEG 1
-#define MEMDUMP_COMPLETION_TIME_MS 5000
+#define MEMDUMP_COMPLETION_TIME_MS 800
int memdump_init(void);
void memdump_deinit(void);
diff --git a/core/hdd/src/wlan_hdd_stats.h b/core/hdd/src/wlan_hdd_stats.h
index 2c2fefc5b31b..c33031ff11e4 100644
--- a/core/hdd/src/wlan_hdd_stats.h
+++ b/core/hdd/src/wlan_hdd_stats.h
@@ -38,7 +38,7 @@
#define DATA_RATE_11AC_MCS_MASK 0x03
/* LL stats get request time out value */
-#define WLAN_WAIT_TIME_LL_STATS 5000
+#define WLAN_WAIT_TIME_LL_STATS 800
/**
* struct index_vht_data_rate_type - vht data rate type