txrx.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * Copyright (c) 2005-2011 Atheros Communications Inc.
  3. * Copyright (c) 2011-2013 Qualcomm Atheros, Inc.
  4. *
  5. * Permission to use, copy, modify, and/or distribute this software for any
  6. * purpose with or without fee is hereby granted, provided that the above
  7. * copyright notice and this permission notice appear in all copies.
  8. *
  9. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  10. * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  11. * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  12. * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  13. * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  14. * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  15. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  16. */
  17. #ifndef _TXRX_H_
  18. #define _TXRX_H_
  19. #include "htt.h"
  20. void ath10k_txrx_tx_unref(struct ath10k_htt *htt,
  21. const struct htt_tx_done *tx_done);
  22. struct ath10k_peer *ath10k_peer_find(struct ath10k *ar, int vdev_id,
  23. const u8 *addr);
  24. struct ath10k_peer *ath10k_peer_find_by_id(struct ath10k *ar, int peer_id);
  25. int ath10k_wait_for_peer_created(struct ath10k *ar, int vdev_id,
  26. const u8 *addr);
  27. int ath10k_wait_for_peer_deleted(struct ath10k *ar, int vdev_id,
  28. const u8 *addr);
  29. void ath10k_peer_map_event(struct ath10k_htt *htt,
  30. struct htt_peer_map_event *ev);
  31. void ath10k_peer_unmap_event(struct ath10k_htt *htt,
  32. struct htt_peer_unmap_event *ev);
  33. #endif