wpa-supplicant for adhoc networking?

Leonardo Maccari maccari-thisaintpartofmyaddress- at lenst.det.unifi.it
Mon Sep 19 04:18:48 EDT 2005


On Sun, Sep 18, 2005 at 07:10:25PM +0200, Cristian Ionescu-Idbohrn wrote:
> On Sun, 18 Sep 2005, Pablo Osuna wrote:
> 
> > I am also interested in using WPA for an adhoc network.
> 
> And another vote from me :)
> 

I've been trying to work on it for a few time, but it's a long way.
There are two distinct problems, first one is merging both state machines
(as jouni said) into one application, second is forcing the interface
(that should be working in ad-hoc mode) to behave like a master/managed
interface. I'm now working on the first issue, I'm trying to port eapol
state machine and wpa supplicant SM into hostapd. 
Once state machines are ported and do compile I want to try to have WPA
over WDS. This is because it looks easier as a middle step and can give a
ad-hoc like topology like the one used in project Locust. 

Another difficulty to overcome is that when a card is put in ad-hoc mode
it takes a random BSSID, and there is no standard way (confined to level
II) to have a list of neighbours (to my understanding of 802.11 protocol).
that is: scanning is in terms of cells, so it returns a list of bssid, but
in ad-hoc mode bssid != mac address. so if you want to have an ad-hoc
network without fixed topology you should face this issue. 

ciao,
leonardo.

-- 
   Key fingerprint = 3129 C583 F03B 2E73 0115  C040 3489 0185 B592 19FE
 Obviously -thisaintpartofmyaddress- is not part of my real email address 




More information about the HostAP mailing list