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

Lorenzo Bianconi lorenzo at kernel.org
Wed Nov 2 15:37:00 PDT 2022


On Nov 01, Shayne Chen wrote:
> 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 at mediatek.com>
> Signed-off-by: Shayne Chen <shayne.chen at 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];

I think this patch will break mt7915 and mt7921 drivers.

Regards,
Lorenzo

>  
>  	struct tasklet_struct pre_tbtt_tasklet;
>  	int beacon_int;
> -- 
> 2.25.1
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mediatek/attachments/20221102/82b8a7d9/attachment.sig>


More information about the Linux-mediatek mailing list