瀏覽代碼

qcacld-3.0: Provide ucfg_fwol_set_ilp_config() api

Provide ucfg_fwol_set_ilp_config() api.

Change-Id: Id003eb8605c513bb1209e5a3b5073b9ad972b2fe
CRs-Fixed: 3415887
Srinivas Girigowda 2 年之前
父節點
當前提交
99eb4ce97a

+ 14 - 0
components/fw_offload/dispatcher/inc/wlan_fwol_ucfg_api.h

@@ -761,6 +761,20 @@ QDF_STATUS ucfg_fwol_send_get_thermal_stats_cmd(struct wlan_objmgr_psoc *psoc,
 QDF_STATUS ucfg_fwol_configure_global_params(struct wlan_objmgr_psoc *psoc,
 					     struct wlan_objmgr_pdev *pdev);
 
+/**
+ * ucfg_fwol_set_ilp_config - API to configure Interface Low Power (ILP)
+ * @psoc: pointer to psoc object
+ * @pdev: pointer to pdev object
+ * @enable: enable
+ *
+ * This API is used to enable/disable Interface Low Power (IPL) feature.
+ *
+ * Return: QDF Status
+ */
+QDF_STATUS ucfg_fwol_set_ilp_config(struct wlan_objmgr_psoc *psoc,
+				    struct wlan_objmgr_pdev *pdev,
+				    uint32_t enable);
+
 /**
  * ucfg_fwol_configure_vdev_params - API to configure vdev specific params
  * @psoc: pointer to psoc object

+ 7 - 0
components/fw_offload/dispatcher/src/wlan_fwol_ucfg_api.c

@@ -1226,6 +1226,13 @@ QDF_STATUS ucfg_fwol_configure_global_params(struct wlan_objmgr_psoc *psoc,
 	return status;
 }
 
+QDF_STATUS ucfg_fwol_set_ilp_config(struct wlan_objmgr_psoc *psoc,
+				    struct wlan_objmgr_pdev *pdev,
+				    uint32_t enable_ilp)
+{
+	return fwol_set_ilp_config(pdev, enable_ilp);
+}
+
 QDF_STATUS ucfg_fwol_configure_vdev_params(struct wlan_objmgr_psoc *psoc,
 					   struct wlan_objmgr_vdev *vdev)
 {