I'm trying to use the madwifi driver for an embedded Linux
application. I need to use ad-hoc mode with WPA security for
the connections. I downloaded the version 9.4 driver and got it to
build and run, but I noticed the following entry at the bottom of the
[All these problems are to be fixed in future revisions.]
1. Ad-hoc mode is broken; symptoms are intermittent operation.
Could you give me any more information about the problem?
Is a fix available? If so, could you send me info on which version,
and how to apply it? If not, I'd be happy to contribute any fixes I
I looked online, and some discussions seemed to indicate
that this feature is working. See link (
http://readlist.com/lists/shmoo.com/hostap/0/4065.html ). Is the
README file just out of date?
Also, when I run the wpa_supplicant, I get an error from the
driver for the SETOPTIE ioctl call. (See below). The discussion
above indicated that they solved this by using the generic Linux
interface instead the standard driver interface. I tried using the -D
wext option, but that didn't work. Is there information somewhere on
the steps I need to take to use the generic Linux interface?
State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
ioctl[IEEE80211_IOCTL_SETOPTIE]: Invalid argument
Association request to the driver failed
wpa_driver_madwifi_set_key: alg=TKIP key_idx=0 set_tx=1 seq_len=6
Cancelling authentication timeout
State: ASSOCIATING -> COMPLETED