ad-hoc scanning

Jean Tourrilhes jt at hpl.hp.com
Tue Apr 5 13:11:45 EDT 2005


Leonardo Maccari wrote :
> 
> In ad-hoc mode I need to know which machines are my neighbour, and their
> MAC address to start a 4-way handshake with them. I've seen that
> wpa_supplicant_get_scan_results() gives scan results in this structure:

	The 802.11 specification defines Scanning in term of Cell (or
BSSID). Scanning will give you all the existing Ad-Hoc cells (BSSIDs)
that you can reach, and is working properly in the HostAP driver.
	Once you have joined a Cell, you can scan for node *WITHIN*
that Cell using standard network procedures, this is outside the scope
of 802.11. For example, you can ping on the broadcast address, use
UPnP, RendezVous, or any kind of IP discovery protocol you are free to
invent.
	Good luck...

	Jean




More information about the HostAP mailing list