wlan: Send FIQ on WDI timeout
When there is a WDI timeout, send 'Reset FIQ' to Riva to reset; if Riva
doesn't invoke SSR in 5 seconds, perform the Apps initiated SSR.
Change-Id: Ifa4aeb1d7115daa4ac22ccb276bb835b2e2a46d9
CR-Fixed: 411579
diff --git a/CORE/WDI/CP/inc/wlan_qct_wdi.h b/CORE/WDI/CP/inc/wlan_qct_wdi.h
index 5d73370..3f6c2e0 100644
--- a/CORE/WDI/CP/inc/wlan_qct_wdi.h
+++ b/CORE/WDI/CP/inc/wlan_qct_wdi.h
@@ -136,6 +136,10 @@
in before we get to a timeout (ms units)*/
#define WDI_RESPONSE_TIMEOUT 10000
+/* SSR timeout - If Riva initiated SSR doesn't happen during this time, then the
+ * Apps initiated SSR will be performed */
+#define WDI_SSR_TIMEOUT 5000
+
#define WDI_SET_POWER_STATE_TIMEOUT 10000 /* in msec a very high upper limit */
/*============================================================================
@@ -9055,6 +9059,22 @@
wpt_boolean toggleStallDetect
);
+/**
+ @brief WDI_SsrTimerCB
+ Callback function for SSR timer, if this is called then the graceful
+ shutdown for Riva did not happen.
+
+ @param pUserData : user data to timer
+
+ @see
+ @return none
+*/
+void
+WDI_SsrTimerCB
+(
+ void *pUserData
+);
+
#ifdef __cplusplus
}
#endif