mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
wifi: mt76: mt7915: move mib_stats structure in mt76.h
mib_stats structure is shared by mostly all chipsets. Move it to shared code. Signed-off-by: Lorenzo Bianconi <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
d480c3281f
commit
18b1027e5b
+2
-2
@@ -719,10 +719,10 @@ mt7915_ampdu_stat_read_phy(struct mt7915_phy *phy,
|
||||
static void
|
||||
mt7915_txbf_stat_read_phy(struct mt7915_phy *phy, struct seq_file *s)
|
||||
{
|
||||
struct mt76_mib_stats *mib = &phy->mib;
|
||||
static const char * const bw[] = {
|
||||
"BW20", "BW40", "BW80", "BW160"
|
||||
};
|
||||
struct mib_stats *mib = &phy->mib;
|
||||
|
||||
/* Tx Beamformer monitor */
|
||||
seq_puts(s, "\nTx Beamformer applied PPDU counts: ");
|
||||
@@ -768,7 +768,7 @@ mt7915_tx_stats_show(struct seq_file *file, void *data)
|
||||
{
|
||||
struct mt7915_phy *phy = file->private;
|
||||
struct mt7915_dev *dev = phy->dev;
|
||||
struct mib_stats *mib = &phy->mib;
|
||||
struct mt76_mib_stats *mib = &phy->mib;
|
||||
int i;
|
||||
|
||||
mutex_lock(&dev->mt76.mutex);
|
||||
|
||||
Reference in New Issue
Block a user