wlan_tdls_api.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. * Copyright (c) 2020, The Linux Foundation. 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: contains tdls link teardown declarations
  18. */
  19. #ifndef _WLAN_TDLS_API_H_
  20. #define _WLAN_TDLS_API_H_
  21. #include "wlan_objmgr_psoc_obj.h"
  22. #include "wlan_objmgr_pdev_obj.h"
  23. #include "wlan_objmgr_vdev_obj.h"
  24. /**
  25. * wlan_tdls_teardown_links() - notify TDLS module to teardown all TDLS links
  26. * @psoc: psoc object
  27. *
  28. * Return: QDF_STATUS
  29. */
  30. QDF_STATUS wlan_tdls_teardown_links(struct wlan_objmgr_psoc *psoc);
  31. /**
  32. * wlan_tdls_teardown_links_sync() - teardown all the TDLS links
  33. * @psoc: psoc object
  34. *
  35. * Return: None
  36. */
  37. void wlan_tdls_teardown_links_sync(struct wlan_objmgr_psoc *psoc);
  38. #endif