Hello Paul, > Hi Eric and friends, > > > I stumbled across a couple of problems today while playing with hostapd. > > > It looks like WPA2 (psk) is not working properly with my Atheros CM9 > card. I did a cursory visual inspection of the source and it looks like > the problem might be fixed by compiling with MADWIFI_NG. Unfortunately, I > no longer have a linux development system (it got replaced with a Mac this > week) so I can't verify it. > > The problem I was seeing is that clients attempting to negotiate WPA2 > were generating the following message: > > "No WPA/RSN element for station!?" in the debug output. I noticed that > there is some conditional code ifdef'ed on MADWIFI_NG. Since leaf > currently ships with madwifi_ng, not the old madwifi code, it would be > good to make sure that little bit of code gets compiled in. Again, I'm > sorry, this is just by inspection. (oops, update, if the dev environment > was correct, we should have set it based upon > IEEE_80211_IOCTL_SETWMMPARAMS up at the top of the file... so I am > confused). Are we compiling against the right headers? > We are compiling against the right headers, hostapd uses the header files from the madwifi-ng source. The "IEEE80211_IOCTL_SETWMMPARAMS" is defined in the madwifi-ng headers so should trigger "#define MADWIFI_NG".
Which version of the hostapd package are you using? and what is the version of the madwifi modules and userspace package? A week ago we updated madwifi to the 0.9 release version and recompiled the hostapd package. I will recompile hostapd again this evening and send you the package. I have no answer on your second question, I will do a search on the madwifi website to see if something simular is reported. Eric _______________________________________________ leaf-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/leaf-devel
