<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16640" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=Arial size=2>Hi Jouni,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> In your below response to my query you have
mentioned, <STRONG>(i.e., wpa_supplicant is just configuring the SSID and
security policy).</STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2><STRONG></STRONG></FONT> </DIV>
<DIV><FONT face=Arial size=2>Does that means it is not possible to scan and
display result of Hidden APs using wpa_supplicant. Becoz whatever you
mentioned above is while getting conneted/associated, if we mention AP SSID then
it will try to connect.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I my case, I have a following config file
using which I will enable wpa_supplicant.</FONT></DIV>
<DIV><FONT face=Arial size=2>-----------wpa_supplicant.conf
start-----</FONT></DIV>
<DIV><FONT face=Arial size=2><FONT
size=3>ctrl_interface=/var/run/wpa_supplicant</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT size=3>ap_scan=2</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT size=3>----------</FONT><FONT
size=2>wpa_supplicant.conf ends-----</FONT></DIV>
<DIV><STRONG><BR></STRONG></DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am enabling wpa_supplicant with above
configuration. Then using wpa_cli, I issue '<STRONG>scan</STRONG>' command and
then '<STRONG>scan_result</STRONG>', to get scan result.</FONT></DIV>
<DIV><FONT face=Arial size=2>Before enabling wpa_supplicant I have 'Disabled
SSID Broadcast' feature on my AP.</FONT></DIV>
<DIV><FONT face=Arial size=2>If I 'Enable SSID Broadcast' then I am getting
my AP info in scan result. But If I 'Disable SSID Broadcast' I am not getting my
AP info in scan result.</FONT></DIV>
<DIV><FONT face=Arial size=2>So I would like to know how can I get information
of a AP in which SSID Broadcast is Disabled.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>-Raghu.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Date: Sat, 12 Apr 2008 18:08:01 +0300<BR>From:
Jouni Malinen <</FONT><A href="mailto:j@w1.fi"><FONT face=Arial
size=2>j@w1.fi</FONT></A><FONT face=Arial size=2>><BR>Subject: Re: Doubt On
Scanning Hidden AP<BR>To: </FONT><A href="mailto:hostap@lists.shmoo.com"><FONT
face=Arial size=2>hostap@lists.shmoo.com</FONT></A><BR><FONT face=Arial
size=2>Message-ID: <</FONT><A
href="mailto:20080412150800.GA7709@jm.kir.nu"><FONT face=Arial
size=2>20080412150800.GA7709@jm.kir.nu</FONT></A><FONT face=Arial
size=2>><BR>Content-Type: text/plain; charset=us-ascii<BR><BR>On Fri, Apr 11,
2008 at 09:58:47AM +0530, Raghavendra wrote:<BR><BR>> In
some spec I came across the word "Scanning Hidden AP". <BR>> <BR>>
Can any tell me what is this hidden AP means?<BR>> <BR>> Also
whether wpa supplicant is capable of doing that?<BR>> If so how to
achieve it in wpa supplicant..I mean is there any special configuration that I
have to do for scanning hidden AP using wpa supplicant?<BR><BR>In most cases,
wpa_supplicant itself does not perform the scan; this is<BR>left for the
driver/firmware. In case of "hidden SSID" passive scanning<BR>(just listening
for Beacon frames) does not find the SSID for the AP and<BR>an active scan with
a specific SSID (i.e., sending Probe Request frames<BR>with a specified SSID) is
needed. wpa_supplicant can instruct the<BR>driver/firmware to do this with
scan_ssid=1 option in ap_scan=1 mode<BR>(not all drivers support this, though).
Alternatively, ap_scan=2 mode<BR>can be used to leave all details of AP
selection to the dirver/firmware<BR><STRONG>(i.e., wpa_supplicant is just
configuring the SSID and security policy).<BR></STRONG><BR>-- <BR>Jouni
Malinen
PGP id EFC895FA<BR></FONT></DIV></BODY></HTML>