Re: [RFC/RFT v5 2/4] mac80211: add periodic monitor for channel busy time

From: Johannes Berg
Date: Thu Aug 25 2022 - 04:58:16 EST


On Tue, 2022-07-19 at 14:35 +0200, Baligh Gasmi wrote:
> Add a worker scheduled periodicaly to calculate the busy time average of
> the current channel.
>
> This will be used in the estimation for expected throughput.
>

I really don't think you should/can do this - having a 1-second periodic
timer (for each interface even!) is going to be really bad for power
consumption.

Please find a way to inline the recalculation with statistics updates
and/or queries.

johannes