target_if_ocb.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /*
  2. * Copyright (c) 2018 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: offload lmac interface APIs for ocb
  20. *
  21. */
  22. #ifndef __TARGET_IF_OCB_H__
  23. #define __TARGET_IF_OCB_H__
  24. /**
  25. * target_if_ocb_register_event_handler() - lmac handler to register ocb event
  26. * handler
  27. * @psoc : psoc object
  28. * @arg: argument passed to lmac
  29. *
  30. * Return: QDF_STATUS
  31. */
  32. QDF_STATUS target_if_ocb_register_event_handler(struct wlan_objmgr_psoc *psoc,
  33. void *arg);
  34. /**
  35. * target_if_ocb_unregister_event_handler() - lmac handler to unregister ocb
  36. * event handler
  37. * @psoc : psoc object
  38. * @arg: argument passed to lmac
  39. *
  40. * Return: QDF_STATUS
  41. */
  42. QDF_STATUS target_if_ocb_unregister_event_handler(struct wlan_objmgr_psoc *psoc,
  43. void *arg);
  44. /**
  45. * target_if_ocb_register_tx_ops() - lmac handler to register ocb tx ops
  46. * callback functions
  47. * @tx_ops: ocb tx operations
  48. *
  49. * Return: QDF_STATUS
  50. */
  51. QDF_STATUS target_if_ocb_register_tx_ops(
  52. struct wlan_ocb_tx_ops *tx_ops);
  53. #endif