Path: blob/main/sys/contrib/dev/athk/ath12k/dp_tx.h
48375 views
/* SPDX-License-Identifier: BSD-3-Clause-Clear */1/*2* Copyright (c) 2018-2021 The Linux Foundation. All rights reserved.3* Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.4*/56#ifndef ATH12K_DP_TX_H7#define ATH12K_DP_TX_H89#include "core.h"10#include "hal_tx.h"1112struct ath12k_dp_htt_wbm_tx_status {13bool acked;14int ack_rssi;15};1617int ath12k_dp_tx_htt_h2t_ver_req_msg(struct ath12k_base *ab);18int ath12k_dp_tx(struct ath12k *ar, struct ath12k_vif *arvif,19struct sk_buff *skb);20void ath12k_dp_tx_completion_handler(struct ath12k_base *ab, int ring_id);2122int ath12k_dp_tx_htt_h2t_ppdu_stats_req(struct ath12k *ar, u32 mask);23int24ath12k_dp_tx_htt_h2t_ext_stats_req(struct ath12k *ar, u8 type,25struct htt_ext_stats_cfg_params *cfg_params,26u64 cookie);27int ath12k_dp_tx_htt_rx_monitor_mode_ring_config(struct ath12k *ar, bool reset);2829int ath12k_dp_tx_htt_rx_filter_setup(struct ath12k_base *ab, u32 ring_id,30int mac_id, enum hal_ring_type ring_type,31int rx_buf_size,32struct htt_rx_ring_tlv_filter *tlv_filter);33void ath12k_dp_tx_put_bank_profile(struct ath12k_dp *dp, u8 bank_id);34int ath12k_dp_tx_htt_tx_filter_setup(struct ath12k_base *ab, u32 ring_id,35int mac_id, enum hal_ring_type ring_type,36int tx_buf_size,37struct htt_tx_ring_tlv_filter *htt_tlv_filter);38int ath12k_dp_tx_htt_tx_monitor_mode_ring_config(struct ath12k *ar, bool reset);39int ath12k_dp_tx_htt_monitor_mode_ring_config(struct ath12k *ar, bool reset);40#endif414243