Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2524585rdb; Fri, 22 Sep 2023 00:41:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFadHy/Uwd8hPv0prm8Yu2b4voNpH958JWwG6+mIKEwLoejMA1dGGgUlA/CG3wpxIX+9FMh X-Received: by 2002:a05:6830:3695:b0:6c4:a65c:f7c4 with SMTP id bk21-20020a056830369500b006c4a65cf7c4mr3086524otb.30.1695368486561; Fri, 22 Sep 2023 00:41:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695368486; cv=none; d=google.com; s=arc-20160816; b=RNlWvau/nra6auOs669Zd5j3hzooj846H36bjvfZQ9Z+cOkpByNahe/d7Wprpz7HYh 1pjmhizGBSl0D2Ao3LGHSb9H2ugA8d08a/U99Pood5gblkcEEJWoguKcnV0W+hR/jLtD sRgSyMVuiUkFDCN5h027KUt2K6EuN8QINyuuOFkLZGNL4fUchN7GYoasffom1YO3unIC zz+/n1zumb8d6qddReonHJBIKVy2B7iC/2aiQBjibsSvwmUi9x7725tEmBqloNdt6eyr 70Bmv4lxSzcz/J+yg9VRvIclhDO5/W/YTT0zlbw2w+B4SFamRsIctls9u8Y34NlV4YYY RqRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=aqOA8uEKd6Gc0Yv1avmxGYJIzI8z+BBnGeEjkwLfApQ=; fh=ciWSO4gAQ5eirAvdhkY/Um2P4Ao+HbKucMAmTNQiL8I=; b=LFHggmt9imLp886prWSOEshUUi9dZBh6/9e+enhSY4Ct/U0JRDycJh3y6Z+s5dk5wK p8kI/b2l00MALhqTNj170yDF4fN7ioonHytPYSbN8BTUp4wVnAablznnKmwFp5A2xVI2 sZDGOk5mftSLxH162eyiFwsqSNSqtlymKuzcOK+xP2NxTGIK4Wz824f14RpsCZCuALMr MPrlfwlhkhkqcuqfZJPK5z9VZTUdhVFZuBqxi6jCoOyaJgrOgSohYmRBrNnMnP92AV3V RVWlvaoUBi9lV4Vf2RCZnqzkeWKEIMAectsa0x5R3fHRWCPGOR9CQ6I9CmdsQIm5oYd+ M8mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mSwKLSZn; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id y21-20020a056a00191500b00691023321ebsi3359174pfi.113.2023.09.22.00.41.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 00:41:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mSwKLSZn; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 5B6B9834E5A0; Fri, 22 Sep 2023 00:28:40 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231254AbjIVH2k (ORCPT + 56 others); Fri, 22 Sep 2023 03:28:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231370AbjIVH2j (ORCPT ); Fri, 22 Sep 2023 03:28:39 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67FEE19E for ; Fri, 22 Sep 2023 00:28:33 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 562F8C433C7; Fri, 22 Sep 2023 07:28:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695367713; bh=d1mI+0ZL2+cM7MjGZNsCyN17hETr1Hjl/AuwczI38vw=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=mSwKLSZnid2CdtbW8QBRLcqbwUf4BlboVFlRO1W+Gth7dhzamP0U7cRRWiTVSnAAP 77Vv3ZT0/7BAtLpdxrWcxsJz1kHlngpbuVxK4YVkLdZyJpXk7S2xlxTyEBfMbMrhmW 1AIQLKwip+8StiW4P1EgAXdpRPUM3mfR5iU7M3e/PRYJ3L/xgr2EWx0WlJHgpJAkwA 1Oho73eItdheKdBghHE1miiFgV2iCeBvlrFN4IWCarpsR6L+DuPVqVPTEsjQhpSSQC co1VpVhmHU2PqoncTj4WMVGdJb97lktjXUR63c2TRkQYtceqUqvVDlG4zOzWh1Y2YW 5VqhA0Gw9X1hQ== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH wireless] wifi: mt76: mt76x02: fix MT76x0 external LNA gain handling From: Kalle Valo In-Reply-To: <20230919194747.31647-1-nbd@nbd.name> References: <20230919194747.31647-1-nbd@nbd.name> To: Felix Fietkau Cc: linux-wireless@vger.kernel.org, Shiji Yang User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <169536771011.1992536.10976022273047975727.kvalo@kernel.org> Date: Fri, 22 Sep 2023 07:28:32 +0000 (UTC) X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Fri, 22 Sep 2023 00:28:40 -0700 (PDT) Felix Fietkau wrote: > On MT76x0, LNA gain should be applied for both external and internal LNA. > On MT76x2, LNA gain should be treated as 0 for external LNA. > Move the LNA type based logic to mt76x2 in order to fix mt76x0. > > Fixes: 2daa67588f34 ("mt76x0: unify lna_gain parsing") > Reported-by: Shiji Yang > Signed-off-by: Felix Fietkau Patch applied to wireless.git, thanks. 684e45e120b8 wifi: mt76: mt76x02: fix MT76x0 external LNA gain handling -- https://patchwork.kernel.org/project/linux-wireless/patch/20230919194747.31647-1-nbd@nbd.name/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches