qcacmn: Add wmi support for REQUEST_CTRL_PATH_STATS
Firmware has added support for control path stats infrastructure. Add wmi support to prepare wmi tlv buffer and send WMI_REQUEST_CTRL_PATH_STATS_CMDID. In the response path, add support to handle WMI_CTRL_PATH_STATS_EVENTID and extract the tlv. Change-Id: I930a44187af29adfda8acd90d0e41cff5fc94603 CRs-Fixed: 2856370
This commit is contained in:

committed by
snandini

parent
89296baefb
commit
0d4a8a6781
@@ -4217,6 +4217,24 @@ wmi_unified_send_injector_frame_config_cmd(wmi_unified_t wmi_handle,
|
||||
QDF_STATUS wmi_unified_send_cp_stats_cmd(wmi_unified_t wmi_handle,
|
||||
void *buf_ptr, uint32_t buf_len);
|
||||
|
||||
#ifdef WLAN_SUPPORT_INFRA_CTRL_PATH_STATS
|
||||
/**
|
||||
* wmi_unified_extract_infra_cp_stats() - extract various infra cp statistics
|
||||
* @wmi_handle: wmi handle
|
||||
* @evt_buf: event buffer
|
||||
* @evt_buf_len: length of event buffer
|
||||
* @params: pointer to store the extracted event info
|
||||
*
|
||||
* This function extracts the infra cp statistics from the event
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS
|
||||
wmi_unified_extract_infra_cp_stats(wmi_unified_t wmi_handle,
|
||||
void *evt_buf, uint32_t evt_buf_len,
|
||||
struct infra_cp_stats_event *params);
|
||||
#endif /* WLAN_SUPPORT_INFRA_CTRL_PATH_STATS */
|
||||
|
||||
/**
|
||||
* wmi_unified_extract_cp_stats_more_pending() - extract more flag
|
||||
* @wmi_handle: wmi handle
|
||||
|
Reference in New Issue
Block a user