[PATCH v2] wifi: ath12k: add support of station average signal strength

Jeff Johnson jeff.johnson at oss.qualcomm.com
Fri Jan 31 13:39:26 PST 2025


On 1/21/2025 1:38 AM, Nicolas Escande wrote:
...
> @@ -10054,6 +10055,10 @@ static void ath12k_mac_op_sta_statistics(struct ieee80211_hw *hw,
>  	/* TODO: Use real NF instead of default one. */
>  	sinfo->signal = arsta->rssi_comb + ATH12K_DEFAULT_NOISE_FLOOR;
>  	sinfo->filled |= BIT_ULL(NL80211_STA_INFO_SIGNAL);
> +
> +	sinfo->signal_avg = ewma_avg_rssi_read(&arsta->avg_rssi) +
> +		ATH12K_DEFAULT_NOISE_FLOOR;
> +	sinfo->filled |= BIT_ULL(NL80211_STA_INFO_SIGNAL_AVG);
>  }

This conflicts with new logic that came from Lingbo Kong:
79e7b04b5388 ("wifi: ath12k: report station mode signal strength")

Can you please rebase?

/jeff




More information about the ath12k mailing list