wpa_cli returns signal strength 0-255 ?

Jouni Malinen j
Sun Nov 6 02:44:22 PST 2011

On Sun, Nov 06, 2011 at 09:56:00AM +0000, Ed W wrote:
> Hi, using the git-1.0rc tree I observe that scan_results returns signal
> strength in a form that looks like 0-255.  Is this expected? How to
> convert to db or other arbitrary scale for use by a frontend?

The exact signal level value depends on the driver interface used.

> Additionally, I am using an Atheros AR5414 card with recent kernel
> drivers.

Are you using driver_wext.c or driver_nl80211.c? If the former, please
try with nl80211.

>  Is there any way to have the card periodically do a background
> scan such that scan_results are always reasonably fresh?

You can enable bgscan mechanism in wpa_supplicant to request periodic

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list