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:
Rajasekaran Kalidoss
2021-01-16 05:57:48 +05:30
committed by snandini
parent 89296baefb
commit 0d4a8a6781
7 changed files with 438 additions and 5 deletions

View File

@@ -2474,6 +2474,16 @@ QDF_STATUS (*send_cp_stats_cmd)(wmi_unified_t wmi_handle,
QDF_STATUS (*extract_cp_stats_more_pending)(wmi_unified_t wmi_handle,
void *evt_buf,
uint32_t *more_flag);
#ifdef WLAN_SUPPORT_INFRA_CTRL_PATH_STATS
QDF_STATUS
(*extract_infra_cp_stats)(wmi_unified_t wmi_handle,
void *evt_buf, uint32_t evt_buf_len,
struct infra_cp_stats_event *params);
QDF_STATUS
(*send_infra_cp_stats_request_cmd)(wmi_unified_t wmi_handle,
struct infra_cp_stats_cmd_info *param);
#endif /* WLAN_SUPPORT_INFRA_CTRL_PATH_STATS */
QDF_STATUS (*send_vdev_tsf_tstamp_action_cmd)(wmi_unified_t wmi,
uint8_t vdev_id);