Small code which gives output similar to "iwlist eth0 scan"

Dan Williams dcbw
Fri Dec 7 03:21:23 PST 2007


On Fri, 2007-12-07 at 16:45 +0530, Raghavendra. S wrote:
> Hi,
>  
>    Does any one know small AP scan code which gives similar/same
> output as that of "iwlist eth0 scan". I dont want to use iwlist
> because of its size.

Look at the driver_wext.c code from wpa_supplicant at
wpa_driver_wext_scan() and wpa_driver_wext_get_scan_results().  You
don't need to screenscrape output if you can just use the values
directly.

Dan







More information about the Hostap mailing list