ソースを参照

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 2 年 前
コミット
a9d997e83a
1 ファイル変更5 行追加0 行削除
  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);