qcacld-3.0: Refine PMO wow to support legacy chip

wma_is_service_enabled can't get valid service bitmap if call in
hdd_update_pmo_config, use psoc_ctx->caps.unified_wow instead to check
pattern id per vdev and legacy d0 wow capability.

Change-Id: If7bf316f482c49253fc4b95b94e172727b27ffd1
CRs-Fixed: 2225847
This commit is contained in:
Will Huang
2018-04-25 17:57:24 +08:00
committed by nshrivas
父節點 aa6d55d9e7
當前提交 67ce1e332b
共有 5 個文件被更改,包括 12 次插入15 次删除

查看文件

@@ -262,7 +262,6 @@ enum pmo_auto_pwr_detect_failure_mode {
/**
* struct pmo_psoc_cfg - user configuration required for pmo
* @ptrn_match_enable_all_vdev: true when pattern match is enable for all vdev
* @ptrn_id_per_vdev: true when pattern id can be same for different vdev
* @apf_enable: true if psoc supports bpf else false
* @arp_offload_enable: true if arp offload is supported for psoc else false
* @hw_filter_mode: which mode the hardware filter should use during DTIM
@@ -291,7 +290,6 @@ enum pmo_auto_pwr_detect_failure_mode {
*/
struct pmo_psoc_cfg {
bool ptrn_match_enable_all_vdev;
bool ptrn_id_per_vdev;
bool apf_enable;
bool arp_offload_enable;
enum pmo_hw_filter_mode hw_filter_mode;