Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1153799pxb; Fri, 21 Jan 2022 11:00:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJyy5Q1aE8JTiGao0P7PI/qBgfMGGLEiBQTygiqRQ2SER2p8s+YwUGBiLE+TP2Jc6vmhSlu1 X-Received: by 2002:a62:7705:0:b0:4c6:d435:573c with SMTP id s5-20020a627705000000b004c6d435573cmr4936730pfc.57.1642791653123; Fri, 21 Jan 2022 11:00:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642791653; cv=none; d=google.com; s=arc-20160816; b=c+MGVbNqTxzHU7aECfXZJ/mCihky5JUnEHs1ZY2l94v4tUD1umbqdK/vWZFmzX4yZF 7Xw6V1Nvfu7UiF4vHqnJdTv4uXJarek1JOMYaYsQYzbUVv7iSAVG08rB0CbTIFXtWKWi rm9tGH3i4KpJJC+CHwnw3f8jtykuxMJ2L/+aA0LoloQ/mmFt6qp4yAFzu2HLY38fnDNL kFVe47fWED0Flp9yKnkcvFUqz7PK5FoWSiog5+sbox0FM0OEQhRn3R8Q2qDsGYKdfilb sdaR6xqnJHIpO2gzDtmBApZ0tWT9kK4AOm7jYXnjRdskUjCQfXO55KGH3E7XspDRPXHQ K6BA== 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=xK++JFH9BUzhDcefk5bxrp8RSqe4x/Dx1OzWXfc9Ct0=; b=iIJkKgouarkwYjE75yAdE9YlQ4+8VOhIz6GjTgMFnW80CwILSVNPbMBvUcCzoXkydE Pyt2TamR9meUNBlwo4dNPW2sx3xHxsuR4WOkIJV6hlt7rOSK7xqhJUV04GMsk4qnNamt 4c3NDoxL/hWy4ltwSSn0qCRhe0scd49tG7/EOIOrBxD8WQm640IHUm81QbmhZopbeeZt BAsHYfFhSWyi3s/mKmkM9sHVe0qHvW7mO3HtUKFfxgYTSBs092nq5I9jLuzRgn7X9RWP b6TcC2cvswoLIiVNuCl2seY+xHVhK4TcIcdIvkaPOSJvaSFYuCs5bo477/x840XdnnP4 O2Ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YUS9c3e2; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v2si6719662plp.620.2022.01.21.11.00.43; Fri, 21 Jan 2022 11:00:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YUS9c3e2; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237729AbiASItg (ORCPT + 70 others); Wed, 19 Jan 2022 03:49:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352571AbiASIte (ORCPT ); Wed, 19 Jan 2022 03:49:34 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 706FCC061574; Wed, 19 Jan 2022 00:49:34 -0800 (PST) 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 dfw.source.kernel.org (Postfix) with ESMTPS id 11208614B8; Wed, 19 Jan 2022 08:49:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BCDB9C340E3; Wed, 19 Jan 2022 08:49:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1642582173; bh=f7Mv8iRpM88XNk2LC22R7OThKjTnidsB51bEaWygpKY=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=YUS9c3e2F/VtS4CWpLVbSvlL766/2c/tYU2wPF0iUk59loi6zU8OF0m44ueNMJ1gZ cWBi3Im6C6pH2OXSA9bvnOrmzwK2YABh01Xl4wFXEW+h1ngGRaAtwkGMxTbrQg8ADl 6+EKr8ED2bNFgFKHEwAsi+AK2s2K8/BP3lRwlxIX9Wyy1i7COffAHz3e9vY6QRwQmS 6fNVuxhWa0kn5jc25Cpd8iDu0h1fVjMG0KABL3vcQgChHw+y7xU6WgQ7qSFzgj3SEU d7LZllKqMBfMc+dzYsdw4IwUEQtZQrDfYWqvZzIV7D6VqPDHxM159aXhrU+dM0CoQ1 yoGXQxZesHS0g== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH v3 1/4] wcn36xx: Implement get_snr() From: Kalle Valo In-Reply-To: <20220115001646.3981501-2-bryan.odonoghue@linaro.org> References: <20220115001646.3981501-2-bryan.odonoghue@linaro.org> To: Bryan O'Donoghue Cc: kvalo@codeaurora.org, linux-wireless@vger.kernel.org, wcn36xx@lists.infradead.org, linux-arm-msm@vger.kernel.org, loic.poulain@linaro.org, benl@squareup.com, bryan.odonoghue@linaro.org User-Agent: pwcli/0.1.0-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <164258216749.21393.3097198740948062777.kvalo@kernel.org> Date: Wed, 19 Jan 2022 08:49:31 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Bryan O'Donoghue wrote: > The wcn36xx BD phy descriptor returns both Received Signal Strength > Information (RSSI) and Signal To Noise Ratio (SNR) with each delivered BD. > > The macro to extract this data is a simple-one liner, easily imported from > prima driver. This data will be useful to us when implementing > mac80211-ops->get_survey(). > > Signed-off-by: Bryan O'Donoghue > Reviewed-by: Loic Poulain > Signed-off-by: Kalle Valo 4 patches applied to ath-next branch of ath.git, thanks. 039d5d4db4bc wcn36xx: Implement get_snr() d6f2746691cb wcn36xx: Track the band and channel we are tuned to 29696e0aa413 wcn36xx: Track SNR and RSSI for each RX frame 51395cf204f2 wcn36xx: Add SNR reporting via get_survey() -- https://patchwork.kernel.org/project/linux-wireless/patch/20220115001646.3981501-2-bryan.odonoghue@linaro.org/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches