qcacmn: Add support to get pmf bcn protect stats from fw
To get the pmf beacon stats from firmware, host sets WMI_REQUEST_PMF_BCN_PROTECT_STAT bit in stats_id param of WMI_REQUEST_STATS_CMDID command. Firmware supporting pmf beacon protection stats responds host with stats in wmi_update_stats_id event. Hence add support to get PMF beacon protect stats from firmware. Change-Id: I99efd94ce5367da1312f60251ce7106997dd8bc8 CRs-Fixed: 2705084
This commit is contained in:

committed by
snandini

parent
62339dcb9c
commit
f17e8207ac
@@ -2104,6 +2104,17 @@ wmi_extract_composite_phyerr(wmi_unified_t wmi_handle, void *evt_buf,
|
||||
|
||||
}
|
||||
|
||||
QDF_STATUS
|
||||
wmi_extract_pmf_bcn_protect_stats(wmi_unified_t wmi_handle, void *evt_buf,
|
||||
wmi_host_pmf_bcn_protect_stats *bcn_stats)
|
||||
{
|
||||
if (wmi_handle->ops->extract_pmf_bcn_protect_stats)
|
||||
return wmi_handle->ops->extract_pmf_bcn_protect_stats(
|
||||
wmi_handle, evt_buf, bcn_stats);
|
||||
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
QDF_STATUS
|
||||
wmi_extract_unit_test(wmi_unified_t wmi_handle, void *evt_buf,
|
||||
wmi_unit_test_event *unit_test, uint32_t maxspace)
|
||||
|
Reference in New Issue
Block a user