qcacmn: Initialize pdev_id for PDEV STATS request and event
Initialize pdev_id for PDEV stats request and response event. Add param to set pdev stats request timer. Change-Id: I11f648070cd39f026129d1cf3aa13bf296d25e6e
This commit is contained in:

committed by
snandini

parent
0aeff78c35
commit
305aeae27f
@@ -2053,27 +2053,6 @@ QDF_STATUS wmi_unified_process_ll_stats_get_cmd(void *wmi_hdl,
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
/**
|
||||
* wmi_unified_get_stats_cmd() - get stats request
|
||||
* @wmi_hdl: wma handle
|
||||
* @get_stats_param: stats params
|
||||
* @addr: mac address
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_get_stats_cmd(void *wmi_hdl,
|
||||
struct pe_stats_req *get_stats_param,
|
||||
uint8_t addr[IEEE80211_ADDR_LEN])
|
||||
{
|
||||
wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
||||
|
||||
if (wmi_handle->ops->send_get_stats_cmd)
|
||||
return wmi_handle->ops->send_get_stats_cmd(wmi_handle,
|
||||
get_stats_param, addr);
|
||||
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
/**
|
||||
* wmi_unified_congestion_request_cmd() - send request to fw to get CCA
|
||||
* @wmi_hdl: wma handle
|
||||
|
Reference in New Issue
Block a user