dp_txrx_me.h 1.2 KB

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Copyright (c) 2016-2019 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 dp_tx_me_send_convert_ucast(struct cdp_vdev *vdev_handle,
  21. qdf_nbuf_t nbuf,
  22. uint8_t newmac[][QDF_MAC_ADDR_SIZE],
  23. uint8_t new_mac_cnt);
  24. void dp_tx_me_alloc_descriptor(struct cdp_pdev *pdev);
  25. void dp_tx_me_free_descriptor(struct cdp_pdev *pdev);
  26. void dp_tx_me_exit(struct dp_pdev *pdev);
  27. QDF_STATUS
  28. dp_tx_prepare_send_me(struct dp_vdev *vdev, qdf_nbuf_t nbuf);
  29. #endif