Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp36000rdh; Mon, 18 Dec 2023 10:46:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IF/kWfECA0USif5WqEq4u0NTXZM+yNjqYUC+hM5N3r87JgbNoxUkUiJUFzcYgohrO66Fet/ X-Received: by 2002:a05:6a20:3c8d:b0:18c:19ab:d2e5 with SMTP id b13-20020a056a203c8d00b0018c19abd2e5mr9308566pzj.33.1702925212741; Mon, 18 Dec 2023 10:46:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702925212; cv=none; d=google.com; s=arc-20160816; b=F10IywD/HQjbDt6GP7gbuSyVfFTXDnz0fK+jxHu/h0upGschiB9IUywHJul1t09awr gNdFP92tTiWUQ0bITOgr+Q2+LrS9rRR6zOVTG+pQ4otJ8c5730ccHMmg8V/RIo5+TclT 9xjIR8gJN7g4SdlEpdrIhn9qppi+Go3YRaVf3qAPYVbgIp7Dqj/gv4YPyL79Zqddh0PC 883CgmqfAowXojhrjIwcTlnPBQnwuahE7gfK/SBPP0Jx2gsl1xcJfCFhmEinXVlU+43F 8MGJ0Q6xLnVbQ7y1QVNVDjoTXeDxyti1qrSmJlgzxCO6qWljzw9wWXAX6TeUOEm8liHh gmAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=date:message-id:user-agent:cc:to:references:in-reply-to:from :subject:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=iJSLubfpHRY3U9U6Vr9ugXAHN0ujR3nfBi9TZJvOjiI=; fh=4nrvPdh3UUjraclojySstB1WlTkBNkmiyK0DWOd5zeY=; b=mEQs4napTDwjrs1tQ6VgGZlEl9UsX4mxFdF/Zj8r6od7WB4D8HpFjwF02S/eZv5xnv XB9Z0pnidiPjfa4lyC06s771RzFB6qxj8XrNa+/3CxsJhKhmsflUGeeEmXhWFDSLgkWU D0qpgWNhgbi+wkjLiweoJeTUqGGEYLLZXXMU63rDfqBuXZWZUmr2jebPIaC/vN6eo7+k KtvqEkJnJI4H8ztiYbpzvomP1PHJehJ/opuk0O7dlO9ADU9Z/UKDEdpbKJdbpLkHPgpc JI/g9BHyWzsOjfl5D9I8NuKf+LlcBEx3Cp3k5VkEOExV2ybtLi6pxPaOSqPYJQcAsrVc nAJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MIry3h0G; spf=pass (google.com: domain of linux-wireless+bounces-944-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-944-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id e25-20020a637459000000b005cdacf9065fsi827951pgn.720.2023.12.18.10.46.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 10:46:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-944-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MIry3h0G; spf=pass (google.com: domain of linux-wireless+bounces-944-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-944-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 3A04E285343 for ; Mon, 18 Dec 2023 18:46:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DF7251DDFC; Mon, 18 Dec 2023 18:46:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="MIry3h0G" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 BD8592904 for ; Mon, 18 Dec 2023 18:46:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 006BCC433C7; Mon, 18 Dec 2023 18:46:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702925199; bh=EptGzg58+cPDd7g/9aUY/r/Wd8WbVa8/AZav0tjNyM0=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=MIry3h0Gsxssmek7lwBHVtR046CRJURNbNjUvX5PElaU3dQKE0aAHbKQTG761dXV4 DeWQzHjX+hUQXOQKjkUGr+pvEbo4EVo+sBh76TPJb19Qb1Rq+4ZQGVQeRpRiYrIi/T 9QJMmb3mgGJCiTMuVN0nD+nfsDFdAdwUb8wxGTn9bhFZb2gBN1rlSbG737xkiJeW23 vuOWFINkFxsC37fyV0ey65jIw9tN3lkXNU+lDR80sz5q6XfBjw4XKOccZKZcwGVj5Q 5h6+Thj++axj9aayjtaT2mtwugd6CWjvFlKgEmTt70qimDi4D2CYp1g9INghQdCtWM 2ba/9Dl535whw== Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] wifi: ath9k: fix LNA selection in ath_ant_try_scan() From: Kalle Valo In-Reply-To: <20231211172502.25202-1-dmantipov@yandex.ru> References: <20231211172502.25202-1-dmantipov@yandex.ru> To: Dmitry Antipov Cc: =?utf-8?q?Toke_H=C3=B8iland-J=C3=B8rgensen_?= , lvc-project@linuxtesting.org, linux-wireless@vger.kernel.org, Dmitry Antipov User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <170292519633.424292.4014017811010090345.kvalo@kernel.org> Date: Mon, 18 Dec 2023 18:46:37 +0000 (UTC) Dmitry Antipov wrote: > 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øiland-Jørgensen > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. d6b27eb997ef wifi: ath9k: fix LNA selection in ath_ant_try_scan() -- https://patchwork.kernel.org/project/linux-wireless/patch/20231211172502.25202-1-dmantipov@yandex.ru/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches