qcacmn: extract dfs events

Add support to extract dfs events.

Change-Id: I2889d419954dec8ed3714dd0fd7383f3a3586f6e
CRs-Fixed: 2017481
This commit is contained in:
Arif Hussain
2017-04-09 01:03:19 -07:00
committed by snandini
parent 0ba573b7ae
commit e542fe1343
2 changed files with 17 additions and 0 deletions

View File

@@ -4925,6 +4925,8 @@ typedef enum {
wmi_pdev_csa_switch_count_status_event_id, wmi_pdev_csa_switch_count_status_event_id,
wmi_reg_chan_list_cc_event_id, wmi_reg_chan_list_cc_event_id,
wmi_offchan_data_tx_completion_event, wmi_offchan_data_tx_completion_event,
wmi_dfs_cac_complete_id,
wmi_dfs_radar_detection_event_id,
wmi_events_max, wmi_events_max,
} wmi_conv_event_id; } wmi_conv_event_id;

View File

@@ -42,6 +42,10 @@
#include <wlan_p2p_public_struct.h> #include <wlan_p2p_public_struct.h>
#endif #endif
#ifdef DFS_COMPONENT_ENABLE
#include <wlan_dfs_public_struct.h>
#endif
#define WMI_UNIFIED_MAX_EVENT 0x100 #define WMI_UNIFIED_MAX_EVENT 0x100
#ifdef CONFIG_MCL #ifdef CONFIG_MCL
#define WMI_MAX_CMDS 256 #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, QDF_STATUS (*extract_chainmask_tables)(wmi_unified_t wmi_handle,
uint8_t *evt_buf, uint8_t *evt_buf,
struct wlan_psoc_host_chainmask_table *chainmask_table); 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 { struct target_abi_version {