From fcb0cdcbaa23d8a9977b2205ce5a9722d75616d0 Mon Sep 17 00:00:00 2001 From: Rachit Kankane Date: Wed, 1 Aug 2018 14:23:55 +0530 Subject: [PATCH] qcacmn: Featurize WLAN_FEATURE_PACKET_FILTERING Featurize packet filter properly, as this feature was partially featurized. Change-Id: Ic10407f8593b14ad22535233ac5b442f3066b627 CRs-Fixed: 2304237 --- wmi_unified_pmo_api.h | 4 +++- wmi_unified_priv.h | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/wmi_unified_pmo_api.h b/wmi_unified_pmo_api.h index f47ed1842b..3fd9a8a3ea 100644 --- a/wmi_unified_pmo_api.h +++ b/wmi_unified_pmo_api.h @@ -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 @@ -238,6 +238,7 @@ QDF_STATUS wmi_unified_lphb_config_udp_params_cmd(void *wmi_hdl, QDF_STATUS wmi_unified_lphb_config_udp_pkt_filter_cmd(void *wmi_hdl, wmi_hb_set_udp_pkt_filter_cmd_fixed_param *lphb_conf_req); +#ifdef WLAN_FEATURE_PACKET_FILTERING /** * wmi_unified_enable_disable_packet_filter_cmd() - enable/disable packet filter * @wmi_handle: wmi handle @@ -262,5 +263,6 @@ QDF_STATUS wmi_unified_enable_disable_packet_filter_cmd(void *wmi_hdl, QDF_STATUS wmi_unified_config_packet_filter_cmd(void *wmi_hdl, uint8_t vdev_id, struct pmo_rcv_pkt_fltr_cfg *rcv_filter_param, uint8_t filter_id, bool enable); +#endif #endif /* _WMI_UNIFIED_PMO_API_H_ */ diff --git a/wmi_unified_priv.h b/wmi_unified_priv.h index c25d927402..cd843a9947 100644 --- a/wmi_unified_priv.h +++ b/wmi_unified_priv.h @@ -634,12 +634,14 @@ QDF_STATUS (*send_lphb_config_udp_params_cmd)(wmi_unified_t wmi_handle, QDF_STATUS (*send_lphb_config_udp_pkt_filter_cmd)(wmi_unified_t wmi_handle, wmi_hb_set_udp_pkt_filter_cmd_fixed_param *lphb_conf_req); +#ifdef WLAN_FEATURE_PACKET_FILTERING QDF_STATUS (*send_enable_disable_packet_filter_cmd)(wmi_unified_t wmi_handle, uint8_t vdev_id, bool enable); QDF_STATUS (*send_config_packet_filter_cmd)(wmi_unified_t wmi_handle, uint8_t vdev_id, struct pmo_rcv_pkt_fltr_cfg *rcv_filter_param, uint8_t filter_id, bool enable); +#endif #endif /* end of WLAN_POWER_MANAGEMENT_OFFLOAD */ #ifdef CONFIG_MCL QDF_STATUS (*send_process_dhcp_ind_cmd)(wmi_unified_t wmi_handle,