diff --git a/wmi_unified_api.h b/wmi_unified_api.h index eacaee6097..76b1941c92 100644 --- a/wmi_unified_api.h +++ b/wmi_unified_api.h @@ -1232,7 +1232,7 @@ QDF_STATUS wmi_extract_gpio_input_ev_param(void *wmi_hdl, void *evt_buf, uint32_t *gpio_num); QDF_STATUS wmi_extract_pdev_reserve_ast_ev_param(void *wmi_hdl, - void *evt_buf, uint32_t *result); + void *evt_buf, struct wmi_host_proxy_ast_reserve_param *param); QDF_STATUS wmi_extract_nfcal_power_ev_param(void *wmi_hdl, void *evt_buf, wmi_host_pdev_nfcal_power_all_channels_event *param); diff --git a/wmi_unified_param.h b/wmi_unified_param.h index 9421002226..8a6f1ca509 100644 --- a/wmi_unified_param.h +++ b/wmi_unified_param.h @@ -7383,4 +7383,14 @@ struct wmi_host_fips_event_param { uint32_t data_len; uint32_t *data; }; + +/** + * struct wmi_host_proxy_ast_reserve_param + * @pdev_id: pdev id + * @result: result + */ +struct wmi_host_proxy_ast_reserve_param { + uint32_t pdev_id; + uint32_t result; +}; #endif /* _WMI_UNIFIED_PARAM_H_ */ diff --git a/wmi_unified_priv.h b/wmi_unified_priv.h index fa6e59676f..43b26ec5ea 100644 --- a/wmi_unified_priv.h +++ b/wmi_unified_priv.h @@ -1055,7 +1055,7 @@ QDF_STATUS (*extract_gpio_input_ev_param)(wmi_unified_t wmi_handle, void *evt_buf, uint32_t *gpio_num); QDF_STATUS (*extract_pdev_reserve_ast_ev_param)(wmi_unified_t wmi_handle, - void *evt_buf, uint32_t *result); + void *evt_buf, struct wmi_host_proxy_ast_reserve_param *param); QDF_STATUS (*extract_nfcal_power_ev_param)(wmi_unified_t wmi_handle, void *evt_buf,