qcacmn: WMI support added for sifs_trigger interval config
FR: TDMA Support for Wave2 Radios (host support)
Added a wmi cmd for configuring the interval between successive sifs
trigger frames given by the user app. Added a separate wmi cmd instead
of wmi param with reference to further scope.
Change-Id: Ifa778a761e3495ef7abab5f63a49661b307034ae
CRs-Fixed: 2330484
diff --git a/wmi_unified_api.c b/wmi_unified_api.c
index 362b1ee..ef072a9 100644
--- a/wmi_unified_api.c
+++ b/wmi_unified_api.c
@@ -679,6 +679,25 @@
}
/**
+ * wmi_unified_sifs_trigger_send() - WMI vdev sifs trigger parameter function
+ * @param wmi_handle : handle to WMI.
+ * @param param : pointer to hold sifs trigger parameter
+ *
+ * Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
+ */
+QDF_STATUS wmi_unified_sifs_trigger_send(void *wmi_hdl,
+ struct sifs_trigger_param *param)
+{
+ wmi_unified_t wmi_handle = (wmi_unified_t)wmi_hdl;
+
+ if (wmi_handle->ops->send_vdev_sifs_trigger_cmd)
+ return wmi_handle->ops->send_vdev_sifs_trigger_cmd(wmi_handle,
+ param);
+
+ return QDF_STATUS_E_FAILURE;
+}
+
+/**
* wmi_unified_stats_request_send() - WMI request stats function
* @param wmi_handle : handle to WMI.
* @param macaddr : MAC address