Explorar el Código

qcacld-3.0: Do not consider wakeup from runtime PM to trigger SSR

Currently host driver considers wakeup from runtime PM because
of pagefult as well to trigger the SSR. Based on new requirement
do not consider wakeup from runtime PM to trigger the SSR.

Change-Id: I61837ee876fffa33d56035ee41c8e8a2b68e8ca7
CRs-Fixed: 3402848
Ashish Kumar Dhanotiya hace 2 años
padre
commit
a9d997e83a
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      core/wma/src/wma_features.c

+ 5 - 0
core/wma/src/wma_features.c

@@ -3083,6 +3083,11 @@ wma_wow_wakeup_host_trigger_ssr(t_wma_handle *wma, uint32_t reason)
 	if (!wlan_pmo_enable_ssr_on_page_fault(wma->psoc))
 		return;
 
+	if (wmi_get_runtime_pm_inprogress(wma->wmi_handle)) {
+		wma_debug("Ignore run time pm wakeup");
+		return;
+	}
+
 	pagefault_wakeups_for_ssr =
 			wlan_pmo_get_max_pagefault_wakeups_for_ssr(wma->psoc);