[PATCH 01/10] wifi: mt76: extend aggr_stats for tri-band support

Shayne Chen
2022-10-31T16:40:37Z

Make band2 able to report aggregation stats.
This is a preliminary patch to add mt7996 chipset support.

Signed-off-by: Peter Chiu <chui-hao.chiu@mediatek.com>
Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
---
drivers/net/wireless/mediatek/mt76/mt76.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/mediatek/mt76/mt76.h b/drivers/net/wireless/mediatek/mt76/mt76.h
index f9bdf16fc6c4..42847b327cb0 100644
--- a/drivers/net/wireless/mediatek/mt76/mt76.h
+++ b/drivers/net/wireless/mediatek/mt76/mt76.h
@@ -781,7 +781,7 @@ struct mt76_dev {

u32 rev;

- u32 aggr_stats[32];
+ u32 aggr_stats[16 * __MT_MAX_BAND];

struct tasklet_struct pre_tbtt_tasklet;
int beacon_int;
--
2.25.1