txrx.h 833 B

123456789101112131415161718192021222324252627
  1. /* SPDX-License-Identifier: ISC */
  2. /*
  3. * Copyright (c) 2005-2011 Atheros Communications Inc.
  4. * Copyright (c) 2011-2014,2016 Qualcomm Atheros, Inc.
  5. */
  6. #ifndef _TXRX_H_
  7. #define _TXRX_H_
  8. #include "htt.h"
  9. int ath10k_txrx_tx_unref(struct ath10k_htt *htt,
  10. const struct htt_tx_done *tx_done);
  11. struct ath10k_peer *ath10k_peer_find(struct ath10k *ar, int vdev_id,
  12. const u8 *addr);
  13. struct ath10k_peer *ath10k_peer_find_by_id(struct ath10k *ar, int peer_id);
  14. int ath10k_wait_for_peer_created(struct ath10k *ar, int vdev_id,
  15. const u8 *addr);
  16. int ath10k_wait_for_peer_deleted(struct ath10k *ar, int vdev_id,
  17. const u8 *addr);
  18. void ath10k_peer_map_event(struct ath10k_htt *htt,
  19. struct htt_peer_map_event *ev);
  20. void ath10k_peer_unmap_event(struct ath10k_htt *htt,
  21. struct htt_peer_unmap_event *ev);
  22. #endif