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
Este commit está contenido en:
Naveen Rawat
2017-10-27 10:02:40 -07:00
cometido por snandini
padre 4fa5c82616
commit d773414489
Se han modificado 9 ficheros con 111 adiciones y 6 borrados

Ver fichero

@@ -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);