0001
0002
0003
0004
0005
0006 #ifndef ATH11K_DP_TX_H
0007 #define ATH11K_DP_TX_H
0008
0009 #include "core.h"
0010 #include "hal_tx.h"
0011
0012 struct ath11k_dp_htt_wbm_tx_status {
0013 u32 msdu_id;
0014 bool acked;
0015 int ack_rssi;
0016 };
0017
0018 void ath11k_dp_tx_update_txcompl(struct ath11k *ar, struct hal_tx_status *ts);
0019 int ath11k_dp_tx_htt_h2t_ver_req_msg(struct ath11k_base *ab);
0020 int ath11k_dp_tx(struct ath11k *ar, struct ath11k_vif *arvif,
0021 struct ath11k_sta *arsta, struct sk_buff *skb);
0022 void ath11k_dp_tx_completion_handler(struct ath11k_base *ab, int ring_id);
0023 int ath11k_dp_tx_send_reo_cmd(struct ath11k_base *ab, struct dp_rx_tid *rx_tid,
0024 enum hal_reo_cmd_type type,
0025 struct ath11k_hal_reo_cmd *cmd,
0026 void (*func)(struct ath11k_dp *, void *,
0027 enum hal_reo_cmd_status));
0028
0029 int ath11k_dp_tx_htt_h2t_ppdu_stats_req(struct ath11k *ar, u32 mask);
0030 int
0031 ath11k_dp_tx_htt_h2t_ext_stats_req(struct ath11k *ar, u8 type,
0032 struct htt_ext_stats_cfg_params *cfg_params,
0033 u64 cookie);
0034 int ath11k_dp_tx_htt_monitor_mode_ring_config(struct ath11k *ar, bool reset);
0035
0036 int ath11k_dp_tx_htt_rx_filter_setup(struct ath11k_base *ab, u32 ring_id,
0037 int mac_id, enum hal_ring_type ring_type,
0038 int rx_buf_size,
0039 struct htt_rx_ring_tlv_filter *tlv_filter);
0040
0041 int ath11k_dp_tx_htt_rx_full_mon_setup(struct ath11k_base *ab, int mac_id,
0042 bool config);
0043 #endif