summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/mediatek/mt76/mt76.h
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo@kernel.org>2019-09-13 09:05:52 +0200
committerFelix Fietkau <nbd@nbd.name>2019-11-20 13:23:48 +0100
commitd7b47bbdd71cbd769501bf181d57e9ff12efc30b (patch)
tree405e7cfab7a24d03eaa8489404c973a0cc3d412d /drivers/net/wireless/mediatek/mt76/mt76.h
parent25990ed3816e0d47f56b5430bb9415d631e313a7 (diff)
downloadlwn-d7b47bbdd71cbd769501bf181d57e9ff12efc30b.tar.gz
lwn-d7b47bbdd71cbd769501bf181d57e9ff12efc30b.zip
mt76: move aggr_stats array in mt76_dev
Move aggr_stats array from mt76x02_dev to mt76_dev in order to be reused adding aggregation stats for mt7603/mt7615 drivers Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76.h')
-rw-r--r--drivers/net/wireless/mediatek/mt76/mt76.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76.h b/drivers/net/wireless/mediatek/mt76/mt76.h
index 888dfc58546d..b3e776ef9469 100644
--- a/drivers/net/wireless/mediatek/mt76/mt76.h
+++ b/drivers/net/wireless/mediatek/mt76/mt76.h
@@ -461,6 +461,8 @@ struct mt76_dev {
u32 rev;
unsigned long state;
+ u32 aggr_stats[32];
+
u8 antenna_mask;
u16 chainmask;