when enabling ieee80211n in /etc/hostapd/hostapd.conf hostapd give the following error unknown configuration item 'ieee80211n' Reproducible: Always Steps to Reproduce: 1.add the line ieee80211n=1 to hostapd.conf 2. 3. Actual Results: hostapd dies with the error unknown configuration item 'ieee80211n' Expected Results: hostapd starts sucessfully I don't know if this is part of the same issue or a different issue but I think hostapd is not configured correctly to use libnl because when I comment out ieee80211n=1 in the hostapd.conf I get nl80211 driver initialization failed. Adding CONFIG_IEEE80211N=y to the .config file and compiling manually fixed the unknown configuration item 'ieee80211n' problem but I could still not get libnl to work
I'll update the ebuild later to compile it with 802.11n support. Regarding if it works with libnl, it does on my machine. Please give it a go with the mac80211_hwsim hardware to rule out any broken drivers giving problems. In your kernel source documentation directory, you will find a folder containing some sample configs for both wpa-supplicant and hostapd for testing with mac80211_hwsim.
A little more googling revealed all my libnl issues were do to not having the compat-wireless patches applied to my kernel. Adding echo "CONFIG_IEEE80211N=y" >> ${CONFIG} to hostapd-0.6.8.ebuild fixed the issue with ieee80211n
You could try with the latest unstable vanilla-sources and see if that works. Would be nice to know if 2.6.29 solves your problems too.
I've fixed the ebuilds in the tree (should be there within 2 hours). Could you give it a try with newest unstable vanilla sources and hostapd-0.6.7/8 and see if it works without any problems?
The new ebuild seems to be working great with the latest unstable vanilla-sources. I still don't have a working access point but I an fairly certain his is a config issue because I can can connect to it but I immediately get disconnected.
Great, so far so good :-) Can you give it a go with the hwsim driver and the configs from the documentation directory in your kernel sources and see if it can connect? (You will need both hostapd and wpa-supplicant)
I'm not where I can try hw_sim right now but I am sure it is a configuration issue on my end. I can now connect if I set up an open access point but I haven't got WPA working. I'm sure it is something simple I am missing.
Okay, I'll close this bug then, since the problem related to it is fixed in the new ebuild.