summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMukul Sharma <mukul@codeaurora.org>2016-09-03 16:24:48 +0530
committerqcabuildsw <qcabuildsw@localhost>2016-09-10 19:08:09 -0700
commit974ca65bc9b1ee3f0ebf623f8737f54d7c21014e (patch)
treeffc254a3590924e4f9b309aef68470a77c3e6950
parentdfc804c0e5f87199d06c9b20ea7806ff09cb59a9 (diff)
qcacld-3.0: Increase wait retry count in rmmod
qcacld-2.0 to qcacld-3.0 propagation If SSR/ram dump collection is in progress, rmmod waits for it's completion for 75 times. But for high latency target SSR/ram dump collection is taking more then 75 sec. As part of this fix,For HL target set retry count to 200. Change-Id: I8cc052c748e6a6dfff45675f9c15ead00b002a11 CRs-Fixed: 974023 (cherry picked from commit f788043e64fe707c495b2c0baee6e6d116268068)
-rw-r--r--core/hdd/inc/wlan_hdd_main.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/hdd/inc/wlan_hdd_main.h b/core/hdd/inc/wlan_hdd_main.h
index 4852cf949bf1..4d21e3ca35c0 100644
--- a/core/hdd/inc/wlan_hdd_main.h
+++ b/core/hdd/inc/wlan_hdd_main.h
@@ -229,7 +229,11 @@
#define WLAN_HDD_QOS_MAP_CONFIGURE 4
#define HDD_SAP_WAKE_LOCK_DURATION 10000 /* in msecs */
+#if defined(CONFIG_HL_SUPPORT)
+#define HDD_MOD_EXIT_SSR_MAX_RETRIES 200
+#else
#define HDD_MOD_EXIT_SSR_MAX_RETRIES 75
+#endif
#ifdef WLAN_FEATURE_GTK_OFFLOAD
#define GTK_OFFLOAD_ENABLE 0