<div>Hi Dan,</div>
<div> </div>
<div> Actually in my case I want to get scan result first then configure wpa_supplicant.conf and then I will enable wpa_supplicant. Because user has to first see the scanned result and after that he can configure to which AP he want to associate with and security models he want to use. So I need some independent small AP scan code similar to "iwlist eth0 scan".
</div>
<div> </div>
<div>-Raghu.<br><br> </div>
<div><span class="gmail_quote">On 12/7/07, <b class="gmail_sendername">Dan Williams</b> <<a href="mailto:dcbw@redhat.com">dcbw@redhat.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Fri, 2007-12-07 at 16:45 +0530, Raghavendra. S wrote:<br>> Hi,<br>><br>> Does any one know small AP scan code which gives similar/same
<br>> output as that of "iwlist eth0 scan". I dont want to use iwlist<br>> because of its size.<br><br>Look at the driver_wext.c code from wpa_supplicant at<br>wpa_driver_wext_scan() and wpa_driver_wext_get_scan_results(). You
<br>don't need to screenscrape output if you can just use the values<br>directly.<br><br>Dan<br><br><br><br></blockquote></div><br><br clear="all"><br>-- <br>Regards & Thanks<br>Raghavendra. S