qcacmn: Add support for wmi halphy stats

Add support for halphy stats through wmi control path.

Change-Id: I1bf8f49104e23ae64596d8979d91c616a336da98
CRs-Fixed: 3236891
This commit is contained in:
Nidhi Jain
2022-07-15 10:40:00 +05:30
committed by Madan Koyyalamudi
parent c2a5c7ec7e
commit 12d44924a6
4 changed files with 67 additions and 0 deletions

View File

@@ -4633,6 +4633,19 @@ QDF_STATUS wmi_unified_send_cp_stats_cmd(wmi_unified_t wmi_handle,
void *buf_ptr, uint32_t buf_len);
/**
* wmi_unified_send_halphy_stats_cmd() - Send halphy stats command
* @wmi_handle: wmi handle
* @buf_ptr: buf_ptr received from wifistats
* @buf_len: length of buffer received from wifistats
*
* This function sends halphy stats cmd to get halphy stats.
*
* Return QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
*/
QDF_STATUS wmi_unified_send_halphy_stats_cmd(wmi_unified_t wmi_handle,
void *buf_ptr, uint32_t buf_len);
/**
* wmi_unified_extract_cp_stats_more_pending() - extract more flag
* @wmi_handle: wmi handle