wpa_cli signal level

Jouni Malinen j
Tue Mar 3 11:19:21 PST 2009

On Tue, Feb 24, 2009 at 10:40:30AM +0100, Tamas Selmeci wrote:

> Just a short question: in wpa_cli, after the SCAN command the 
> SCAN_RESULTS lists the results. I'd be interested in the "meaning" of 
> the "signal level" column. What is its range? 0-255?

It depends on the driver..

> Signal quality/level information on the same AP:
> 1) iwlist wlan0 scan: Quality=88/100  Signal level:-55 dBm
> 2) wpa_cli result: 201
> My interpretation:
> 1) this is considered to be 88% (or not?);
> 2) if the range is 0-255, then this is 79%;
> Am I doing something wrong? I'd like to print a scale from 0-100% 
> according to signal level of the selected AP. How to get relevant 
> results with wpa_cli?

It is next to impossible to make any sense out of WEXT values in a
general way, but you might want to take a look at how NetworkManager
does its magic since it is trying to do more or less the same.

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list