Path: blob/main/sys/contrib/dev/athk/ath11k/debugfs_sta.h
106691 views
/* SPDX-License-Identifier: BSD-3-Clause-Clear */1/*2* Copyright (c) 2018-2020 The Linux Foundation. All rights reserved.3* Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.4*/56#ifndef _ATH11K_DEBUGFS_STA_H_7#define _ATH11K_DEBUGFS_STA_H_89#include <net/mac80211.h>1011#include "core.h"12#include "hal_tx.h"1314#ifdef CONFIG_ATH11K_DEBUGFS1516void ath11k_debugfs_sta_op_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif,17struct ieee80211_sta *sta, struct dentry *dir);18void ath11k_debugfs_sta_add_tx_stats(struct ath11k_sta *arsta,19struct ath11k_per_peer_tx_stats *peer_stats,20u8 legacy_rate_idx);21void ath11k_debugfs_sta_update_txcompl(struct ath11k *ar,22struct hal_tx_status *ts);2324#else /* CONFIG_ATH11K_DEBUGFS */2526#define ath11k_debugfs_sta_op_add NULL2728static inline void29ath11k_debugfs_sta_add_tx_stats(struct ath11k_sta *arsta,30struct ath11k_per_peer_tx_stats *peer_stats,31u8 legacy_rate_idx)32{33}3435static inline void ath11k_debugfs_sta_update_txcompl(struct ath11k *ar,36struct hal_tx_status *ts)37{38}3940#endif /* CONFIG_ATH11K_DEBUGFS */4142#endif /* _ATH11K_DEBUGFS_STA_H_ */434445