Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3090027rwb; Mon, 15 Aug 2022 17:53:07 -0700 (PDT) X-Google-Smtp-Source: AA6agR40SqZBQRwQ3RcMBV09+DYfmOvyGVDovLWk819WdGGJbwfUo31eNCBqfPzxpIQ5cCPLuiyk X-Received: by 2002:a17:907:72d0:b0:734:b451:c8d9 with SMTP id du16-20020a17090772d000b00734b451c8d9mr11684297ejc.272.1660611186746; Mon, 15 Aug 2022 17:53:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660611186; cv=none; d=google.com; s=arc-20160816; b=D475XQtnvwHEmbD0/PMJmDtjgIb4PDpGezfyTg42UCFN/tjdkq2NEfPJ/R89ktVVsk PUvEc7wjKe4Au5i9Vg6dF/yg8SRVQHsDbuc5IGNXHdfR9UFSj7ZrxaCBDGvxAY0RbV1l 1CgUjcq0+/edf8bnXF7p0tP0xj0K4Wmsscp8sPLN2zLlLzPcHvQtiqhTlSIAenH1UdWY qJSJ7YXwFDI/AE/AXGo18m3njKdVKJ9HJzHz7N5BfWfrVIWfq/UKF5oe/Z5NYKnSVllR +MHcxEO++U3tUAfRUW9MxL22zrtzERW35P3pZyuTy+AAGncJ3GawT/u2U5PczxDqBISu ws0g== 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=+6lRu6wD4T6d5b4AcFlzgLRccKMSolsJDJ20ROMtUJs=; b=UzI7J8njIsPgnY4zfQ9gdl6t/I7PhxlNkjH28flK3LelTqXfgB0mIN6Y+A/gz1c1/I 85jCFk49O/iibSeZt4YwHezDSG/2kKwgJU3PbN3RS1dAGs0RiUoQOAyLn9djCKgGyfnq dofOoRGvjEaDFg5AVdpL0xkLny7il/Jq0bPF8vds3VDAC6WCFlQf9qzrRVmaKNLLPkLT FVfI3xt3BdNtIZjAH0YGULJV5ILBPkkMDpMJC9nz6e0gDGslSucMRpjVvZmyljaJUgoF BSKex8xD8HZ6Ehh7NmmGQ2GimxeKaOtTj86qUomS8QsObhhFWsbPfsBMQWoOd+8UJ8LN ku7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=DGe+NZqi; 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 g17-20020aa7c591000000b0043c0288d312si7832061edq.584.2022.08.15.17.52.41; Mon, 15 Aug 2022 17:53:06 -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=DGe+NZqi; 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 S1353219AbiHPAAA (ORCPT + 99 others); Mon, 15 Aug 2022 20:00:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355727AbiHOXwx (ORCPT ); Mon, 15 Aug 2022 19:52:53 -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 744CE1593E0; Mon, 15 Aug 2022 13:17:27 -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 71A2CB80EAD; Mon, 15 Aug 2022 20:17:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AB14DC433C1; Mon, 15 Aug 2022 20:17:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660594644; bh=rTV0Yct35KDdzaUE2ODDR4Y9AggOz2NtIOOJHtu3/PA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DGe+NZqiRh/UfE3mu/68nAdszFxEt8t+RykhpGjhxx/MqdPkzhbT6QAfIJcLdyx+R EWlNDtwAjjUVRomU4x3F+bJq2U4Ktw5fL10yEzfcPjob8Pvazaox9lE4/mmEPQSOaf JYAkLSAM9d6rRa85clPI3ooaxtXlvCQ13i3Zyc5k= 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.19 0480/1157] mt76: mt7921: enlarge maximum VHT MPDU length to 11454 Date: Mon, 15 Aug 2022 19:57:16 +0200 Message-Id: <20220815180458.831699875@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180439.416659447@linuxfoundation.org> References: <20220815180439.416659447@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 dd19835313ed..8ff1a0f2f076 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7921/init.c +++ b/drivers/net/wireless/mediatek/mt76/mt7921/init.c @@ -304,7 +304,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