qcacld-3.0: Register action frames for wake up during runtime PM

Currently the bitmap of action frames that can wake up the host
during suspend is sent via the wmi command
WMI_WOW_SET_ACTION_WAKE_UP_CMDID. This bitmap doesn't include
RRM action frames so currently the host doesn't wake up for rrm
action frames when in suspend mode.

Selectively enable wake up for rrm action frames during runtime PM
alone. Don't enable host wake up during normal suspend as it will
consume more power.

Change-Id: I097596118c2888fc9ea24802e4dbe69d02c5c5f7
CRs-Fixed: 2507185
This commit is contained in:
Pragaspathi Thilagaraj
2019-08-21 14:17:48 +05:30
committed by nshrivas
vanhempi dee2b1f3d3
commit b40c260f17
8 muutettua tiedostoa jossa 134 lisäystä ja 17 poistoa

Näytä tiedosto

@@ -280,7 +280,6 @@ QDF_STATUS pmo_vdev_ready(struct wlan_objmgr_vdev *vdev)
/* Register static configuration with firmware */
pmo_register_wow_wakeup_events(vdev);
pmo_register_action_frame_patterns(vdev);
/* Register default wow patterns with firmware */
pmo_register_wow_default_patterns(vdev);

Näytä tiedosto

@@ -32,6 +32,7 @@
#include "wlan_pmo_pkt_filter.h"
#include "wlan_pmo_hw_filter.h"
#include "wlan_pmo_cfg.h"
#include "wlan_pmo_static_config.h"
#include "cfg_ucfg_api.h"
QDF_STATUS ucfg_pmo_psoc_open(struct wlan_objmgr_psoc *psoc)
@@ -467,6 +468,18 @@ QDF_STATUS ucfg_pmo_enable_hw_filter_in_fwr(struct wlan_objmgr_vdev *vdev)
return pmo_core_enable_hw_filter_in_fwr(vdev);
}
QDF_STATUS
ucfg_pmo_enable_action_frame_patterns(struct wlan_objmgr_vdev *vdev,
enum qdf_suspend_type suspend_type)
{
return pmo_register_action_frame_patterns(vdev, suspend_type);
}
QDF_STATUS ucfg_pmo_disable_action_frame_patterns(struct wlan_objmgr_vdev *vdev)
{
return pmo_clear_action_frame_patterns(vdev);
}
QDF_STATUS ucfg_pmo_disable_hw_filter_in_fwr(struct wlan_objmgr_vdev *vdev)
{
return pmo_core_disable_hw_filter_in_fwr(vdev);