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

Nicolas Escande nico.escande at gmail.com
Tue Jan 21 01:42:29 PST 2025


On Tue Jan 21, 2025 at 9:53 AM CET, Vasanthakumar Thiagarajan wrote:
>
>
> On 1/17/2025 10:58 PM, Nicolas Escande wrote:
>> 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 at gmail.com>
>> ---
>>   drivers/net/wireless/ath/ath12k/core.h   | 5 +++++
>>   drivers/net/wireless/ath/ath12k/dp_mon.c | 2 ++
>>   drivers/net/wireless/ath/ath12k/mac.c    | 5 +++++
>>   3 files changed, 12 insertions(+)
>> 
>> diff --git a/drivers/net/wireless/ath/ath12k/core.h b/drivers/net/wireless/ath/ath12k/core.h
>> index ee595794a7aee..9408d8a528580 100644
>> --- a/drivers/net/wireless/ath/ath12k/core.h
>> +++ b/drivers/net/wireless/ath/ath12k/core.h
>> @@ -1,3 +1,4 @@
>> +
>
> ???
>
> Always ensure a clean checkpatch run.
The worst part is I ran it but failed to understand why it was warning me. I
thought this was due to some existing problem before my changes.

Anyway I was stupid, I reposted v2 to fix this.

>
> Vasanth




More information about the ath12k mailing list