qcacmn: Add WMI changes for host DFS confirmation check
Send average radar parameters to FW. Extract host dfs spoof check status from FW. Change-Id: I70c4e5aad0fe1eda55da37abd20cc6d70728edba CRs-Fixed: 2211883
This commit is contained in:

committed by
nshrivas

parent
f445f5c560
commit
6c90a3ebda
@@ -2260,4 +2260,31 @@ QDF_STATUS wmi_extract_cca_stats(wmi_unified_t wmi_handle, void *evt_buf,
|
|||||||
struct wmi_host_congestion_stats *stats);
|
struct wmi_host_congestion_stats *stats);
|
||||||
#endif /* QCA_SUPPORT_CP_STATS */
|
#endif /* QCA_SUPPORT_CP_STATS */
|
||||||
|
|
||||||
|
#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && defined(HOST_DFS_SPOOF_TEST)
|
||||||
|
/**
|
||||||
|
* wmi_unified_dfs_send_avg_params_cmd() - send average radar parameters cmd.
|
||||||
|
* @wmi_hdl: wmi handle
|
||||||
|
* @params: radar found params
|
||||||
|
*
|
||||||
|
* This function passes the average radar parameters to fw
|
||||||
|
*
|
||||||
|
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||||
|
*/
|
||||||
|
QDF_STATUS
|
||||||
|
wmi_unified_dfs_send_avg_params_cmd(void *wmi_hdl,
|
||||||
|
struct dfs_radar_found_params *params);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* wmi_extract_dfs_status_from_fw() - extract host dfs status from fw.
|
||||||
|
* @wmi_hdl: wmi handle
|
||||||
|
* @evt_buf: pointer to event buffer
|
||||||
|
* @dfs_status_check: pointer to the host dfs status
|
||||||
|
*
|
||||||
|
* This function extracts the result of host dfs from fw
|
||||||
|
*
|
||||||
|
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||||
|
*/
|
||||||
|
QDF_STATUS wmi_extract_dfs_status_from_fw(void *wmi_hdl, void *evt_buf,
|
||||||
|
uint32_t *dfs_status_check);
|
||||||
|
#endif
|
||||||
#endif /* _WMI_UNIFIED_API_H_ */
|
#endif /* _WMI_UNIFIED_API_H_ */
|
||||||
|
@@ -432,6 +432,7 @@ typedef enum {
|
|||||||
typedef enum {
|
typedef enum {
|
||||||
WMI_HOST_VDEV_START_OK = 0,
|
WMI_HOST_VDEV_START_OK = 0,
|
||||||
WMI_HOST_VDEV_START_CHAN_INVALID,
|
WMI_HOST_VDEV_START_CHAN_INVALID,
|
||||||
|
WMI_HOST_VDEV_START_CHAN_BLOCKED,
|
||||||
} WMI_HOST_VDEV_START_STATUS;
|
} WMI_HOST_VDEV_START_STATUS;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -5519,6 +5520,9 @@ typedef enum {
|
|||||||
wmi_host_swfda_event_id,
|
wmi_host_swfda_event_id,
|
||||||
wmi_sar_get_limits_event_id,
|
wmi_sar_get_limits_event_id,
|
||||||
wmi_pdev_div_rssi_antid_event_id,
|
wmi_pdev_div_rssi_antid_event_id,
|
||||||
|
#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && defined(HOST_DFS_SPOOF_TEST)
|
||||||
|
wmi_host_dfs_status_check_event_id,
|
||||||
|
#endif
|
||||||
|
|
||||||
wmi_events_max,
|
wmi_events_max,
|
||||||
} wmi_conv_event_id;
|
} wmi_conv_event_id;
|
||||||
@@ -5944,6 +5948,7 @@ typedef enum {
|
|||||||
wmi_service_ap_obss_detection_offload,
|
wmi_service_ap_obss_detection_offload,
|
||||||
wmi_service_bss_color_offload,
|
wmi_service_bss_color_offload,
|
||||||
wmi_service_gmac_offload_support,
|
wmi_service_gmac_offload_support,
|
||||||
|
wmi_service_host_dfs_check_support,
|
||||||
|
|
||||||
wmi_services_max,
|
wmi_services_max,
|
||||||
} wmi_conv_service_ids;
|
} wmi_conv_service_ids;
|
||||||
|
@@ -1616,6 +1616,16 @@ QDF_STATUS (*extract_twt_resume_dialog_comp_event)(wmi_unified_t wmi_handle,
|
|||||||
QDF_STATUS (*extract_cca_stats)(wmi_unified_t wmi_handle, void *evt_buf,
|
QDF_STATUS (*extract_cca_stats)(wmi_unified_t wmi_handle, void *evt_buf,
|
||||||
struct wmi_host_congestion_stats *stats);
|
struct wmi_host_congestion_stats *stats);
|
||||||
#endif /* QCA_SUPPORT_CP_STATS */
|
#endif /* QCA_SUPPORT_CP_STATS */
|
||||||
|
|
||||||
|
#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && defined(HOST_DFS_SPOOF_TEST)
|
||||||
|
QDF_STATUS (*send_dfs_average_radar_params_cmd)(
|
||||||
|
wmi_unified_t wmi_handle,
|
||||||
|
struct dfs_radar_found_params *params);
|
||||||
|
|
||||||
|
QDF_STATUS (*extract_dfs_status_from_fw)(wmi_unified_t wmi_handle,
|
||||||
|
void *evt_buf,
|
||||||
|
uint32_t *dfs_status_check);
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Forward declartion for psoc*/
|
/* Forward declartion for psoc*/
|
||||||
|
Reference in New Issue
Block a user