qcacmn: Request and process Beacon stats from FW
Request and process Beacon frames from FW using WMI command and event. WMI_HOST_REQUEST_BCN_STAT is for beacon stats request and event processing. Change-Id: I99250384868d62089a0f7d2acf94dd6e29ef67b9 CRs-Fixed: 2139393
This commit is contained in:

committed by
snandini

parent
7fe3afc311
commit
b5fb8364b2
@@ -6407,6 +6407,26 @@ QDF_STATUS wmi_extract_vdev_extd_stats(void *wmi_hdl, void *evt_buf,
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
/**
|
||||
* wmi_extract_bcn_stats() - extract beacon stats from event
|
||||
* @wmi_handle: wmi handle
|
||||
* @evt_buf: pointer to event buffer
|
||||
* @index: Index into beacon stats
|
||||
* @vdev_bcn_stats: Pointer to hold beacon stats
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_extract_bcn_stats(void *wmi_hdl, void *evt_buf,
|
||||
uint32_t index, wmi_host_bcn_stats *vdev_bcn_stats)
|
||||
{
|
||||
wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
||||
|
||||
if (wmi_handle->ops->extract_bcn_stats)
|
||||
return wmi_handle->ops->extract_bcn_stats(wmi_handle,
|
||||
evt_buf, index, vdev_bcn_stats);
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
/**
|
||||
* wmi_unified_send_adapt_dwelltime_params_cmd() - send wmi cmd of
|
||||
* adaptive dwelltime configuration params
|
||||
|
Reference in New Issue
Block a user