Re: [PATCH v7 3/3] nl80211/mac80211: Report signal average

From: Johannes Berg
Date: Wed Nov 17 2010 - 11:15:31 EST


On Wed, 2010-11-17 at 17:28 +0900, Bruno Randolf wrote:

> > Or am I missing something here and we have a compiler that is actually
> > able to take care of this kind of optimizations by itself in the current
> > ewma library design? Or is the unsigned long division with the expected
> > weight values going to be fast enough to not justify caring about it
> > even on any of the embedded boards anyway?
>
> I understand that this could be more efficient, but if it matters or not -
> honestly, I don't know. Can a more knowledgeable person than me comment on
> this?

Yes, it does matter -- think of an embedded MIPS board running at 500MHz
and trying to push 11n speeds.

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/