HostAP Digest, Vol 67, Issue 7

Raghavendra s.raghu
Thu Nov 6 21:37:50 PST 2008


Hi Kiran,

While connecting to AP, it is definitely possible to connect to Hidden AP 
using ap_scan=2. In this case wpa does active scanning and gets associated.

If we use ap_scan=1, then it does passive scanning and gets associated.

What I wrote is only performing scanning operation, where in if you want to 
scan for perticular AP(ssid) and get the scanned result ssid is not possible 
with wpa_supplicant. For that you should use hidden AP ioctl command 
provided by your chip vendor.

Ask your driver team, they will tell you ioctl to be used for hidden AP scan 
(only scan).

-Raghu.



----- Original Message ----- 
From: "Kiran Kulkarni" <kiran.1267 at gmail.com>
To: "Raghavendra" <s.raghu at samsung.com>
Cc: <hostap at lists.shmoo.com>
Sent: Friday, November 07, 2008 10:33 AM
Subject: Re: HostAP Digest, Vol 67, Issue 7


> Raghavendra wrote:
>> > Message: 3
>> > Date: Thu, 06 Nov 2008 20:41:19 +0530
>> > From: Kiran Kulkarni <kiran.1267 at gmail.com
>> <mailto:kiran.1267 at gmail.com>>
>> > Subject: Passive Scannning
>> > To: hostap at lists.shmoo.com <mailto:hostap at lists.shmoo.com>, hostap
>> <hostap at shmoo.com <mailto:hostap at shmoo.com>>
>> > Message-ID: <49130917.2090409 at gmail.com
>> <mailto:49130917.2090409 at gmail.com>>
>> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>> >
>> > In wpa_supplicant I am searching for a functionality where I will
>> put my
>> > system in passive scan which will only listen to beacons. And if
>> > networks are available I should get some notification on D-Bus or
>> Socket
>> > interface.
>> > So such fascility is provided or not
>>  Hi,
>>  By default passive scanning is supported in wpa_supplicant. Where in it 
>> listens on all the channels for beacon frames.
>>  Active scanning is not supported (Not sure), where in it will send probe 
>> request to AP ssid.
>>  -Raghu
>>
>> >
>> >
>> > ------------------------------
>> >
>> > _______________________________________________
>> > HostAP mailing list
>> > HostAP at lists.shmoo.com <mailto:HostAP at lists.shmoo.com>
>> > http://lists.shmoo.com/mailman/listinfo/hostap
>> >
>> >
>> > End of HostAP Digest, Vol 67, Issue 7
>> > *************************************
> Raghu I think wpa_supplicant uses AP_SCAN 1 for active scanning and fetch 
> the result from the driver.... see the /wpa_driver_wext_scan/ function u 
> will get the answer that we dont use Passive scanning we use active 
> scanning 




More information about the Hostap mailing list