qcacmn: Enable HW broadcast filter
Add ini to param to enable/disable HW filter for bc
(except arp) frame.
Change-Id: Ibd8a0543937c2ca749851ba1902c8961b500efa4
CRs-Fixed: 1113550
diff --git a/wmi_unified_api.h b/wmi_unified_api.h
index e4071d3..cc031cc 100644
--- a/wmi_unified_api.h
+++ b/wmi_unified_api.h
@@ -830,20 +830,6 @@
QDF_STATUS wmi_unified_pdev_set_dual_mac_config_cmd(void *wmi_hdl,
struct wmi_dual_mac_config *msg);
-/**
- * wmi_unified_configure_broadcast_filter_cmd() - Enable/Disable Broadcast
- * filter
- * when target goes to wow suspend/resume mode
- * @wmi_hdl: wmi handle
- * @vdev_id: device identifier
- * @bc_filter: enable/disable Broadcast filter
- *
- *
- * Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
- */
-QDF_STATUS wmi_unified_configure_broadcast_filter_cmd(void *wmi_hdl,
- uint8_t vdev_id, bool bc_filter);
-
QDF_STATUS wmi_unified_set_led_flashing_cmd(void *wmi_hdl,
struct flashing_req_params *flashing);
diff --git a/wmi_unified_pmo_api.h b/wmi_unified_pmo_api.h
index ee387cf..6ec2d92 100644
--- a/wmi_unified_pmo_api.h
+++ b/wmi_unified_pmo_api.h
@@ -165,6 +165,19 @@
uint8_t vdev_id);
/**
+ * wmi_unified_configure_broadcast_filter_cmd() - Enable/Disable Broadcast
+ * filter
+ * when target goes to wow suspend/resume mode
+ * @wmi_hdl: wmi handle
+ * @vdev_id: device identifier
+ * @bc_filter: enable/disable Broadcast filter
+ *
+ * Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
+ */
+QDF_STATUS wmi_unified_configure_broadcast_filter_cmd(void *wmi_hdl,
+ uint8_t vdev_id, bool bc_filter);
+
+/**
* wmi_unified_lphb_config_hbenable_cmd() - enable command of LPHB configuration
* @wmi_handle: wmi handle
* @lphb_conf_req: configuration info
diff --git a/wmi_unified_priv.h b/wmi_unified_priv.h
index 9224d5d..9118034 100644
--- a/wmi_unified_priv.h
+++ b/wmi_unified_priv.h
@@ -185,9 +185,6 @@
QDF_STATUS (*send_vdev_stop_cmd)(wmi_unified_t wmi,
uint8_t vdev_id);
-QDF_STATUS (*send_enable_broadcast_filter_cmd)(wmi_unified_t wmi_handle,
- uint8_t vdev_id, bool enable);
-
QDF_STATUS (*send_vdev_down_cmd)(wmi_unified_t wmi,
uint8_t vdev_id);
@@ -504,6 +501,9 @@
struct pmo_ns_offload_params *ns_offload_req,
uint8_t vdev_id);
+QDF_STATUS (*send_enable_broadcast_filter_cmd)(wmi_unified_t wmi_handle,
+ uint8_t vdev_id, bool enable);
+
QDF_STATUS (*send_enable_enhance_multicast_offload_cmd)(
wmi_unified_t wmi_handle,
uint8_t vdev_id, bool action);