diff --git a/wmi_unified_api.h b/wmi_unified_api.h index 0e41248b60..a3d6d6012e 100644 --- a/wmi_unified_api.h +++ b/wmi_unified_api.h @@ -796,7 +796,9 @@ QDF_STATUS wmi_unified_pdev_set_dual_mac_config_cmd(void *wmi_hdl, struct wmi_dual_mac_config *msg); QDF_STATUS wmi_unified_enable_arp_ns_offload_cmd(void *wmi_hdl, - struct host_offload_req_param *param, bool arp_only, + struct host_offload_req_param *arp_offload_req, + struct host_offload_req_param *ns_offload_req, + bool arp_only, uint8_t vdev_id); QDF_STATUS wmi_unified_set_led_flashing_cmd(void *wmi_hdl, diff --git a/wmi_unified_priv.h b/wmi_unified_priv.h index 1940531110..2a4c9e90c0 100644 --- a/wmi_unified_priv.h +++ b/wmi_unified_priv.h @@ -660,7 +660,9 @@ QDF_STATUS (*send_pdev_set_dual_mac_config_cmd)(wmi_unified_t wmi_handle, struct wmi_dual_mac_config *msg); QDF_STATUS (*send_enable_arp_ns_offload_cmd)(wmi_unified_t wmi_handle, - struct host_offload_req_param *param, bool arp_only, + struct host_offload_req_param *arp_offload_req, + struct host_offload_req_param *ns_offload_req, + bool arp_only, uint8_t vdev_id); QDF_STATUS (*send_set_led_flashing_cmd)(wmi_unified_t wmi_handle, diff --git a/wmi_unified_tlv.h b/wmi_unified_tlv.h index b21b40a59c..5606315c52 100644 --- a/wmi_unified_tlv.h +++ b/wmi_unified_tlv.h @@ -511,8 +511,19 @@ QDF_STATUS send_pdev_set_hw_mode_cmd_tlv(wmi_unified_t wmi_handle, QDF_STATUS send_soc_set_dual_mac_config_cmd_tlv(wmi_unified_t wmi_handle, struct wmi_dual_mac_config *msg); +static void fill_arp_offload_params_tlv(wmi_unified_t wmi_handle, + struct host_offload_req_param *offload_req, uint8_t **buf_ptr); + +static void fill_ns_offload_params_tlv(wmi_unified_t wmi_handle, + struct host_offload_req_param *offload_req, uint8_t **buf_ptr); + +static void fill_nsoffload_ext_tlv(wmi_unified_t wmi_handle, + struct host_offload_req_param *offload_req, uint8_t **buf_ptr); + QDF_STATUS send_enable_arp_ns_offload_cmd_tlv(wmi_unified_t wmi_handle, - struct host_offload_req_param *param, bool arp_only, + struct host_offload_req_param *arp_offload_req, + struct host_offload_req_param *ns_offload_req, + bool arp_only, uint8_t vdev_id); QDF_STATUS send_set_led_flashing_cmd_tlv(wmi_unified_t wmi_handle,