target_if_ipa.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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: Declare various api/struct which shall be used
  20. * by ipa component for wmi cmd (tx path)
  21. */
  22. #ifndef _TARGET_IF_IPA_H_
  23. #define _TARGET_IF_IPA_H_
  24. #ifdef IPA_OFFLOAD
  25. #include "wlan_ipa_public_struct.h"
  26. /**
  27. * target_if_ipa_register_tx_ops() - Register IPA component TX OPS
  28. * @ipa_tx_op: IPA if transmit op
  29. *
  30. * Return: None
  31. */
  32. void target_if_ipa_register_tx_ops(ipa_uc_offload_control_req *ipa_tx_op);
  33. #endif /* IPA_OFFLOAD */
  34. #endif /* _TARGET_IF_IPA_H_ */