Path: blob/main/sys/contrib/dev/athk/ath11k/debugfs_sta.h
48378 views
/* SPDX-License-Identifier: BSD-3-Clause-Clear */1/*2* Copyright (c) 2018-2020 The Linux Foundation. All rights reserved.3*/45#ifndef _ATH11K_DEBUGFS_STA_H_6#define _ATH11K_DEBUGFS_STA_H_78#include <net/mac80211.h>910#include "core.h"11#include "hal_tx.h"1213#ifdef CONFIG_ATH11K_DEBUGFS1415void ath11k_debugfs_sta_op_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif,16struct ieee80211_sta *sta, struct dentry *dir);17void ath11k_debugfs_sta_add_tx_stats(struct ath11k_sta *arsta,18struct ath11k_per_peer_tx_stats *peer_stats,19u8 legacy_rate_idx);20void ath11k_debugfs_sta_update_txcompl(struct ath11k *ar,21struct hal_tx_status *ts);2223#else /* CONFIG_ATH11K_DEBUGFS */2425#define ath11k_debugfs_sta_op_add NULL2627static inline void28ath11k_debugfs_sta_add_tx_stats(struct ath11k_sta *arsta,29struct ath11k_per_peer_tx_stats *peer_stats,30u8 legacy_rate_idx)31{32}3334static inline void ath11k_debugfs_sta_update_txcompl(struct ath11k *ar,35struct hal_tx_status *ts)36{37}3839#endif /* CONFIG_ATH11K_DEBUGFS */4041#endif /* _ATH11K_DEBUGFS_STA_H_ */424344