Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6603240rdb; Fri, 15 Dec 2023 03:30:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IHDAAevpP6wsCmjDnNh+2M7uepmOIQPShkq+7pwxOyyYb1BhBVe8RFmX+R39EgkG5cOXFxH X-Received: by 2002:a05:6512:11c2:b0:50b:e790:e96c with SMTP id h2-20020a05651211c200b0050be790e96cmr4271669lfr.30.1702639839378; Fri, 15 Dec 2023 03:30:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702639839; cv=none; d=google.com; s=arc-20160816; b=JvjffYs2Xi1APqyiBA9jsLdhBqro2XukEGdQCailCKlyoy2DMhwDZD7uDV6uetzeKw CC2i5YhpBGjVgOkHxtVfv/RnAsKq5hgvpXtbk+XhB72yfDQX7pKezG7RsJqIoxH/jxhQ 05Dzn01vdM7jZuFP1tsEWN7ggtsrWIiLw7aKZOeEUq/gUV0DrMFwUmmqPN8fq3U5Fo/9 FghaO0wTWXvrM5DJgO9PB5pvZAt/dAmbCNd0j/qOHzreasN+6q++sLo9kQiUo+U4Y05s 6EoGE/sfPfWqeVFaA7DFyWWBH7FSeZ4o1+/RjswbqteKF0gKvXJOKAtYKbFGyv422BFA Ig9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:from; bh=a2nA+vcev0CWSencr25dbaYWw8AO+pxJHaityAKCPy8=; fh=ou1XA9P7HJvvn9/Tz7ZpngKVGq+TjmoMOFkZzwZh4Pc=; b=srn8IqZ7d4URakwSvntIOPPqtkHsRKPAGMHpPT82a/U6eP2JLppxuVZ9Gf4WYPlE3m vJvtRiEUblCuTcUBUEkxLIZshZ5UYz68JrKjQol8E5peIOVUny6P8wDobdDenNvuvdlv MeNCiI18DV3q5gHMrcrUh2l+BTkg2rCbOCk0kPJ2Q3QwsJd2QtE82Dcd3QTxDZ8fwzS7 uf9htOCj4PwEuWI8qLwjGwlpbuJFYQ7lZ8P2fH9axzAojHMBTIZPBT8RpthXvOuae8jh drfK1uXe8VE0lLB0GfjjV/DCJ/c2Td4kfAniKnIuqYgQ1yYqPBK8sGs0jwZwuVeJda3x YA5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@toke.dk header.s=20161023 header.b=aTc0bpoy; spf=pass (google.com: domain of linux-wireless+bounces-829-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-829-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=toke.dk Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id i5-20020a05640242c500b0054f5c31cfa7si6809554edc.256.2023.12.15.03.30.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 03:30:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-829-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@toke.dk header.s=20161023 header.b=aTc0bpoy; spf=pass (google.com: domain of linux-wireless+bounces-829-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-829-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=toke.dk Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 1E5DE1F217B5 for ; Fri, 15 Dec 2023 11:30:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8D0E525756; Fri, 15 Dec 2023 11:30:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=toke.dk header.i=@toke.dk header.b="aTc0bpoy" X-Original-To: linux-wireless@vger.kernel.org Received: from mail.toke.dk (mail.toke.dk [45.145.95.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 801A825106 for ; Fri, 15 Dec 2023 11:30:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=toke.dk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=toke.dk From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=toke.dk; s=20161023; t=1702639449; bh=a2nA+vcev0CWSencr25dbaYWw8AO+pxJHaityAKCPy8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=aTc0bpoym0O9xwelVZGqSrqOc+L1EJfO8H2h6sOZHNGrJJ4ywy9cXsK3CswIqDMF4 MBYOZxD9z5ppTjo/yF5TaOCspSlUzcuEIpAu8xQ4FlmqZKLTIQUhN5qlRtxUD+aAK+ PrR3M0Nx8HCxdsQMT25s9kxggdh3h9ly+hS0tBCPqAMRkJQo7CQ3dGMQx4OeWpSqty 03KIoImBfafhA/1vRlw5MD74ArC4FYJtCGKvfnCeC3PIeO01CzTs/I+w3ktf1xIe+f JYCK+LL3hXth5cZW/IdK9ubM2h0lQ8PNR6AQFb9sHjiHbsMIxMVNW5vU5ngJMWWKkG idUhZBsKP9Cuw== To: Dmitry Antipov Cc: Kalle Valo , lvc-project@linuxtesting.org, linux-wireless@vger.kernel.org, Dmitry Antipov Subject: Re: [PATCH] wifi: ath9k: fix LNA selection in ath_ant_try_scan() In-Reply-To: <20231211172502.25202-1-dmantipov@yandex.ru> References: <20231211172502.25202-1-dmantipov@yandex.ru> Date: Fri, 15 Dec 2023 12:24:09 +0100 X-Clacks-Overhead: GNU Terry Pratchett Message-ID: <87bkarzp2e.fsf@toke.dk> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Dmitry Antipov writes: > In 'ath_ant_try_scan()', (most likely) the 2nd LNA's signal > strength should be used in comparison against RSSI when > selecting first LNA as the main one. Compile tested only. > > Found by Linux Verification Center (linuxtesting.org) with SVACE. > > Signed-off-by: Dmitry Antipov Acked-by: Toke H=C3=B8iland-J=C3=B8rgensen