Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2868819rwb; Mon, 15 Aug 2022 12:59:34 -0700 (PDT) X-Google-Smtp-Source: AA6agR6UZwHADPzWqZdTpXryodaygFGBya8OPAwm0Nwh6vtBbsbmHSugsY3aZQdmaAZcb+OKshal X-Received: by 2002:a17:90a:d585:b0:1f4:f9a5:22a9 with SMTP id v5-20020a17090ad58500b001f4f9a522a9mr30151604pju.49.1660593573928; Mon, 15 Aug 2022 12:59:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660593573; cv=none; d=google.com; s=arc-20160816; b=FZ/UzKIIjAKYJxkwJMIePz9/Di/qM1waT/cXuh+wmEuSKN3yV+H3QgDRrjqYvCr3+y hiRA8kmbL9a62wGOXKIl8z/Ibxf4zzZyaaJHFM28GKaoQjZmHydEl1hlHnD1Q483h+Ia AhH+xFkuoYYx/eKkFN2LKyxRcHvlJ1RPMGg4hbBjp+WswZsngZ2gUUw0E9rQ/CxMsaNS Z397gQYcP14ExZr50XZF8EOTYAFJKHPEOnbMET4c3LLGrVXwGraM/vaHa3/hAtzhis6r o37nv1GdiUuryELVqrBImAHkCzYdXKwjSZ44CTWDWeJvULSGOUWVT0P033vuaHUYPeIM HTPQ== 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=johjHeJ3RaaKS/hAXC8G0bn1cG4lqrpUIn3B0ASjbAw=; b=apk9TKbCE4qyJfs0Ik2GCaKJ1uaYf1ASXhUq6BLVfdwsZuy4Djicdyeah3C9h68pcu aeh4PRJh3tWqVVrIjueOjvN5l4uoV/JwDxbH5CCA7kUQnvDjyHDaIcpz6agGmzsUYZ9l uJOpiZL92DlbgyEGOaWY4PKxMMrVXCaiUAZ1roSzWo4nBzFvKHXmqUdTGHk1bVavgW5I oa+/r+MdBoj5foyNgdjI37XVvxkWoaog02QrwSr1tg71xIecBdjessIrS1zs/fDZ0t1C RzDkGwjejdzniqFwGm/metRrp/hgcIvXgoEq5Aj8eVlGWfrKCpMDKKbiGpQsrL0MuTG7 IS2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=0TJg91Eq; 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 h8-20020a635308000000b00415e477c57fsi11771304pgb.436.2022.08.15.12.59.13; Mon, 15 Aug 2022 12:59:33 -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=0TJg91Eq; 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 S245053AbiHOTBD (ORCPT + 99 others); Mon, 15 Aug 2022 15:01:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245124AbiHOS4t (ORCPT ); Mon, 15 Aug 2022 14:56:49 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1AE0432BA1; Mon, 15 Aug 2022 11:31:47 -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 dfw.source.kernel.org (Postfix) with ESMTPS id A1A6160F7A; Mon, 15 Aug 2022 18:31:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A1D1EC433D7; Mon, 15 Aug 2022 18:31:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660588306; bh=TJX1OypiKOTJzTAK+LPMVpM8lfOZsNWrL6SA6rnT1x8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0TJg91EqMDytPLBMWzVsqXU3LVcVmlb6fyo1su+DQkdXyE1sl6tIlPyagSB6xxGw7 ckdsvjVKnh5tx0Azrfr/cW/Q8nXOAhV4tunzSfJUxSLZzIhvbUrkeSkLThLUskb6yO AW704UruKBxLOuWBns29cw5enC+HNutydbmA6lkw= 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.15 330/779] mt76: mt7921: enlarge maximum VHT MPDU length to 11454 Date: Mon, 15 Aug 2022 19:59:34 +0200 Message-Id: <20220815180351.395809915@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180337.130757997@linuxfoundation.org> References: <20220815180337.130757997@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 a8998e6bfb6f..c059cb419efd 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7921/init.c +++ b/drivers/net/wireless/mediatek/mt76/mt7921/init.c @@ -219,7 +219,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