qcacmn: Featurize WLAN_FEATURE_PACKET_FILTERING

Featurize packet filter properly, as this feature was partially featurized.

Change-Id: Ic10407f8593b14ad22535233ac5b442f3066b627
CRs-Fixed: 2304237
This commit is contained in:
Rachit Kankane
2018-08-01 14:23:55 +05:30
committed by nshrivas
부모 4113fb7d13
커밋 a1c9e5ab29
4개의 변경된 파일12개의 추가작업 그리고 2개의 파일을 삭제

파일 보기

@@ -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 * Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the * 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, 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); 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_unified_enable_disable_packet_filter_cmd() - enable/disable packet filter
* @wmi_handle: wmi handle * @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, 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 vdev_id, struct pmo_rcv_pkt_fltr_cfg *rcv_filter_param,
uint8_t filter_id, bool enable); uint8_t filter_id, bool enable);
#endif
#endif /* _WMI_UNIFIED_PMO_API_H_ */ #endif /* _WMI_UNIFIED_PMO_API_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, 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); 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, QDF_STATUS (*send_enable_disable_packet_filter_cmd)(wmi_unified_t wmi_handle,
uint8_t vdev_id, bool enable); uint8_t vdev_id, bool enable);
QDF_STATUS (*send_config_packet_filter_cmd)(wmi_unified_t wmi_handle, 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 vdev_id, struct pmo_rcv_pkt_fltr_cfg *rcv_filter_param,
uint8_t filter_id, bool enable); uint8_t filter_id, bool enable);
#endif
#endif /* end of WLAN_POWER_MANAGEMENT_OFFLOAD */ #endif /* end of WLAN_POWER_MANAGEMENT_OFFLOAD */
#ifdef CONFIG_MCL #ifdef CONFIG_MCL
QDF_STATUS (*send_process_dhcp_ind_cmd)(wmi_unified_t wmi_handle, QDF_STATUS (*send_process_dhcp_ind_cmd)(wmi_unified_t wmi_handle,

파일 보기

@@ -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 * Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the * any purpose with or without fee is hereby granted, provided that the
@@ -168,6 +168,7 @@ QDF_STATUS wmi_unified_send_gtk_offload_cmd(void *wmi_hdl, uint8_t vdev_id,
return QDF_STATUS_E_FAILURE; return QDF_STATUS_E_FAILURE;
} }
#ifdef WLAN_FEATURE_PACKET_FILTERING
QDF_STATUS wmi_unified_enable_disable_packet_filter_cmd(void *wmi_hdl, QDF_STATUS wmi_unified_enable_disable_packet_filter_cmd(void *wmi_hdl,
uint8_t vdev_id, bool enable) uint8_t vdev_id, bool enable)
{ {
@@ -192,6 +193,7 @@ QDF_STATUS wmi_unified_config_packet_filter_cmd(void *wmi_hdl,
return QDF_STATUS_E_FAILURE; return QDF_STATUS_E_FAILURE;
} }
#endif
QDF_STATUS wmi_unified_enable_arp_ns_offload_cmd(void *wmi_hdl, QDF_STATUS wmi_unified_enable_arp_ns_offload_cmd(void *wmi_hdl,
struct pmo_arp_offload_params *arp_offload_req, struct pmo_arp_offload_params *arp_offload_req,

파일 보기

@@ -14829,6 +14829,7 @@ static QDF_STATUS send_conf_hw_filter_cmd_tlv(wmi_unified_t wmi,
return status; return status;
} }
#ifdef WLAN_FEATURE_PACKET_FILTERING
/** /**
* send_enable_disable_packet_filter_cmd_tlv() - enable/disable packet filter * send_enable_disable_packet_filter_cmd_tlv() - enable/disable packet filter
* @wmi_handle: wmi handle * @wmi_handle: wmi handle
@@ -14957,6 +14958,7 @@ static QDF_STATUS send_config_packet_filter_cmd_tlv(wmi_unified_t wmi_handle,
return QDF_STATUS_SUCCESS; return QDF_STATUS_SUCCESS;
} }
#endif /* End of WLAN_FEATURE_PACKET_FILTERING */
#endif /* End of WLAN_POWER_MANAGEMENT_OFFLOAD */ #endif /* End of WLAN_POWER_MANAGEMENT_OFFLOAD */
/** /**
@@ -22055,9 +22057,11 @@ struct wmi_ops tlv_ops = {
.send_lphb_config_udp_params_cmd = send_lphb_config_udp_params_cmd_tlv, .send_lphb_config_udp_params_cmd = send_lphb_config_udp_params_cmd_tlv,
.send_lphb_config_udp_pkt_filter_cmd = .send_lphb_config_udp_pkt_filter_cmd =
send_lphb_config_udp_pkt_filter_cmd_tlv, send_lphb_config_udp_pkt_filter_cmd_tlv,
#ifdef WLAN_FEATURE_PACKET_FILTERING
.send_enable_disable_packet_filter_cmd = .send_enable_disable_packet_filter_cmd =
send_enable_disable_packet_filter_cmd_tlv, send_enable_disable_packet_filter_cmd_tlv,
.send_config_packet_filter_cmd = send_config_packet_filter_cmd_tlv, .send_config_packet_filter_cmd = send_config_packet_filter_cmd_tlv,
#endif
#endif /* End of WLAN_POWER_MANAGEMENT_OFFLOAD */ #endif /* End of WLAN_POWER_MANAGEMENT_OFFLOAD */
#ifdef CONFIG_MCL #ifdef CONFIG_MCL
.send_process_dhcp_ind_cmd = send_process_dhcp_ind_cmd_tlv, .send_process_dhcp_ind_cmd = send_process_dhcp_ind_cmd_tlv,