qcacmn: Add ctl failsafe event

CTL failsafe event handler adds the capability to inform host
when failsafe algorithm invoked.

CRs-Fixed: 2333137
Change-Id: I91298c9be1f0f8291c927dbd3ac4a2a9f1b9f31b
このコミットが含まれているのは:
Alok Singh
2018-09-20 16:07:28 +05:30
committed by nshrivas
コミット a31a11a628
3個のファイルの変更30行の追加0行の削除

ファイルの表示

@@ -1548,6 +1548,21 @@ QDF_STATUS wmi_extract_smartlog_ev
void wmi_process_fw_event_worker_thread_ctx(struct wmi_unified *wmi_handle,
HTC_PACKET * htc_packet);
/**
* wmi_extract_ctl_failsafe_check_ev_param() - extract ctl failsafe
* status from event
* @wmi_handle: wmi handle
* @param evt_buf: pointer to event buffer
* @param ev: Pointer to hold ctl status
*
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
*/
QDF_STATUS
wmi_extract_ctl_failsafe_check_ev_param(void *wmi_hdl,
void *evt_buf,
struct wmi_host_pdev_ctl_failsafe_event
*param);
#ifdef OBSS_PD
/**
* wmi_extract_smartlog_ev() - extract smartlog event info from event

ファイルの表示

@@ -4715,6 +4715,7 @@ typedef enum {
#endif /* OL_ATH_SMART_LOGGING */
wmi_wlan_sar2_result_event_id,
wmi_esp_estimate_event_id,
wmi_pdev_ctl_failsafe_check_event_id,
wmi_events_max,
} wmi_conv_event_id;
@@ -6609,6 +6610,14 @@ typedef struct {
uint32_t reserved;
} wmi_host_pdev_bss_chan_info_event;
/**
* struct wmi_host_pdev_ctl_failsafe_event
* @ctl_failsafe_status: Indicate if Failsafe value is imposed on CTL
*/
struct wmi_host_pdev_ctl_failsafe_event {
uint32_t ctl_failsafe_status;
};
#define WMI_HOST_INST_STATS_INVALID_RSSI 0
/**
* struct wmi_host_inst_stats_resp

ファイルの表示

@@ -1817,6 +1817,12 @@ QDF_STATUS (*send_obss_spatial_reuse_set)(wmi_unified_t wmi_handle,
struct wmi_host_obss_spatial_reuse_set_param
*obss_spatial_reuse_param);
#endif
QDF_STATUS
(*extract_ctl_failsafe_check_ev_param)(
wmi_unified_t wmi_handle,
void *evt_buf,
struct wmi_host_pdev_ctl_failsafe_event *param);
};
/* Forward declartion for psoc*/