Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3893545rwi; Sat, 22 Oct 2022 01:42:25 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4g29lOsxEvNBkguLbxbUO7tKinCT+L5XSXaxjkezu3NjbKaz4h2bpOc0nR1A6Gtu3hIEZY X-Received: by 2002:a17:907:a40d:b0:78d:9f66:e51f with SMTP id sg13-20020a170907a40d00b0078d9f66e51fmr19555173ejc.654.1666428145532; Sat, 22 Oct 2022 01:42:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666428145; cv=none; d=google.com; s=arc-20160816; b=C7goJ17DsziKm+/1RJOHPVrw5NMf3Xb+cbZ/LkAcoF1ix8+L10eri+mbu7AiGoWD+i 6CGcvCb4F1zOmLbCrXrWod+CTPPC9Xhh1fYCXSnobzM6nWujPQrZ596zst0qrwMkOZ5H 8imS2NcikuSeKahP2O9spFShobWw/LBCF59COI6n3hzPWBJgSRZ5Q0lVz9L2l0dxJG5X X/t+8AFoCscTJOY7vGpiXTLnY4wvVpc06wHPjHHfKzkQxUdp2/7Yn+bCg8YGL7tCq17U 3ntLqktknL4zAaHbm+imytgKQNgvNriiI2oabk2o+Ttdlko612FLRMAIR1I51UjZQ17B i9+Q== 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=YovZNANtpBrTthKQIKX+OeXDPcUMUvBF8a+sQjYAwlg=; b=IYIfI0oLNJfpPbFyUuRacnPHnfSXI08SbaQVtD0kP0pgO+3qcihWv5J6/YtuDuzbNe Rnh7QQq1cYVaUnG6hsBWaMGgTbg1/hDmAeZ71kfVeDfYGqzRziLnM5zfQWBP0LZDS9L3 68hXRAetiZfIRfxE0FntYAJuT7171ttXeIr3z/1PCPe0XklcLXHgELTNGape29uf5obz G+IaKpwEUQHayCivgNGKEi1+64SCiZnm5DsN1fwJv64ZKfIEiDmj3twsMnt92K8cdCD4 veS2O6n8W1NKMACURlT9QrjREwUKT7AySIu5t3Uwy/mftrgGEGdzQDr1C2beKlqHrWXk cApw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=JqBqnZ1U; 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 b13-20020a056402084d00b0045c98bb5359si27887207edz.590.2022.10.22.01.42.00; Sat, 22 Oct 2022 01:42:25 -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=JqBqnZ1U; 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 S234169AbiJVIeQ (ORCPT + 99 others); Sat, 22 Oct 2022 04:34:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234360AbiJVIae (ORCPT ); Sat, 22 Oct 2022 04:30:34 -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 D1C2F981DB; Sat, 22 Oct 2022 01:02:43 -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 2324DB82E1E; Sat, 22 Oct 2022 08:02:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5961FC433C1; Sat, 22 Oct 2022 08:02:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666425725; bh=3ShDxGhyePnM87c+choxm1LMKSGJtavEgMGFhBuaV7M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JqBqnZ1UGZWPsuRn8oNOD0JoqI5bBN5ihyFYQMlpZmN02i2EzwEcxH7BWbOjlsiZg DvEqWku2zEWfNV5Cz+7Kwv7MomQlVOd5MUS2EyRXQiHvm+UbqEztDBflPG8labf2xz FyTof6i1B5lQ4u+RC+fz2GfgH9JlTU+XkNEHd9t0= 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 5.19 588/717] wifi: rt2x00: set VGC gain for both chains of MT7620 Date: Sat, 22 Oct 2022 09:27:47 +0200 Message-Id: <20221022072524.443299385@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221022072415.034382448@linuxfoundation.org> References: <20221022072415.034382448@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.3 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 854637b1db49..c8fd4a1f9ed1 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