wlan_ipa_tgt_api.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*
  2. * Copyright (c) 2018, 2020 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 public API for wlan ipa to interact with target/WMI
  20. */
  21. #ifndef _WLAN_IPA_TGT_API_H_
  22. #define _WLAN_IPA_TGT_API_H_
  23. #include "wlan_ipa_public_struct.h"
  24. /**
  25. * tgt_ipa_uc_offload_enable_disable() - send ipa offload control to target if
  26. * @pdev: objmgr pdev object
  27. * @req: ipa offload control request
  28. *
  29. * Return: QDF_STATUS
  30. */
  31. QDF_STATUS tgt_ipa_uc_offload_enable_disable(struct wlan_objmgr_pdev *pdev,
  32. struct ipa_uc_offload_control_params *req);
  33. /**
  34. * tgt_ipa_intrabss_enable_disable() - send ipa intrabss control to target if
  35. * @pdev: objmgr pdev object
  36. * @req: ipa intrabss control request
  37. *
  38. * Return: QDF_STATUS
  39. */
  40. QDF_STATUS
  41. tgt_ipa_intrabss_enable_disable(struct wlan_objmgr_pdev *pdev,
  42. struct ipa_intrabss_control_params *req);
  43. #endif /* _WLAN_IPA_TGT_API_H_ */