162306a36Sopenharmony_ci/* SPDX-License-Identifier: BSD-3-Clause-Clear */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved. 462306a36Sopenharmony_ci * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved. 562306a36Sopenharmony_ci */ 662306a36Sopenharmony_ci 762306a36Sopenharmony_ci#ifndef ATH12K_DP_TX_H 862306a36Sopenharmony_ci#define ATH12K_DP_TX_H 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ci#include "core.h" 1162306a36Sopenharmony_ci#include "hal_tx.h" 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_cistruct ath12k_dp_htt_wbm_tx_status { 1462306a36Sopenharmony_ci bool acked; 1562306a36Sopenharmony_ci int ack_rssi; 1662306a36Sopenharmony_ci}; 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ciint ath12k_dp_tx_htt_h2t_ver_req_msg(struct ath12k_base *ab); 1962306a36Sopenharmony_ciint ath12k_dp_tx(struct ath12k *ar, struct ath12k_vif *arvif, 2062306a36Sopenharmony_ci struct sk_buff *skb); 2162306a36Sopenharmony_civoid ath12k_dp_tx_completion_handler(struct ath12k_base *ab, int ring_id); 2262306a36Sopenharmony_ci 2362306a36Sopenharmony_ciint ath12k_dp_tx_htt_h2t_ppdu_stats_req(struct ath12k *ar, u32 mask); 2462306a36Sopenharmony_ciint 2562306a36Sopenharmony_ciath12k_dp_tx_htt_h2t_ext_stats_req(struct ath12k *ar, u8 type, 2662306a36Sopenharmony_ci struct htt_ext_stats_cfg_params *cfg_params, 2762306a36Sopenharmony_ci u64 cookie); 2862306a36Sopenharmony_ciint ath12k_dp_tx_htt_rx_monitor_mode_ring_config(struct ath12k *ar, bool reset); 2962306a36Sopenharmony_ci 3062306a36Sopenharmony_ciint ath12k_dp_tx_htt_rx_filter_setup(struct ath12k_base *ab, u32 ring_id, 3162306a36Sopenharmony_ci int mac_id, enum hal_ring_type ring_type, 3262306a36Sopenharmony_ci int rx_buf_size, 3362306a36Sopenharmony_ci struct htt_rx_ring_tlv_filter *tlv_filter); 3462306a36Sopenharmony_civoid ath12k_dp_tx_put_bank_profile(struct ath12k_dp *dp, u8 bank_id); 3562306a36Sopenharmony_ciint ath12k_dp_tx_htt_tx_filter_setup(struct ath12k_base *ab, u32 ring_id, 3662306a36Sopenharmony_ci int mac_id, enum hal_ring_type ring_type, 3762306a36Sopenharmony_ci int tx_buf_size, 3862306a36Sopenharmony_ci struct htt_tx_ring_tlv_filter *htt_tlv_filter); 3962306a36Sopenharmony_ciint ath12k_dp_tx_htt_tx_monitor_mode_ring_config(struct ath12k *ar, bool reset); 4062306a36Sopenharmony_ciint ath12k_dp_tx_htt_monitor_mode_ring_config(struct ath12k *ar, bool reset); 4162306a36Sopenharmony_ci#endif 42