Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp97387rwn; Fri, 16 Sep 2022 16:10:03 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5ncOIT9JarCGmAIoNekZtmPWGpIpCkKvhaLb0RsDYJNJJv1YHNdVh+o1zUgBHnsrWMhjC+ X-Received: by 2002:a17:90a:17c4:b0:202:9d32:e675 with SMTP id q62-20020a17090a17c400b002029d32e675mr18303860pja.220.1663369803500; Fri, 16 Sep 2022 16:10:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663369803; cv=none; d=google.com; s=arc-20160816; b=eu2Wd3KYVXlGlv/JZrj3gYHc5g1gFD0y9ADwSS+ItK24XtUn5uPf7cgXoZk58kkc2L GCI3EsjEtVlkR8lBZmUG/J0CbF34CuIo43+2HX5dwU5fdxz7C7HsHIj9h5F9xHjjLv/p Au/EfDzuZuqBzDv/l4egcm01r8vk1speqzBMW1em6dPVkHu+xW/YlWFXuSkMgPPMNNKN +CueFydYrzxDfgdRdUigKUmzsC61ZeFEb7qav9/XpjzAKVAwvFT6VCtLirP8QNr12Jc1 xDsi/zl0Gy9pRBX1c7swhc2pSpTvsmiD6/GZCJG6YQQ+rxItQ2jVJh4Z2g3AvkntuPni gRhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date; bh=ZrMuzQlkdwBrPZjXYywF/aFgO3BsoEpgcUjIKi1MN5g=; b=SFvbtrl83HY6sykgvvjF6TH8cjqePzMcr123KgokfIWXVdCugh9AH+telvXZS2NdR5 07hyWUKlCkpuzDW3Vn9efTemmdb2JJyvHRu842k2L0oofRwVyMld3xghlY7+wUgoc4NC DyWF+UYwKXPGxjjkk8S4oWQ8vHsg+Q+ncozUAtPa+8TlUVD4zOY8XjlH3f/m2gz0CZaU R5RboiUTcbqZ3MzVcc2V0hmkFqSxDaVpOmANo4fGCHlD/dGH3O/aUU+tKpcl6xwEYBKY cddE3HC+TAdAHRZ5WdV4s5+wenoEQlcLq1HbF6LAQ+eKYYWPkEMAMgGQxmegn5HMyrBo qi5Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oj6-20020a17090b4d8600b001fad0e954cesi4468982pjb.32.2022.09.16.16.09.54; Fri, 16 Sep 2022 16:10:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229713AbiIPXIQ (ORCPT + 64 others); Fri, 16 Sep 2022 19:08:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229588AbiIPXIO (ORCPT ); Fri, 16 Sep 2022 19:08:14 -0400 Received: from fudo.makrotopia.org (fudo.makrotopia.org [IPv6:2a07:2ec0:3002::71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE398BB6A9 for ; Fri, 16 Sep 2022 16:08:13 -0700 (PDT) Received: from local by fudo.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.96) (envelope-from ) id 1oZKRQ-00073J-0d; Sat, 17 Sep 2022 01:08:12 +0200 Date: Sat, 17 Sep 2022 00:08:06 +0100 From: Daniel Golle To: linux-wireless@vger.kernel.org, Stanislaw Gruszka , Helmut Schaa Cc: Kalle Valo , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Johannes Berg Subject: [PATCH 13/15] rt2x00: set VGC gain for both chains of MT7620 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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-wireless@vger.kernel.org Set bbp66 for all chains of the MT7620. Reported-by: Serge Vasilugin Signed-off-by: Daniel Golle --- 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 a85cc55e500479..cc2f9101201cec 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c +++ b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c @@ -5710,7 +5710,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.37.3