Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp235701iog; Fri, 17 Jun 2022 02:37:26 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uikd8vdevamM6RX4pyzsNuWTz35qJskKov//9iTKekMWtTYmYkXynjPBX0i97n8Zk+/BdE X-Received: by 2002:a17:902:cec8:b0:163:e4c1:b302 with SMTP id d8-20020a170902cec800b00163e4c1b302mr8857702plg.123.1655458646363; Fri, 17 Jun 2022 02:37:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655458646; cv=none; d=google.com; s=arc-20160816; b=P1QKbR8h9dKz8xPMQasM6b5PzaOgYp0MFz7J9fYAEF5MU3dKLEwZ3alRp06qCXXxMb UwhU0JsSp33UbiWpBhoDgAvbhueYqfVYGBVly0ZvMnVG44HDxWSmB/2bOROS+3Xf83nx Z8Ga225+0sPWeuEOK7YRCZ9Pf9hFz9Le1U4lyM52Tj66bNff9I6UySelUj1omE80n7cy /0ezuEreP65BtV7/0oZDVHw5JwpFvTseKeaElgPuLWNcfCyoO3ZQIPrtnJP9Cqsz1Ywq r5umhN+OBLdpUbhbP/CErq2DUscMyWVi2juBCqEAIkjLnRG4GU4FQ+fo5/Q54ZP3zsIm UyiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=n/4Y8owzv2XkMMe5Sjv1ZlZ4Zc77NKJ4gCJ4QSwRlc8=; b=hbA+DdoUDSzfDfsAuli159FzmCf+gQynAbi+m7Bf7eH03/8noipmWd1dV+hoT6IT3K qvRHceo1zADH8Q98VtTUWNmvCEA1Oeo12zpor5YAWxQl0d76qYqClS4Vkwu/9kxcHt7d GeJAKt3MD5JOrRmHgoClIZwj6yDlfZTXVvnrit6N0yUPNQHdQudHMkwrRwmzFu11j9R7 gMDs0vnSsfYjVX2iVj9uLjEvkYo338bqZEhLT/oEzR5V4WtkFB+qVfw0+8Z5I7sC6/1G dTka/TfOexHqiWWhbbJ7eyLvJrB3Ogwdct/THW5iLizKFIH1UXisMYgWXZTE30bTijl+ RACg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (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 f10-20020a63de0a000000b00408c6efc538si5462177pgg.572.2022.06.17.02.37.09; Fri, 17 Jun 2022 02:37:26 -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; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235328AbiFQJaE (ORCPT + 65 others); Fri, 17 Jun 2022 05:30:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232696AbiFQJaE (ORCPT ); Fri, 17 Jun 2022 05:30:04 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02A9C6350A for ; Fri, 17 Jun 2022 02:29:58 -0700 (PDT) X-UUID: ade3e43aac924cb4a7900541e07460a7-20220617 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.6,REQID:10f5b955-60b8-4014-afbd-7c198ef4c72f,OB:0,LO B:0,IP:0,URL:5,TC:0,Content:0,EDM:0,RT:0,SF:45,FILE:0,RULE:Release_Ham,ACT ION:release,TS:50 X-CID-INFO: VERSION:1.1.6,REQID:10f5b955-60b8-4014-afbd-7c198ef4c72f,OB:0,LOB: 0,IP:0,URL:5,TC:0,Content:0,EDM:0,RT:0,SF:45,FILE:0,RULE:Release_Ham,ACTIO N:release,TS:50 X-CID-META: VersionHash:b14ad71,CLOUDID:09a1a2f6-e099-41ba-a32c-13b8bfe63214,C OID:c79e28fbb90c,Recheck:0,SF:28|17|19|48,TC:nil,Content:0,EDM:-3,IP:nil,U RL:1,File:nil,QS:nil,BEC:nil,COL:0 X-UUID: ade3e43aac924cb4a7900541e07460a7-20220617 Received: from mtkmbs10n1.mediatek.inc [(172.21.101.34)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 468184255; Fri, 17 Jun 2022 17:29:53 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.3; Fri, 17 Jun 2022 17:29:52 +0800 Received: from mtksdccf07 (172.21.84.99) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 17 Jun 2022 17:29:52 +0800 Message-ID: Subject: Re: [PATCH] mt76: mt7921: fix aggregation subframes setting to HE max From: Deren Wu To: Felix Fietkau , Lorenzo Bianconi CC: Sean Wang , Soul Huang , YN Chen , Leon Yen , "Eric-SY Chang" , KM Lin , Robin Chiu , CH Yeh , Posh Sun , Eric Liang , Stella Chang , Evelyn Tsai , "Ryder Lee" , Shayne Chen , linux-wireless , linux-mediatek Date: Fri, 17 Jun 2022 17:29:52 +0800 In-Reply-To: References: <7f5145276d732cb4aebcbffd6fc4a5eb852dd3be.1655393246.git.deren.wu@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-MTK: N X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,MAY_BE_FORGED, SPF_HELO_PASS,T_SCC_BODY_TEXT_LINE,T_SPF_TEMPERROR,UNPARSEABLE_RELAY autolearn=no 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 Hi Felix, On Fri, 2022-06-17 at 10:39 +0200, Felix Fietkau wrote: > On 16.06.22 17:57, Deren Wu wrote: > > From: Deren Wu > > > > mt7921/mt7922 support HE max aggregation subframes 256 for both > > tx/rx. > > Get better throughput then before. > > > > Fixes: 94bb18b03d43 ("mt76: mt7921: fix max aggregation subframes > > setting") > > Tested-by: Ming Yen Hsieh > > Reviewed-by: Sean Wang > > Signed-off-by: Deren Wu > > When I made the change that you're reverting here, I used the values > from the reference SDK that I got, and the change actually seemed to > improve performance in my tests. > Did something change in the firmware, or is there a related chipset > difference between 7921 and 7922? > > - Felix > Yes, there was some fw changes ready in 2021 and the SDK was updated as well. After some performance re-check, the test result is much better with the new patch. We think the max-size-256 can be applied in mt7921/mt7922 driver now. PS: mt7921/mt7922 are the same. Both of them can support this size. Thanks, Deren