qcacld-3.0: Converge on wmi service/ext service is enable

Converge on wmi service/ext service is enable.

Change-Id: Ieed7a18f88806ed1e5b7fb012619ea67015cce2d
CRs-Fixed: 2152849
This commit is contained in:
Sourav Mohapatra
2017-12-01 09:17:54 +05:30
committed by snandini
parent 003c83d9ae
commit 89c85d1d18
12 changed files with 188 additions and 185 deletions

View File

@@ -254,8 +254,8 @@ static
bool pmo_support_wow_for_beaconing(struct wlan_objmgr_psoc *psoc)
{
/*
* if (WMI_SERVICE_IS_ENABLED(wma->wmi_service_bitmap,
* WMI_SERVICE_BEACON_OFFLOAD))
* if (wmi_service_enabled(wma->wmi_handle,
* wmi_service_beacon_offload))
*/
return pmo_is_beaconing_vdev_up(psoc);
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017 The Linux Foundation. All rights reserved.
* Copyright (c) 2017-2018 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -91,8 +91,10 @@ QDF_STATUS target_if_pmo_clear_mc_filter_req(
bool target_if_pmo_get_multiple_mc_filter_support(
struct wlan_objmgr_psoc *psoc)
{
return WMI_SERVICE_IS_ENABLED(psoc->service_param.service_bitmap,
WMI_SERVICE_MULTIPLE_MCAST_FILTER_SET);
wmi_unified_t wmi_handle = GET_WMI_HDL_FROM_PSOC(psoc);
return wmi_service_enabled(wmi_handle,
wmi_service_multiple_mcast_filter_set);
}
QDF_STATUS target_if_pmo_set_multiple_mc_filter_req(