qcacmn: Add Support for Setting MSDUQ Depth Parameters

Add host support to enable setting MSDUQ depth parameters per
TID per peer.

Parameters include MAC Address, TID number, update mask and
Q depth threshold value.

CRs-Fixed: 2162460
Change-Id: Ie947fd599278a04e13d6aa6c89f840187dbf17fa
This commit is contained in:
Venkateswara Swamy Bandaru
2017-12-22 17:16:19 +05:30
committed by snandini
parent f396c728ca
commit 9983ac5b2d
2 changed files with 109 additions and 0 deletions

View File

@@ -4217,6 +4217,24 @@ QDF_STATUS wmi_unified_vdev_set_custom_aggr_size_cmd_send(void *wmi_hdl,
return QDF_STATUS_E_FAILURE;
}
/**
* wmi_unified_vdev_set_qdepth_thresh_cmd_send() - WMI set qdepth threshold
* @param wmi_handle : handle to WMI
* @param param : pointer to hold qdepth threshold params
*
* @return QDF_STATUS_SUCCESS on success and QDF_STATUS_R_FAILURE for failure
*/
QDF_STATUS wmi_unified_vdev_set_qdepth_thresh_cmd_send(void *wmi_hdl,
struct set_qdepth_thresh_params *param)
{
wmi_unified_t wmi = (wmi_unified_t)wmi_hdl;
if (wmi->ops->send_vdev_set_qdepth_thresh_cmd)
return wmi->ops->send_vdev_set_qdepth_thresh_cmd(wmi, param);
return QDF_STATUS_E_FAILURE;
}
/**
* wmi_unified_pdev_set_regdomain_params_cmd_send() - WMI set regdomain function
* @param wmi_handle : handle to WMI.