qcacmn: Add cdp API to enable/disable SWLM

Add CDP APIs to enable or disable the Software
latency manager.

Change-Id: I1ec182e97a245ec5848660fa912eebe83cfba2fc
CRs-Fixed: 2769030
This commit is contained in:
Rakesh Pillai
2020-08-30 00:40:37 -07:00
committed by snandini
parent 02723d3bc2
commit 08e5f5bf9d
3 changed files with 90 additions and 0 deletions

View File

@@ -1166,6 +1166,8 @@ struct ol_if_ops {
*
* @vdev_inform_ll_conn: inform DP to add/delete a latency critical connection
* for this particular vdev.
* @set_swlm_enable: Enable or Disable Software Latency Manager.
* @is_swlm_enabled: Check if Software latency manager is enabled or not.
*
* Function pointers for miscellaneous soc/pdev/vdev related operations.
*/
@@ -1251,6 +1253,9 @@ struct cdp_misc_ops {
QDF_STATUS (*vdev_inform_ll_conn)(struct cdp_soc_t *soc_hdl,
uint8_t vdev_id,
enum vdev_ll_conn_actions action);
QDF_STATUS (*set_swlm_enable)(struct cdp_soc_t *soc_hdl,
uint8_t val);
uint8_t (*is_swlm_enabled)(struct cdp_soc_t *soc_hdl);
};
/**