qcacmn: Add wmi interface command to support debug stats

Add wmi interface command to support set/get NUD debug stats.

Change-Id: I2c5e9e2f6b0bb2e7b7b0a6404e939b33bffa3f18
CRs-Fixed: 2011463
This commit is contained in:
Anurag Chouhan
2017-09-11 14:56:30 +05:30
committed by pramod kotreshappa
parent 98ec4c4fe3
commit 97f0042e55
2 changed files with 148 additions and 0 deletions

View File

@@ -3283,6 +3283,44 @@ QDF_STATUS wmi_unified_set_per_roam_config(void *wmi_hdl,
return QDF_STATUS_E_FAILURE;
}
/**
* wmi_unified_set_arp_stats_req() - set arp stats request
* @wmi_hdl: wmi handle
* @req_buf: pointer to set_arp_stats
*
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
*/
QDF_STATUS wmi_unified_set_arp_stats_req(void *wmi_hdl,
struct set_arp_stats *req_buf)
{
wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
if (wmi_handle->ops->send_set_arp_stats_req_cmd)
return wmi_handle->ops->send_set_arp_stats_req_cmd(wmi_handle,
req_buf);
return QDF_STATUS_E_FAILURE;
}
/**
* wmi_unified_get_arp_stats_req() - get arp stats request
* @wmi_hdl: wmi handle
* @req_buf: pointer to get_arp_stats
*
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
*/
QDF_STATUS wmi_unified_get_arp_stats_req(void *wmi_hdl,
struct get_arp_stats *req_buf)
{
wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
if (wmi_handle->ops->send_get_arp_stats_req_cmd)
return wmi_handle->ops->send_get_arp_stats_req_cmd(wmi_handle,
req_buf);
return QDF_STATUS_E_FAILURE;
}
/**
* wmi_unified_get_buf_extscan_hotlist_cmd() - prepare hotlist command
* @wmi_hdl: wmi handle