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
9#include "htt.h"
10
11int ath10k_txrx_tx_unref(struct ath10k_htt *htt,
12			 const struct htt_tx_done *tx_done);
13
14struct ath10k_peer *ath10k_peer_find(struct ath10k *ar, int vdev_id,
15				     const u8 *addr);
16struct ath10k_peer *ath10k_peer_find_by_id(struct ath10k *ar, int peer_id);
17int ath10k_wait_for_peer_created(struct ath10k *ar, int vdev_id,
18				 const u8 *addr);
19int ath10k_wait_for_peer_deleted(struct ath10k *ar, int vdev_id,
20				 const u8 *addr);
21
22void ath10k_peer_map_event(struct ath10k_htt *htt,
23			   struct htt_peer_map_event *ev);
24void ath10k_peer_unmap_event(struct ath10k_htt *htt,
25			     struct htt_peer_unmap_event *ev);
26
27#endif
28