wpa_supplicant in ad hoc mode

Jouni Malinen jkmaline
Tue Jan 2 19:11:06 PST 2007


On Tue, Jan 02, 2007 at 06:41:53PM +0100, Benoit PAPILLAULT wrote:

> Correct. I managed to compile the test_wpa program using the following
> instructions (not so easy in fact). However, I don't know how to move to
> a full implementation of 802.11i IBSS from there (ie, connecting to real
> "wext" backend and so on ... ). Suggestions are welcome.

Yes, it looks like I have not tested this after some of the WPA related
cleanup that made number of variables global. Anyway, it is better to
share those between wpa_supplicant and hostapd. wpa_common.[ch] is a
step in this direction.

I haven't looked into details for this yet. I was planning on doing the
original implementation with driver_test.c and just make sure it is
possible to complete multiple 4-way handshakes. This could use
ctrl_iface to request new connections in the same way as PeerKey is
doing (STKSTART ctrl_iface command). Once that is done, it should be
easy to make driver_wext.c implement the needed interface. Though, this
would not be enough to get the full system working without a suitable
driver that would allow 802.11i/IBSS mode to be enabled.

> PS: I can port those patches to the latest development releases if
> needed to accept those patches in the main tree (or at least discuss
> them, since i'm no expert here and some stuff have been hardcoded).

They will need some cleanup, but it may be a bit too early for some of
the changes since I don't yet know how exactly I would like to move
files around and moving files around won't happen before move to Git
anyway.

-- 
Jouni Malinen                                            PGP id EFC895FA




More information about the Hostap mailing list