summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKomal Seelam <kseelam@qti.qualcomm.com>2016-07-13 11:50:46 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2016-07-14 05:05:49 -0700
commitb8e4c2b668240dcc8aeb65c92c3eda4e6196f39b (patch)
tree3170f1e3fd3dcf06e747178f897eae512371653f
parentde0ac9eb46c634d221383f547ff145788f8c9b44 (diff)
qcacld-2.0: Increase SSR Timeout to 250sec
On QCA ChipSets, during SSR re-init, driver download firmware from userspace to kernel space via request_firmware API. This API is 60sec timeout API. The SSR timeout needs to account for the file system response timeouts to avoid unwanted crashes in the system. Hence increase the SSR timeout. Change-Id: I63d143251a0f0f4c54d786de1dd2bb6d6c410e4f CRs-Fixed: 1040168
-rw-r--r--CORE/HDD/src/wlan_hdd_early_suspend.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/CORE/HDD/src/wlan_hdd_early_suspend.c b/CORE/HDD/src/wlan_hdd_early_suspend.c
index 56d90e678936..7de428e2a081 100644
--- a/CORE/HDD/src/wlan_hdd_early_suspend.c
+++ b/CORE/HDD/src/wlan_hdd_early_suspend.c
@@ -100,11 +100,14 @@
#endif
#include "ol_fw.h"
-/* Time in msec */
+/* Time in msec.
+ * Time includes 60sec timeout of request_firmware for various binaries
+ * (OTP, BDWLAN, QWLAN) and other cleanup and re-init sequence
+ */
#ifdef CONFIG_SLUB_DEBUG_ON
-#define HDD_SSR_BRING_UP_TIME 50000
+#define HDD_SSR_BRING_UP_TIME 250000
#else
-#define HDD_SSR_BRING_UP_TIME 40000
+#define HDD_SSR_BRING_UP_TIME 240000
#endif
static eHalStatus g_full_pwr_status;