Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2930333rwb; Mon, 15 Aug 2022 14:16:10 -0700 (PDT) X-Google-Smtp-Source: AA6agR5eTi3dub3Hx3AZ1v7c5khwWV7qpiiMkwKctpA/lVLxbM+LEZq1zHkrBfao9jmzNyBigder X-Received: by 2002:a17:906:847b:b0:730:638c:b154 with SMTP id hx27-20020a170906847b00b00730638cb154mr11576102ejc.618.1660598170255; Mon, 15 Aug 2022 14:16:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660598170; cv=none; d=google.com; s=arc-20160816; b=tNisbIm8yxKYbt2JJwsXAdlyx92k3p9Hyr+HnddFHxPEkpFHPR3h4sHKW26jIShlGS k+2O/ScBDB7pPDHJZSJ3/nCgp84SnoDPiIA4pcMM5W8SuHVZhQBJkaL1Z+6N9rXuK63Q s24OOb6km/rVGxeGn4punPNWcBBREkqqG0xbaEnmIXnysb0Fgu1G8T24d1ehOIJhfQJW eyvvHWRbuEmrqTBKJZYnY3n1jxAA+PKVD2KO352ZkYYyCnMD2Itz8HkALOqWCjRhwdbB TCM0t+sMqur8qNkL0vK5riltaBARH3ryHa9FkiXBXSQq/rmlva5LlSKMkeY/Rnbhoikm /pog== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=UExblC9PFaGo97TspRmOp0wW2512xuAwyl/dluz/KIQ=; b=mKsXVO2QiebShlrhoWwhilarneHpahuWYqWzhpJtGoFA/IZrGWd49GQzfPrlfQwhkg UKlPM38n7QWM/EDLoAjrAZ+CCooJhHpTb4fL1YDSMKBpUTtJgcL1ShWDi1mDj4at3PgX 69vzL40VMwRT7NRjRMgFrwFXodsiGByixXcGyrc9xjWy2NjN2xtdcK4x4jIaG4YsWSb1 6+VPJHklvrIUxv1XdzJlGKWnGkfjPxnYCwdnq5EC/nCyn6Ht06ShyiAGoP4mKvTnY2HB xsmkIog+WIRHpW9xncF4ayfo7OREUMp9M1Y8e8HNxNjTRuB3659+w2V/CXgm2Gx7pYd5 5duA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wUUFeIiu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ht12-20020a170907608c00b007316ac034a1si10729037ejc.831.2022.08.15.14.15.43; Mon, 15 Aug 2022 14:16:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@linuxfoundation.org header.s=korg header.b=wUUFeIiu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239703AbiHOVOj (ORCPT + 99 others); Mon, 15 Aug 2022 17:14:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347956AbiHOVHt (ORCPT ); Mon, 15 Aug 2022 17:07:49 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D681F52DCC; Mon, 15 Aug 2022 12:17:03 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 83D65B810C6; Mon, 15 Aug 2022 19:17:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D0C43C433C1; Mon, 15 Aug 2022 19:17:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660591021; bh=ZUY3aye9XfntD/W1LptzNAeuGwjfjNeNEbwzMypK0Mc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wUUFeIiuOYFmH46F8h2OuKFsF0+J6Y522Uv5GyRXgyUD18/Uk07lx8DvnpJ43qFpp tdcjyas4TjBY0YERYxXR1wJ13Q0Itqw+Uk4nEcc/lxeZARWC12gBaW351+xZGLfFoR Emp8j6k0TbAErqBh1asNZqJd8TSV130XTk+Q4kWI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Ming Yen Hsieh , Deren Wu , Felix Fietkau , Sasha Levin Subject: [PATCH 5.18 0447/1095] mt76: mt7921: enlarge maximum VHT MPDU length to 11454 Date: Mon, 15 Aug 2022 19:57:26 +0200 Message-Id: <20220815180448.121058796@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180429.240518113@linuxfoundation.org> References: <20220815180429.240518113@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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-kernel@vger.kernel.org From: Deren Wu [ Upstream commit 31f3248a75932b111bc90c66b1f6c7d89eedca8e ] Enlarge maximum MPDU length to 11454 that both mt7921/mt7922 can support. After this fixing, we can get better performance. Fixes: 5c14a5f944b9 ("mt76: mt7921: introduce mt7921e support") Tested-by: Ming Yen Hsieh Signed-off-by: Deren Wu Signed-off-by: Felix Fietkau Signed-off-by: Sasha Levin --- drivers/net/wireless/mediatek/mt76/mt7921/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt7921/init.c b/drivers/net/wireless/mediatek/mt76/mt7921/init.c index 2fb2a6295c06..37453e1c136f 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7921/init.c +++ b/drivers/net/wireless/mediatek/mt76/mt7921/init.c @@ -291,7 +291,7 @@ int mt7921_register_device(struct mt7921_dev *dev) IEEE80211_HT_CAP_LDPC_CODING | IEEE80211_HT_CAP_MAX_AMSDU; dev->mphy.sband_5g.sband.vht_cap.cap |= - IEEE80211_VHT_CAP_MAX_MPDU_LENGTH_7991 | + IEEE80211_VHT_CAP_MAX_MPDU_LENGTH_11454 | IEEE80211_VHT_CAP_MAX_A_MPDU_LENGTH_EXPONENT_MASK | IEEE80211_VHT_CAP_SU_BEAMFORMEE_CAPABLE | IEEE80211_VHT_CAP_MU_BEAMFORMEE_CAPABLE | -- 2.35.1