wmi_unified_apf_tlv.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. * Copyright (c) 2016-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. #ifndef _WMI_UNIFIED_APF_TLV_H_
  19. #define _WMI_UNIFIED_APF_TLV_H_
  20. #include "wmi_unified.h"
  21. #include "wmi_unified_api.h"
  22. #include "wmi_unified_param.h"
  23. /**
  24. * send_set_active_apf_mode_cmd_tlv() - configure active APF mode in FW
  25. * @wmi_handle: the WMI handle
  26. * @vdev_id: the Id of the vdev to apply the configuration to
  27. * @ucast_mode: the active APF mode to configure for unicast packets
  28. * @mcast_bcast_mode: the active APF mode to configure for multicast/broadcast
  29. * packets
  30. *
  31. * Return: QDF status
  32. */
  33. QDF_STATUS
  34. send_set_active_apf_mode_cmd_tlv(wmi_unified_t wmi_handle,
  35. uint8_t vdev_id,
  36. enum wmi_host_active_apf_mode ucast_mode,
  37. enum wmi_host_active_apf_mode
  38. mcast_bcast_mode);
  39. #endif /* _WMI_UNIFIED_APF_TLV_H_ */