Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp979484rwi; Mon, 31 Oct 2022 09:43:47 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4c7jX45G1KjVshC68ZUQ9UrXkqQnIAkTozXqYJOg7h8U6uZGPiZQ5kwMitk4qaZdVSouZL X-Received: by 2002:a62:190e:0:b0:561:a818:41bb with SMTP id 14-20020a62190e000000b00561a81841bbmr15716259pfz.50.1667234627187; Mon, 31 Oct 2022 09:43:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667234627; cv=none; d=google.com; s=arc-20160816; b=ndCRkAyfZLr9jyb5qo8c52DEJlFX88jUG0R0d+fOYHxZ7muIYgulPtDnOzhP0AP36i 4t5ppOg5yQIhVaHZk6j0rBbWMiBCHCPSaqTZscts37l/6LU7KFDfMDTYh7Iuo3c3smEe Tmnxr9UXg7uCyZ/8O2vT+bEQEIH7vK8Vz4D2Y7Exxsg+1e+BxiMgJ2UGD+iETZifwjJt 1pcmAj/Apij33KiLy6DRBCyL8T4BBnuX3icRZ8+s/4ZQHwWtyiMEvEN2NMza3Y3Me0Qr sfFO55cVJ9wb+ePh4x+DdrjUC9ofszwqiLdvF6/8EEtIe/O9LMNHDmD5ml2xY2n+IkiY BAMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=fnsUS9X1LYhhIP+9T2WTI0wApr2xtz2FObmCrNo+/yM=; b=vQ7px/WykgNunzeqj3qd17/uO47dNzyTo5USJfvMjFQ8WSLGZy/z4fRJPyn0zPJneq eoZ1JzmX+t7B4asdr3/PCHOs8KAQgBhH4WCc+ZcOeoraz+IB3M2kfckILh3rFFyHkZdK dpI6MyzemhMMju2ChNI45D2fwNyMxxqQKgcmXrrQWMeiQsajra6XKxVZb+TdbyW4Y00t p9zw1iy1OwZc/54vQWxJCGRUnW/XEroubd2PXkhbHCdMUSPM3nSqtmg7LMPMZNQK/sP7 T/uhbGcQdqaOmo0mUuUPn5CY2aEtP5WxdxPUStfyAvmtliPNrZ4/PjXYfSc2Pgo2fmmj c9DA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=saNmmXQN; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b1-20020a170902ed0100b001870a181f24si7375245pld.222.2022.10.31.09.43.38; Mon, 31 Oct 2022 09:43:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=saNmmXQN; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231964AbiJaQkf (ORCPT + 66 others); Mon, 31 Oct 2022 12:40:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231934AbiJaQka (ORCPT ); Mon, 31 Oct 2022 12:40:30 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D4532DE2 for ; Mon, 31 Oct 2022 09:40:21 -0700 (PDT) X-UUID: e3df7e6dfc4943ab93580521bad7828f-20221101 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=fnsUS9X1LYhhIP+9T2WTI0wApr2xtz2FObmCrNo+/yM=; b=saNmmXQNsaly53kNh0hozT2yqg6+GMo3bkikROlH1gl856tuWVEcg/QQTd4vE1m5OQrT7LiYk1MX3n9V5DEyftXY3PLWVe3aumray96kSgqoDyxHFZ4H+RByOtkbxgXy4BjKXb0DZ76fGiYtGFUHAUc958uU1Wor2FrzWM4HUY4=; X-CID-UNFAMILIAR: 1 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.12,REQID:ed17b33e-b59e-46a6-af48-f2139d320e76,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:100,FILE:0,BULK:0,RULE:Release_Ham,ACTIO N:release,TS:100 X-CID-INFO: VERSION:1.1.12,REQID:ed17b33e-b59e-46a6-af48-f2139d320e76,IP:0,URL :0,TC:0,Content:0,EDM:0,RT:0,SF:100,FILE:0,BULK:0,RULE:Spam_GS981B3D,ACTIO N:quarantine,TS:100 X-CID-META: VersionHash:62cd327,CLOUDID:e0a2fcea-84ac-4628-a416-bc50d5503da6,B ulkID:22110100401495O5M375,BulkQuantity:0,Recheck:0,SF:28|16|19|48,TC:nil, Content:0,EDM:-3,IP:nil,URL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0 X-UUID: e3df7e6dfc4943ab93580521bad7828f-20221101 Received: from mtkcas11.mediatek.inc [(172.21.101.40)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1633333830; Tue, 01 Nov 2022 00:40:12 +0800 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by mtkmbs13n2.mediatek.inc (172.21.101.108) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Tue, 1 Nov 2022 00:40:11 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Tue, 1 Nov 2022 00:40:11 +0800 From: Shayne Chen To: Felix Fietkau CC: linux-wireless , Lorenzo Bianconi , Ryder Lee , Evelyn Tsai , Bo Jiao , linux-mediatek , Shayne Chen , Peter Chiu Subject: [PATCH 01/10] wifi: mt76: extend aggr_stats for tri-band support Date: Tue, 1 Nov 2022 00:39:51 +0800 Message-ID: <20221031164000.17063-2-shayne.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20221031164000.17063-1-shayne.chen@mediatek.com> References: <20221031164000.17063-1-shayne.chen@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Make band2 able to report aggregation stats. This is a preliminary patch to add mt7996 chipset support. Signed-off-by: Peter Chiu Signed-off-by: Shayne Chen --- 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