162306a36Sopenharmony_ci/* SPDX-License-Identifier: ISC */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (c) 2005-2011 Atheros Communications Inc.
462306a36Sopenharmony_ci * Copyright (c) 2011-2014,2016 Qualcomm Atheros, Inc.
562306a36Sopenharmony_ci */
662306a36Sopenharmony_ci#ifndef _TXRX_H_
762306a36Sopenharmony_ci#define _TXRX_H_
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci#include "htt.h"
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ciint ath10k_txrx_tx_unref(struct ath10k_htt *htt,
1262306a36Sopenharmony_ci			 const struct htt_tx_done *tx_done);
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_cistruct ath10k_peer *ath10k_peer_find(struct ath10k *ar, int vdev_id,
1562306a36Sopenharmony_ci				     const u8 *addr);
1662306a36Sopenharmony_cistruct ath10k_peer *ath10k_peer_find_by_id(struct ath10k *ar, int peer_id);
1762306a36Sopenharmony_ciint ath10k_wait_for_peer_created(struct ath10k *ar, int vdev_id,
1862306a36Sopenharmony_ci				 const u8 *addr);
1962306a36Sopenharmony_ciint ath10k_wait_for_peer_deleted(struct ath10k *ar, int vdev_id,
2062306a36Sopenharmony_ci				 const u8 *addr);
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_civoid ath10k_peer_map_event(struct ath10k_htt *htt,
2362306a36Sopenharmony_ci			   struct htt_peer_map_event *ev);
2462306a36Sopenharmony_civoid ath10k_peer_unmap_event(struct ath10k_htt *htt,
2562306a36Sopenharmony_ci			     struct htt_peer_unmap_event *ev);
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ci#endif
28