diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2022-11-02 23:29:15 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2022-12-01 17:29:13 +0100 |
commit | d107501ae881c20c1c822c8080a645f73a042c68 (patch) | |
tree | e44ca3efc133bc0533090d87898b20ba062a65cf /drivers/net/wireless/mediatek/mt76/mt76.h | |
parent | wifi: mt76: mt7615: rely on mt7615_phy in mt7615_mac_reset_counters (diff) | |
download | linux-d107501ae881c20c1c822c8080a645f73a042c68.tar.xz linux-d107501ae881c20c1c822c8080a645f73a042c68.zip |
wifi: mt76: move aggr_stats array in mt76_phy
Move aggregation stats array per-phy instead of share it between multiple
interfaces. This is a preliminary patch to add mt7996 driver support.
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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76.h b/drivers/net/wireless/mediatek/mt76/mt76.h index c91fb9bde632..a2bccf6b6c54 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76.h +++ b/drivers/net/wireless/mediatek/mt76/mt76.h @@ -693,6 +693,8 @@ struct mt76_phy { enum mt76_dfs_state dfs_state; ktime_t survey_time; + u32 aggr_stats[32]; + struct mt76_hw_cap cap; struct mt76_sband sband_2g; struct mt76_sband sband_5g; @@ -781,8 +783,6 @@ struct mt76_dev { u32 rev; - u32 aggr_stats[32]; - struct tasklet_struct pre_tbtt_tasklet; int beacon_int; u8 beacon_mask; |