qcacld-3.0: Move DP suspend/resume code to DP component

Currently OSIF calls the CDP API for DP suspend/resume
handler directly.

Move these calls to DP component so that DP component
can handle the suspend/resume related operations for
internal DP sub-modules (which are outside CDP).

Change-Id: I080809904f619260c707cacbcdbf158250320081
CRs-Fixed: 3502507
This commit is contained in:
Rakesh Pillai
2023-05-17 07:00:58 -07:00
committed by Rahul Choudhary
parent f3e840679b
commit ba1fbb8b3f
8 changed files with 126 additions and 11 deletions

View File

@@ -28,4 +28,22 @@
* Return: None
*/
void wlan_dp_update_peer_map_unmap_version(uint8_t *version);
/**
* wlan_dp_runtime_suspend() - Runtime suspend DP handler
* @soc: CDP SoC handle
* @pdev_id: DP PDEV ID
*
* Return: QDF_STATUS
*/
QDF_STATUS wlan_dp_runtime_suspend(ol_txrx_soc_handle soc, uint8_t pdev_id);
/**
* wlan_dp_runtime_resume() - Runtime suspend DP handler
* @soc: CDP SoC handle
* @pdev_id: DP PDEV ID
*
* Return: QDF_STATUS
*/
QDF_STATUS wlan_dp_runtime_resume(ol_txrx_soc_handle soc, uint8_t pdev_id);
#endif