Browse Source

qcacld-3.0: Send WOW timer pattern to firmware

Send WOW timer pattern to firmware when suspend is requested and
INSTALL_KEY is not sent to firmware yet. This will allow firmware
to wake host in case Eapol frames are not received and do a graceful
disconnect.

Change-Id: Ibbcc0af85ee9ddcd7f6559c83c67274508193004
CRs-Fixed: 2127634
Naveen Rawat 7 năm trước cách đây
mục cha
commit
9d26b1d21c
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      target_if/pmo/src/target_if_pmo_suspend_resume.c

+ 2 - 1
target_if/pmo/src/target_if_pmo_suspend_resume.c

@@ -22,7 +22,7 @@
  * send suspend / resume related cmd and process event.
  */
 
-
+#include "wma.h"
 #include "target_if.h"
 #include "target_if_pmo.h"
 #include "wmi_unified_api.h"
@@ -142,6 +142,7 @@ QDF_STATUS target_if_pmo_psoc_send_wow_enable_req(
 		struct wlan_objmgr_psoc *psoc,
 		struct pmo_wow_cmd_params *param)
 {
+	wma_check_and_set_wake_timer(SIR_INSTALL_KEY_TIMEOUT_MS);
 	return wmi_unified_wow_enable_send(GET_WMI_HDL_FROM_PSOC(psoc),
 			(struct wow_cmd_params *)param,
 			TGT_WILDCARD_PDEV_ID);