Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: ISC */
0002 /*
0003  * Copyright (c) 2005-2011 Atheros Communications Inc.
0004  * Copyright (c) 2011-2014,2016 Qualcomm Atheros, Inc.
0005  */
0006 #ifndef _TXRX_H_
0007 #define _TXRX_H_
0008 
0009 #include "htt.h"
0010 
0011 int ath10k_txrx_tx_unref(struct ath10k_htt *htt,
0012              const struct htt_tx_done *tx_done);
0013 
0014 struct ath10k_peer *ath10k_peer_find(struct ath10k *ar, int vdev_id,
0015                      const u8 *addr);
0016 struct ath10k_peer *ath10k_peer_find_by_id(struct ath10k *ar, int peer_id);
0017 int ath10k_wait_for_peer_created(struct ath10k *ar, int vdev_id,
0018                  const u8 *addr);
0019 int ath10k_wait_for_peer_deleted(struct ath10k *ar, int vdev_id,
0020                  const u8 *addr);
0021 
0022 void ath10k_peer_map_event(struct ath10k_htt *htt,
0023                struct htt_peer_map_event *ev);
0024 void ath10k_peer_unmap_event(struct ath10k_htt *htt,
0025                  struct htt_peer_unmap_event *ev);
0026 
0027 #endif