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
This commit is contained in:

committed by
Sandeep Puligilla

parent
45fc858159
commit
8f2c92f8dd
@@ -2991,18 +2991,6 @@ QDF_STATUS wmi_unified_pdev_set_dual_mac_config_cmd(void *wmi_hdl,
|
|||||||
return QDF_STATUS_E_FAILURE;
|
return QDF_STATUS_E_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
QDF_STATUS wmi_unified_configure_broadcast_filter_cmd(void *wmi_hdl,
|
|
||||||
uint8_t vdev_id, bool bc_filter)
|
|
||||||
{
|
|
||||||
wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
|
||||||
|
|
||||||
if (wmi_handle->ops->send_enable_broadcast_filter_cmd)
|
|
||||||
return wmi_handle->ops->send_enable_broadcast_filter_cmd(
|
|
||||||
wmi_handle, vdev_id, bc_filter);
|
|
||||||
|
|
||||||
return QDF_STATUS_E_FAILURE;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* wmi_unified_set_led_flashing_cmd() - set led flashing in fw
|
* wmi_unified_set_led_flashing_cmd() - set led flashing in fw
|
||||||
* @wmi_hdl: wmi handle
|
* @wmi_hdl: wmi handle
|
||||||
|
@@ -170,6 +170,18 @@ QDF_STATUS wmi_unified_enable_arp_ns_offload_cmd(void *wmi_hdl,
|
|||||||
return QDF_STATUS_E_FAILURE;
|
return QDF_STATUS_E_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QDF_STATUS wmi_unified_configure_broadcast_filter_cmd(void *wmi_hdl,
|
||||||
|
uint8_t vdev_id, bool bc_filter)
|
||||||
|
{
|
||||||
|
wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
||||||
|
|
||||||
|
if (wmi_handle->ops->send_enable_broadcast_filter_cmd)
|
||||||
|
return wmi_handle->ops->send_enable_broadcast_filter_cmd(
|
||||||
|
wmi_handle, vdev_id, bc_filter);
|
||||||
|
|
||||||
|
return QDF_STATUS_E_FAILURE;
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef FEATURE_WLAN_LPHB
|
#ifdef FEATURE_WLAN_LPHB
|
||||||
QDF_STATUS wmi_unified_lphb_config_hbenable_cmd(void *wmi_hdl,
|
QDF_STATUS wmi_unified_lphb_config_hbenable_cmd(void *wmi_hdl,
|
||||||
wmi_hb_set_enable_cmd_fixed_param *params)
|
wmi_hb_set_enable_cmd_fixed_param *params)
|
||||||
|
@@ -13348,7 +13348,6 @@ QDF_STATUS send_lphb_config_udp_pkt_filter_cmd_tlv(wmi_unified_t wmi_handle,
|
|||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
#endif /* FEATURE_WLAN_LPHB */
|
#endif /* FEATURE_WLAN_LPHB */
|
||||||
#endif /* End of WLAN_PMO_ENABLE */
|
|
||||||
|
|
||||||
static QDF_STATUS send_enable_broadcast_filter_cmd_tlv(wmi_unified_t wmi_handle,
|
static QDF_STATUS send_enable_broadcast_filter_cmd_tlv(wmi_unified_t wmi_handle,
|
||||||
uint8_t vdev_id, bool enable)
|
uint8_t vdev_id, bool enable)
|
||||||
@@ -13392,6 +13391,7 @@ static QDF_STATUS send_enable_broadcast_filter_cmd_tlv(wmi_unified_t wmi_handle,
|
|||||||
|
|
||||||
return QDF_STATUS_SUCCESS;
|
return QDF_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
#endif /* End of WLAN_PMO_ENABLE */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* send_set_ssid_hotlist_cmd_tlv() - Handle an SSID hotlist set request
|
* send_set_ssid_hotlist_cmd_tlv() - Handle an SSID hotlist set request
|
||||||
@@ -17079,6 +17079,8 @@ struct wmi_ops tlv_ops = {
|
|||||||
.send_wow_patterns_to_fw_cmd = send_wow_patterns_to_fw_cmd_tlv,
|
.send_wow_patterns_to_fw_cmd = send_wow_patterns_to_fw_cmd_tlv,
|
||||||
.send_enable_arp_ns_offload_cmd = send_enable_arp_ns_offload_cmd_tlv,
|
.send_enable_arp_ns_offload_cmd = send_enable_arp_ns_offload_cmd_tlv,
|
||||||
.send_add_clear_mcbc_filter_cmd = send_add_clear_mcbc_filter_cmd_tlv,
|
.send_add_clear_mcbc_filter_cmd = send_add_clear_mcbc_filter_cmd_tlv,
|
||||||
|
.send_enable_broadcast_filter_cmd =
|
||||||
|
send_enable_broadcast_filter_cmd_tlv,
|
||||||
.send_gtk_offload_cmd = send_gtk_offload_cmd_tlv,
|
.send_gtk_offload_cmd = send_gtk_offload_cmd_tlv,
|
||||||
.send_process_gtk_offload_getinfo_cmd =
|
.send_process_gtk_offload_getinfo_cmd =
|
||||||
send_process_gtk_offload_getinfo_cmd_tlv,
|
send_process_gtk_offload_getinfo_cmd_tlv,
|
||||||
@@ -17165,8 +17167,6 @@ struct wmi_ops tlv_ops = {
|
|||||||
.send_pdev_set_hw_mode_cmd = send_pdev_set_hw_mode_cmd_tlv,
|
.send_pdev_set_hw_mode_cmd = send_pdev_set_hw_mode_cmd_tlv,
|
||||||
.send_pdev_set_dual_mac_config_cmd =
|
.send_pdev_set_dual_mac_config_cmd =
|
||||||
send_pdev_set_dual_mac_config_cmd_tlv,
|
send_pdev_set_dual_mac_config_cmd_tlv,
|
||||||
.send_enable_broadcast_filter_cmd =
|
|
||||||
send_enable_broadcast_filter_cmd_tlv,
|
|
||||||
.send_app_type1_params_in_fw_cmd =
|
.send_app_type1_params_in_fw_cmd =
|
||||||
send_app_type1_params_in_fw_cmd_tlv,
|
send_app_type1_params_in_fw_cmd_tlv,
|
||||||
.send_set_ssid_hotlist_cmd = send_set_ssid_hotlist_cmd_tlv,
|
.send_set_ssid_hotlist_cmd = send_set_ssid_hotlist_cmd_tlv,
|
||||||
|
Reference in New Issue
Block a user