From: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
To: Aditya Kumar Singh <aditya.kumar.singh@oss.qualcomm.com>,
Jeff Johnson <jjohnson@kernel.org>
Cc: linux-wireless@vger.kernel.org, ath12k@lists.infradead.org,
linux-kernel@vger.kernel.org,
Raj Kumar Bhagat <quic_rajkbhag@quicinc.com>
Subject: Re: [PATCH ath-next 0/2] wifi: ath12k: use real noise floor value
Date: Mon, 23 Jun 2025 08:00:48 -0700 [thread overview]
Message-ID: <500a10c9-c56e-4192-818e-8e07ef6c51f4@oss.qualcomm.com> (raw)
In-Reply-To: <20250528-support_real_noise_floor-v1-0-04507bd3bc76@oss.qualcomm.com>
On 5/28/2025 4:23 AM, Aditya Kumar Singh wrote:
> At present, the ATH12K_DEFAULT_NOISE_FLOOR (-95) is used to calculate RSSI
> value, providing an estimated noise floor value. Consequently, the RSSI
> value is also approximate. This works but however, using actual noise floor
> value will enable the reporting of the true RSSI value.
>
> The firmware possesses the necessary data to determine the actual noise
> floor. This data is provided to the host via the WMI event
> WMI_PDEV_RSSI_DBM_CONVERSION_PARAMS_INFO_EVENTID, which includes the
> runtime parameters needed for calculating the real noise floor in dBm. This
> event is triggered by the firmware during channel changes, temperature
> offset adjustments, and hardware chainmask modifications.
>
> Add support to handle and parse this WMI event. Use the received values to
> calculate and store the noise floor value and use at the required places.
>
> ---
> Raj Kumar Bhagat (2):
> wifi: ath12k: handle WMI event for real noise floor calculation
> wifi: ath12k: use real noise floor instead of default value
>
> drivers/net/wireless/ath/ath12k/core.h | 17 +++
> drivers/net/wireless/ath/ath12k/dp_mon.c | 7 +-
> drivers/net/wireless/ath/ath12k/dp_tx.c | 20 ++-
> drivers/net/wireless/ath/ath12k/mac.c | 14 +-
> drivers/net/wireless/ath/ath12k/wmi.c | 233 ++++++++++++++++++++++++++++++-
> drivers/net/wireless/ath/ath12k/wmi.h | 42 ++++++
> 6 files changed, 324 insertions(+), 9 deletions(-)
> ---
> base-commit: 3d933084a072fd5fb5da54c06a017abc0412c86f
> change-id: 20250513-support_real_noise_floor-205986936cd3
This series no longer applies cleanly on ath/main, please rebase
Applying: wifi: ath12k: handle WMI event for real noise floor calculation
Using index info to reconstruct a base tree...
M drivers/net/wireless/ath/ath12k/core.h
M drivers/net/wireless/ath/ath12k/mac.c
M drivers/net/wireless/ath/ath12k/wmi.c
M drivers/net/wireless/ath/ath12k/wmi.h
Falling back to patching base and 3-way merge...
Auto-merging drivers/net/wireless/ath/ath12k/wmi.h
CONFLICT (content): Merge conflict in drivers/net/wireless/ath/ath12k/wmi.h
Auto-merging drivers/net/wireless/ath/ath12k/wmi.c
Auto-merging drivers/net/wireless/ath/ath12k/mac.c
Auto-merging drivers/net/wireless/ath/ath12k/core.h
Recorded preimage for 'drivers/net/wireless/ath/ath12k/wmi.h'
error: Failed to merge in the changes.
Patch failed at 0001 wifi: ath12k: handle WMI event for real noise floor calculation
/jeff
next prev parent reply other threads:[~2025-06-23 15:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-28 11:23 Aditya Kumar Singh
2025-05-28 11:24 ` [PATCH ath-next 1/2] wifi: ath12k: handle WMI event for real noise floor calculation Aditya Kumar Singh
2025-05-28 11:24 ` [PATCH ath-next 2/2] wifi: ath12k: use real noise floor instead of default value Aditya Kumar Singh
2025-06-23 15:00 ` Jeff Johnson [this message]
2025-06-23 15:51 ` [PATCH ath-next 0/2] wifi: ath12k: use real noise floor value Aditya Kumar Singh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=500a10c9-c56e-4192-818e-8e07ef6c51f4@oss.qualcomm.com \
--to=jeff.johnson@oss.qualcomm.com \
--cc=aditya.kumar.singh@oss.qualcomm.com \
--cc=ath12k@lists.infradead.org \
--cc=jjohnson@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=quic_rajkbhag@quicinc.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®