]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: ath12k: add support of station average signal strength
authorNicolas Escande <nico.escande@gmail.com>
Sat, 1 Feb 2025 21:13:01 +0000 (22:13 +0100)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Tue, 11 Feb 2025 15:27:08 +0000 (07:27 -0800)
commitcb53a6785ea5b0a14e7e5af4322bee3df266e949
tree751b4ccf14ba2b527deadfdac926b232608e7180
parent02aae8e2f957adc1b15b6b8055316f8a154ac3f5
wifi: ath12k: add support of station average signal strength

This adds support for reporting to the kernel the average rssi. This is
done the same way as it was done in ath11k. A simple ewma (with the same
parameters) is updated with each rssi update.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1

Signed-off-by: Nicolas Escande <nico.escande@gmail.com>
Reviewed-by: Aditya Kumar Singh <aditya.kumar.singh@oss.qualcomm.com>
Link: https://patch.msgid.link/20250201211301.357985-1-nico.escande@gmail.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath12k/core.h
drivers/net/wireless/ath/ath12k/dp_mon.c
drivers/net/wireless/ath/ath12k/mac.c