Path: blob/main/sys/contrib/dev/athk/ath11k/dp_tx.h
107242 views
/* SPDX-License-Identifier: BSD-3-Clause-Clear */1/*2* Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.3* Copyright (c) 2021, 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved.4*/56#ifndef ATH11K_DP_TX_H7#define ATH11K_DP_TX_H89#include "core.h"10#include "hal_tx.h"1112struct ath11k_dp_htt_wbm_tx_status {13u32 msdu_id;14bool acked;15s8 ack_rssi;16u16 peer_id;17};1819void ath11k_dp_tx_update_txcompl(struct ath11k *ar, struct hal_tx_status *ts);20int ath11k_dp_tx_htt_h2t_ver_req_msg(struct ath11k_base *ab);21int ath11k_dp_tx(struct ath11k *ar, struct ath11k_vif *arvif,22struct ath11k_sta *arsta, struct sk_buff *skb);23void ath11k_dp_tx_completion_handler(struct ath11k_base *ab, int ring_id);24int ath11k_dp_tx_send_reo_cmd(struct ath11k_base *ab, struct dp_rx_tid *rx_tid,25enum hal_reo_cmd_type type,26struct ath11k_hal_reo_cmd *cmd,27void (*func)(struct ath11k_dp *, void *,28enum hal_reo_cmd_status));2930int ath11k_dp_tx_htt_h2t_ppdu_stats_req(struct ath11k *ar, u32 mask);31int32ath11k_dp_tx_htt_h2t_ext_stats_req(struct ath11k *ar, u8 type,33struct htt_ext_stats_cfg_params *cfg_params,34u64 cookie);35int ath11k_dp_tx_htt_monitor_mode_ring_config(struct ath11k *ar, bool reset);3637int ath11k_dp_tx_htt_rx_filter_setup(struct ath11k_base *ab, u32 ring_id,38int mac_id, enum hal_ring_type ring_type,39int rx_buf_size,40struct htt_rx_ring_tlv_filter *tlv_filter);4142int ath11k_dp_tx_htt_rx_full_mon_setup(struct ath11k_base *ab, int mac_id,43bool config);44#endif454647