Baligh Gasmi <gasmibal@xxxxxxxxx> writes: > 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. > > Signed-off-by: Baligh Gasmi <gasmibal@xxxxxxxxx> [...] > --- a/net/mac80211/iface.c > +++ b/net/mac80211/iface.c > @@ -1970,6 +1970,64 @@ static void ieee80211_assign_perm_addr(struct ieee80211_local *local, > mutex_unlock(&local->iflist_mtx); > } > > +#define DEFAULT_MONITOR_INTERVAL_MS 1000 I'm worried that polling every second affects power consumption. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches