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

From: Baligh GASMI
Date: Thu Aug 25 2022 - 05:28:18 EST


Ok, noted !
I will try to find a way or maybe remove this part, since the busy
time is not trivial to be used in the estimation, as I thought.
Thanks for your reply.


Le jeu. 25 août 2022 à 10:58, Johannes Berg
<johannes@xxxxxxxxxxxxxxxx> a écrit :
>
> 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