passive scanning question.

Jouni Malinen jkmaline at
Mon May 23 17:32:58 EDT 2005

On Wed, May 18, 2005 at 03:13:11PM -0400, Andrea G Forte wrote:

> when using passive scanning, the function hostap_passive_scan() is 
> called. It seems that such a function changes channel, waits for some 
> time and then goes to the next channel only. It does not take care of 
> collecting beacons and saving the data of each beacon (SSID, signal 
> strength, etc.). Who takes care of writing this info somewhere in 
> memory? I also see that after we have the data from the beacons, the 
> function create_proc_read_entry() gets called to write this data to 
> file. I am missing the part in the middle between hostap_passive_scan () 
> and create_proc_read_entry().

Beacon frames are processed in hostap_80211_rx.c just like other
management frames in hostap_rx_frame_mgmt().

Jouni Malinen                                            PGP id EFC895FA

More information about the HostAP mailing list