[PATCH] wpa_supplicant: Add AVG_RSSI report in signal_poll

Holger Schurig holgerschurig at gmail.com
Thu Jun 6 05:53:02 EDT 2013


> otherwise a default value (0) will be returned

I'm not in love with such a behavior. Back in WEXT days various
drivers returned "interesting" things if they didn't knew the true
value. In the end you couldn't rely on anything.

I'd suggest that you create the returned string dynamically. And if
you have an average RSSI, then you append/prepend AVG_RSSI=%d to it.
If you don't know the value, then don't append it.


More information about the HostAP mailing list