[PATCH] roaming: get current RSSI

Dan Williams dcbw at redhat.com
Thu Sep 17 12:19:43 EDT 2009


On Tue, 2009-09-15 at 17:01 +0200, Holger Schurig wrote:
> On Tuesday 15 September 2009 16:39:49 Jouni Malinen wrote:
> > On Tue, Sep 15, 2009 at 01:17:17PM +0200, Holger Schurig wrote:
> > > Allows wpa_supplicant to fetch the RSSI from the WEXT and
> > > NL80211 driver. This can be used in roaming code.
> >
> > Thanks! This looks otherwise reasonable, but the name of the
> > operation "get_rssi" is quite confusing. The returned value
> > seems to be something else than RSSI. In case of WEXT, I have
> > no idea what the value would be with most drivers (qual field
> > used?). In case of nl80211, the value seems to be received
> > signal power in dBm from the last frame received from the AP.
> 
> So let's it simple rename to "get_signal" or "get_level" ??

My hack-patch for this did something similar:

http://cvs.fedoraproject.org/viewvc/devel/wpa_supplicant/wpa_supplicant-0.6.8-ap-stability.patch?revision=1.2&view=markup

but used the driver's idea of "quality" instead of a direct dbm.  Maybe
it's useful in some way.  If we can actually require that drivers (both
supplicant drivers and OS drivers) return their quality in dBm or
something, then we should just use dBm.

Dan




More information about the HostAP mailing list