wlan_tdls_ucfg_api.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. /*
  2. * Copyright (c) 2017 The Linux Foundation. All rights reserved.
  3. *
  4. * Permission to use, copy, modify, and/or distribute this software for
  5. * any purpose with or without fee is hereby granted, provided that the
  6. * above copyright notice and this permission notice appear in all
  7. * copies.
  8. *
  9. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
  10. * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
  11. * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
  12. * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
  13. * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
  14. * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
  15. * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  16. * PERFORMANCE OF THIS SOFTWARE.
  17. */
  18. /**
  19. * DOC: wlan_tdls_ucfg_api.h
  20. *
  21. * TDLS north bound interface declaration
  22. */
  23. #if !defined(_WLAN_TDLS_UCFG_API_H_)
  24. #define _WLAN_TDLS_UCFG_API_H_
  25. #include <scheduler_api.h>
  26. #include <wlan_tdls_public_structs.h>
  27. #include <wlan_objmgr_cmn.h>
  28. /**
  29. * ucfg_tdls_init() - TDLS module initialization API
  30. *
  31. * Return: QDF_STATUS
  32. */
  33. QDF_STATUS ucfg_tdls_init(void);
  34. /**
  35. * ucfg_tdls_deinit() - TDLS module deinitilization API
  36. *
  37. * Return: QDF_STATUS
  38. */
  39. QDF_STATUS ucfg_tdls_deinit(void);
  40. /**
  41. * ucfg_tdls_psoc_open() - TDLS module psoc open API
  42. * @psoc: psoc object
  43. *
  44. * Return: QDF_STATUS
  45. */
  46. QDF_STATUS ucfg_tdls_psoc_open(struct wlan_objmgr_psoc *psoc);
  47. /**
  48. * ucfg_tdls_psoc_close() - TDLS module psoc close API
  49. * @psoc: psoc object
  50. *
  51. * Return: QDF_STATUS
  52. */
  53. QDF_STATUS ucfg_tdls_psoc_close(struct wlan_objmgr_psoc *psoc);
  54. /**
  55. * ucfg_tdls_psoc_start() - TDLS module start
  56. * @psoc: psoc object
  57. * @req: tdls start paramets
  58. *
  59. * Return: QDF_STATUS
  60. */
  61. QDF_STATUS ucfg_tdls_psoc_start(struct wlan_objmgr_psoc *psoc,
  62. struct tdls_start_params *req);
  63. /**
  64. * ucfg_tdls_psoc_stop() - TDLS module stop
  65. * @psoc: psoc object
  66. *
  67. * Return: QDF_STATUS
  68. */
  69. QDF_STATUS ucfg_tdls_psoc_stop(struct wlan_objmgr_psoc *psoc);
  70. #endif