Getting scan result using wpa_supplicant

Jouni Malinen j
Fri Nov 14 13:20:07 PST 2008

On Fri, Nov 07, 2008 at 10:29:02AM +0530, Raghavendra wrote:

>  I am using wpa_supplicant-0.5.9. I am using both wpa_cli and wpa_supplicant 
> daemon.

> My doubt here is, assume a wi-fi zone with 20 or 30 active APs. In this 
> wi-fi zone if we use wpa_supplicant and wpa_cli, wpa_supplicant will return 
> 15/16 AP information to wpa_cli. We will not get complete scanned result of 
> all (20 or 30) the APs in the wi-fi zone.
> So I would like to know is there a way to get all the active (20 or 30) AP 
> information in a wi-fi zone? If so how can i get all 20 or 30 active AP 
> information using wpa_cli?

wpa_supplicant 0.6.3 added a new ctrl_interface command BSS to allow
this to be done. Please take a look at wpa_gui_qt4 in the current 0.6.x
branch for an example (ScanResults::updateResults() function).

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list