i need to enable n mode of wifi (bgn). i know the wifi configuration is specified in hostapd. but i couldn't find anywhere how to enable 'only n mode' in hostapd. i am using the wl1273l chip , which is capable of bgna. Is there any lines that i need to specify in the hostapd ?.i tried the following
ieee80211=1
wmm_enabled=1
nl80211=1
but failed. i read the hostapd documentation but there is no data regarding the n mode.only regarding bga. if know anything please answer
Best Solution
These config lines pasted below are the relevant config params for n-mode. You could check out this conf to lookup any param you want to use for hostapd:
http://w1.fi/gitweb/gitweb.cgi?p=hostap.git;a=blob_plain;f=hostapd/hostapd.conf
An interesting extra to my post:
Just configuring these didn't enable n-mode for my nix router. Turns out hostapd checks for neighboring SSID's. If there are a lot of those, it won't activate the secondary n channel. A quick inSSIDer scan showed my my neighbours were in fact using the secondary channel. Apparently many routers don't have this check (as described in RFC) built in. I used the patch described in the url below to disable the neigboring network check, and force hostapd to run in n-mode.
http://www.brunsware.de/blog/gentoo/hostapd-40mhz-disable-neighbor-check.html
These are the n-mode config lines: