dp_txrx_me.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * Copyright (c) 2016-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. #ifndef _DP_TXRX_ME_H_
  19. #define _DP_TXRX_ME_H_
  20. uint16_t
  21. dp_tx_me_send_convert_ucast(struct cdp_soc_t *soc, uint8_t vdev_id,
  22. qdf_nbuf_t nbuf,
  23. uint8_t newmac[][QDF_MAC_ADDR_SIZE],
  24. uint8_t new_mac_cnt);
  25. void dp_tx_me_alloc_descriptor(struct cdp_soc_t *soc, uint8_t pdev_id);
  26. void dp_tx_me_free_descriptor(struct cdp_soc_t *soc, uint8_t pdev_id);
  27. void dp_tx_me_exit(struct dp_pdev *pdev);
  28. QDF_STATUS
  29. dp_tx_prepare_send_me(struct dp_vdev *vdev, qdf_nbuf_t nbuf);
  30. extern int
  31. dp_me_mcast_convert(struct cdp_soc_t *soc,
  32. uint8_t vdev_id,
  33. uint8_t pdev_id,
  34. qdf_nbuf_t wbuf);
  35. #endif