diff --git a/wmi_unified_api.h b/wmi_unified_api.h index cbcbe386f3..0d371864c5 100644 --- a/wmi_unified_api.h +++ b/wmi_unified_api.h @@ -1162,7 +1162,7 @@ QDF_STATUS wmi_extract_wds_addr_event(void *wmi_hdl, void *evt_buf, uint16_t len, wds_addr_event_t *wds_ev); QDF_STATUS wmi_extract_dcs_interference_type(void *wmi_hdl, - void *evt_buf, uint32_t *interference_type); + void *evt_buf, struct wmi_host_dcs_interference_param *param); QDF_STATUS wmi_extract_dcs_cw_int(void *wmi_hdl, void *evt_buf, wmi_host_ath_dcs_cw_int *cw_int); diff --git a/wmi_unified_param.h b/wmi_unified_param.h index 78668f4f57..046eb3f872 100644 --- a/wmi_unified_param.h +++ b/wmi_unified_param.h @@ -7225,4 +7225,14 @@ struct wmi_host_pdev_utf_event { uint16_t datalen; }; +/** + * @struct wmi_host_dcs_interference_param + * @interference_type: Type of DCS Interference + * @uint32_t pdev_id: pdev id + */ +struct wmi_host_dcs_interference_param { + uint32_t interference_type; + uint32_t pdev_id; +}; + #endif /* _WMI_UNIFIED_PARAM_H_ */ diff --git a/wmi_unified_priv.h b/wmi_unified_priv.h index 6c503350ce..0de7b943af 100644 --- a/wmi_unified_priv.h +++ b/wmi_unified_priv.h @@ -1000,7 +1000,7 @@ QDF_STATUS (*extract_wds_addr_event)(wmi_unified_t wmi_handle, void *evt_buf, uint16_t len, wds_addr_event_t *wds_ev); QDF_STATUS (*extract_dcs_interference_type)(wmi_unified_t wmi_handle, - void *evt_buf, uint32_t *interference_type); + void *evt_buf, struct wmi_host_dcs_interference_param *param); QDF_STATUS (*extract_dcs_cw_int)(wmi_unified_t wmi_handle, void *evt_buf, wmi_host_ath_dcs_cw_int *cw_int);