ath11k: support avg signal in station dump
authorThiraviyam Mariyappan <quic_tmariyap@quicinc.com>
Thu, 19 May 2022 12:57:41 +0000 (18:27 +0530)
committerKalle Valo <quic_kvalo@quicinc.com>
Mon, 30 May 2022 11:25:27 +0000 (14:25 +0300)
commitb205ce4c266cd66e6f954733ef6c94f06722e150
tree0d42ac92269b9dab01dad8bdc93872efce47ed8f
parent3bd0c69653ac636eae8872aacdcd4156f772f928
ath11k: support avg signal in station dump

Currently mac80211 doesn't calculate average signal when RSS(Receive side
scaling) is enabled from the driver, so average signal isn't printed in
the station dump. To address this issue, calculate the average signal
from RSSI within driver and display in the station dump.

Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.5.0.1-01208-QCAHKSWPL_SILICONZ-1

Signed-off-by: Thiraviyam Mariyappan <quic_tmariyap@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/1652965061-30457-1-git-send-email-quic_tmariyap@quicinc.com
drivers/net/wireless/ath/ath11k/core.h
drivers/net/wireless/ath/ath11k/dp_rx.c
drivers/net/wireless/ath/ath11k/mac.c