[PATCH] libertas: convert RSSI to a direct command

Holger Schurig hs4233 at mail.mn-solutions.de
Wed Mar 26 05:21:13 EDT 2008


> My recommendations:
>
> 1) We do need to fix the Ad-Hoc bits somehow, I guess that
> means periodically poking GET_RSSI when connected and
> averaging the result over the last 30 seconds, weighting
> recent results more
>
> 2) Use the windowed average for 'iwconfig'/SIOCGIWSTATS, the
> Ad-Hoc scan result, and scan results on the current channel
>
> 3) Use the default noise floor for all channels not the
> associated channel
>
> If you like, I'm interested in doing this.

That's ok for me.


John W. Linville asked me on IRC about the status of this
patch, as he noticed that this patch isn't acked yet. What
do you think about my "[PATCH, take 2] libertas: convert RSSI to 
a direct command" patch?

It fixed the obvious point 1). From my point of view, 2) and 3) 
are "sugar". It could probably be nice to have this, but in my 
experiments (device sitting on the desk and moving around with 
several APs) it's not really necessary. So 2) and 3) could maybe 
applied as separate patches on top of "take 2".

If you think that the averaging is absolutely needed for AdHoc, 
then I'll revive the old convert-rssi patch that didn't kill the 
averaging. But I think that's not needed.

However, because of my patches from today, the "take 2" doesn't 
apply anymore. But I'll send a "take 3" in a minute :-)



More information about the libertas-dev mailing list