wlan_dp_api.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /*
  2. * Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
  3. *
  4. * Permission to use, copy, modify, and/or distribute this software for any
  5. * purpose with or without fee is hereby granted, provided that the above
  6. * copyright notice and this permission notice appear in all copies.
  7. *
  8. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  9. * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  10. * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  11. * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  12. * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  13. * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  14. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  15. */
  16. /**
  17. * DOC: wlan_dp_api.h
  18. *
  19. */
  20. #if !defined(_WLAN_DP_API_H_)
  21. #define _WLAN_DP_API_H_
  22. /**
  23. * wlan_dp_update_peer_map_unmap_version() - update peer map unmap version
  24. * @version: Peer map unmap version pointer to be updated
  25. *
  26. * Return: None
  27. */
  28. void wlan_dp_update_peer_map_unmap_version(uint8_t *version);
  29. /**
  30. * wlan_dp_runtime_suspend() - Runtime suspend DP handler
  31. * @soc: CDP SoC handle
  32. * @pdev_id: DP PDEV ID
  33. *
  34. * Return: QDF_STATUS
  35. */
  36. QDF_STATUS wlan_dp_runtime_suspend(ol_txrx_soc_handle soc, uint8_t pdev_id);
  37. /**
  38. * wlan_dp_runtime_resume() - Runtime suspend DP handler
  39. * @soc: CDP SoC handle
  40. * @pdev_id: DP PDEV ID
  41. *
  42. * Return: QDF_STATUS
  43. */
  44. QDF_STATUS wlan_dp_runtime_resume(ol_txrx_soc_handle soc, uint8_t pdev_id);
  45. #endif