diff --git a/wmi_unified_param.h b/wmi_unified_param.h index 5b2c938a4a..31b226be70 100644 --- a/wmi_unified_param.h +++ b/wmi_unified_param.h @@ -4925,6 +4925,8 @@ typedef enum { wmi_pdev_csa_switch_count_status_event_id, wmi_reg_chan_list_cc_event_id, wmi_offchan_data_tx_completion_event, + wmi_dfs_cac_complete_id, + wmi_dfs_radar_detection_event_id, wmi_events_max, } wmi_conv_event_id; diff --git a/wmi_unified_priv.h b/wmi_unified_priv.h index 312826614b..65ba18ab7d 100644 --- a/wmi_unified_priv.h +++ b/wmi_unified_priv.h @@ -42,6 +42,10 @@ #include #endif +#ifdef DFS_COMPONENT_ENABLE +#include +#endif + #define WMI_UNIFIED_MAX_EVENT 0x100 #ifdef CONFIG_MCL #define WMI_MAX_CMDS 256 @@ -1295,6 +1299,17 @@ QDF_STATUS (*extract_reg_chan_list_update_event)(wmi_unified_t wmi_handle, QDF_STATUS (*extract_chainmask_tables)(wmi_unified_t wmi_handle, uint8_t *evt_buf, struct wlan_psoc_host_chainmask_table *chainmask_table); + +#ifdef DFS_COMPONENT_ENABLE +QDF_STATUS (*extract_dfs_cac_complete_event)(wmi_unified_t wmi_handle, + uint8_t *evt_buf, + uint32_t *vdev_id, + uint32_t len); +QDF_STATUS (*extract_dfs_radar_detection_event)(wmi_unified_t wmi_handle, + uint8_t *evt_buf, + struct radar_found_info *radar_found, + uint32_t len); +#endif }; struct target_abi_version {