gpio: rcar: Fix runtime PM imbalance on error
[linux/fpc-iii.git] / drivers / net / wireless / ath / ath10k / txrx.h
blobecac441d83a727f1970b37b6c296b2f5dc75dce6
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_
9 #include "htt.h"
11 int ath10k_txrx_tx_unref(struct ath10k_htt *htt,
12 const struct htt_tx_done *tx_done);
14 struct ath10k_peer *ath10k_peer_find(struct ath10k *ar, int vdev_id,
15 const u8 *addr);
16 struct ath10k_peer *ath10k_peer_find_by_id(struct ath10k *ar, int peer_id);
17 int ath10k_wait_for_peer_created(struct ath10k *ar, int vdev_id,
18 const u8 *addr);
19 int ath10k_wait_for_peer_deleted(struct ath10k *ar, int vdev_id,
20 const u8 *addr);
22 void ath10k_peer_map_event(struct ath10k_htt *htt,
23 struct htt_peer_map_event *ev);
24 void ath10k_peer_unmap_event(struct ath10k_htt *htt,
25 struct htt_peer_unmap_event *ev);
27 #endif