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
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2013-2020, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2013-2021, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
@@ -24,6 +24,22 @@
|
||||
#include <wmi_unified_mc_cp_stats_api.h>
|
||||
#endif
|
||||
|
||||
#ifdef WLAN_SUPPORT_INFRA_CTRL_PATH_STATS
|
||||
/**
|
||||
* wmi_unified_infra_cp_stats_request_send() - WMI request infra_cp_stats
|
||||
* function
|
||||
* @wmi_handle: wmi handle
|
||||
* @param: pointer to hold infra_cp_stats request parameters
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on Success, other QDF_STATUS error
|
||||
* codes on failure
|
||||
*/
|
||||
QDF_STATUS
|
||||
wmi_unified_infra_cp_stats_request_send(
|
||||
wmi_unified_t wmi_handle,
|
||||
struct infra_cp_stats_cmd_info *param);
|
||||
#endif /* WLAN_SUPPORT_INFRA_CTRL_PATH_STATS */
|
||||
|
||||
/**
|
||||
* wmi_unified_stats_request_send() - WMI request stats function
|
||||
* @wmi_handle: handle to WMI
|
||||
|
Reference in New Issue
Block a user