qcacmn: Add MIB statistics
Add new stats_id WMI_REQUEST_MIB_STATS & WMI_REQUEST_MIB_EXTD_STATS in WMI_REQUEST_STATS_CMDID to retrieve MIB statistics from fw. Change-Id: I17bccc2673d1a2ce035db04d8426bab49db80790 CRs-Fixed: 2548165
This commit is contained in:
@@ -2178,6 +2178,19 @@ wmi_extract_chan_stats(wmi_unified_t wmi_handle, void *evt_buf,
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
#ifdef WLAN_FEATURE_MIB_STATS
|
||||
QDF_STATUS wmi_extract_mib_stats(wmi_unified_t wmi_handle, void *evt_buf,
|
||||
struct mib_stats_metrics *mib_stats)
|
||||
{
|
||||
if (wmi_handle->ops->extract_mib_stats)
|
||||
return wmi_handle->ops->extract_mib_stats(wmi_handle,
|
||||
evt_buf,
|
||||
mib_stats);
|
||||
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
#endif
|
||||
|
||||
QDF_STATUS wmi_extract_thermal_stats(wmi_unified_t wmi_handle, void *evt_buf,
|
||||
uint32_t *temp, uint32_t *level,
|
||||
uint32_t *pdev_id)
|
||||
|
Reference in New Issue
Block a user