Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp929114rwi; Wed, 19 Oct 2022 04:53:30 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5foHB2FzhSpNSbXGI1XJmU2e20p0FLMBZCGVjyhRhUzhFU0EaXHSJAhsq3FqpGFjj+pRw9 X-Received: by 2002:a05:6402:27d4:b0:45d:a69e:336d with SMTP id c20-20020a05640227d400b0045da69e336dmr7030410ede.298.1666180410595; Wed, 19 Oct 2022 04:53:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666180410; cv=none; d=google.com; s=arc-20160816; b=iJNG2q0FBYouEgdRyaxRywVqr8ciiklTf23u8lv6Ce44v/xnJ4xE2oo53iQBYxCwpt GDYTxa/pBtZSiiI8Lor5mCpd7awLU+cDVTWbxDc5QmZq/gZEFVCL/Nvt10C7jw7zvbGA t7ksOAL9Xpg+W2nAEaGdoZOQ7jSr5laspXTR9lbVngjBmSD6WiRJwG0x4Q9/tTm6eGJ4 n1tozyJYeIEtei/F2y9zPALyLF2ntAFxdZCXo5EgIJYbxqqpIlyQmyURIzZCHaZIj0Fz P2Auve7vYSYDUzyETdv1yr6qxDRlYEyrT4FnZ5CVpUZPDWDnfwlYX6rpZnuZTOoEpQM8 ndRw== 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=7M9/MteVM8rw1Pl+651l0LPRBPxzZyIGhlIRFtMaDMg=; b=HC+6cN0nU1vGJVE5JD5nftRhxtsWcyfm+uht9UK1gLHJTvBJDd5ILWWwAEUknUZyBb 0rz9U8jjqjgkfNV+TQb5aRkD2hwhx1zz5APCoPHHrEtCHnI01ZrXcPNg6PEuYp2UGqg5 +Hv5/blg4DSGgvhxyws7TyIL8sOIqFwMLnFEa5ARU1XlnMp/Yad8I/hM+tlxyX5cIM+a soq6jLjnaxjDX6A2Dedmh+2+YhDbVxuElu+a9uRa3ynMsXPhlaLfMUm4JwcYqcxPUKMU cMthioQ1eHydW58px/aM23C7grpy8hJezGdK1GST2RQkFz36IFNoDab3lca730awWR2u iWlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=eg60sjGk; 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 ne11-20020a1709077b8b00b00715867834e3si15322374ejc.506.2022.10.19.04.52.57; Wed, 19 Oct 2022 04:53:30 -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=eg60sjGk; 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 S229945AbiJSLJ5 (ORCPT + 99 others); Wed, 19 Oct 2022 07:09:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232803AbiJSLIw (ORCPT ); Wed, 19 Oct 2022 07:08:52 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D917E32DBE; Wed, 19 Oct 2022 03:37: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 sin.source.kernel.org (Postfix) with ESMTPS id B4D3FCE21A1; Wed, 19 Oct 2022 09:09:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A5729C433D6; Wed, 19 Oct 2022 09:09:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666170598; bh=OgQjpOolkW7jauhX45LnxD4niW+zPKmRX1OZN/8owKE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eg60sjGkPdfNsgoWhDI6+M/S8uWXyA2Oe9YOiL9cvQHNmgUt5rpTKnQkJ1MprRiFZ +164VuDvEbv7/IuggMLG4n9OXoQWIWNhEi8rrTD3ui1vHBIEocnYV9A6c1YTRe0F8f c4FW11ibS4S+rd9OjpXLbh0qdfNVcoGicDsUh2dM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Serge Vasilugin , Daniel Golle , Stanislaw Gruszka , Kalle Valo , Sasha Levin Subject: [PATCH 6.0 716/862] wifi: rt2x00: set VGC gain for both chains of MT7620 Date: Wed, 19 Oct 2022 10:33:23 +0200 Message-Id: <20221019083321.575106496@linuxfoundation.org> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221019083249.951566199@linuxfoundation.org> References: <20221019083249.951566199@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.4 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 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: Daniel Golle [ Upstream commit 0e09768c085709e10ece3b68f6ac921d3f6a9caa ] Set bbp66 for all chains of the MT7620. Reported-by: Serge Vasilugin Signed-off-by: Daniel Golle Acked-by: Stanislaw Gruszka Signed-off-by: Kalle Valo Link: https://lore.kernel.org/r/29e161397e5c9d9399da0fe87d44458aa2b90a78.1663445157.git.daniel@makrotopia.org Signed-off-by: Sasha Levin --- drivers/net/wireless/ralink/rt2x00/rt2800lib.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c index 5e7bca935dd4..fec85db7dbc7 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c +++ b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c @@ -5645,7 +5645,8 @@ static inline void rt2800_set_vgc(struct rt2x00_dev *rt2x00dev, if (qual->vgc_level != vgc_level) { if (rt2x00_rt(rt2x00dev, RT3572) || rt2x00_rt(rt2x00dev, RT3593) || - rt2x00_rt(rt2x00dev, RT3883)) { + rt2x00_rt(rt2x00dev, RT3883) || + rt2x00_rt(rt2x00dev, RT6352)) { rt2800_bbp_write_with_rx_chain(rt2x00dev, 66, vgc_level); } else if (rt2x00_rt(rt2x00dev, RT5592)) { -- 2.35.1