Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 259866 - hostapd not working with ieee80211n
Summary: hostapd not working with ieee80211n
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Bjarke Istrup Pedersen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-22 00:32 UTC by Jackster
Modified: 2009-03-02 18:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jackster 2009-02-22 00:32:39 UTC
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
Comment 1 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2009-02-23 10:37:13 UTC
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.
Comment 2 Jackster 2009-02-24 07:20:07 UTC
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 
Comment 3 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2009-02-24 07:32:37 UTC
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.
Comment 4 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2009-02-26 22:04:18 UTC
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?
Comment 5 Jackster 2009-02-28 17:11:04 UTC
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.

Comment 6 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2009-02-28 22:24:26 UTC
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)
Comment 7 Jackster 2009-03-01 16:14:04 UTC
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.
Comment 8 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2009-03-02 18:39:03 UTC
Okay, I'll close this bug then, since the problem related to it is fixed in the new ebuild.