I've tested this experimental version of madwifi and seems to work fine without encryption. The problem comes when I try to use WEP or WPA using wpa_supplicant. The problem is:
# wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -i ath0 -Dmadwifi
Trying to associate with 00:0f:3d:b2:13:a6 (SSID='MyWEPNet' freq=2412 MHz)
ioctl[IEEE80211_IOCTL_SETMLME]: Invalid argument
Association request to the driver failed
Associated with 00:0f:3d:b2:13:a6
CTRL-EVENT-CONNECTED - Connection to 00:0f:3d:b2:13:a6 completed (auth) [id=0 id_str=]
My wireless card is:
02:00.0 Network controller: Atheros Communications, Inc. AR5418 802.11a/b/g/n Wireless PCI Express Adapter (rev 01)
Although it seems to be connected I'm not able to get an IP using dhcp.
I don't know if WEP or WPA encryption is supposed to work yet in this version. If not, feel free to close de ticket.
Thanks for your work in this version.