Hi R101 and Frank,
Could be on the same issue - the NaTed hotspot also provides
g speeds only, although I'm using a 'n' capable (150mbs) dongle.
In this case it could be a matter of the hostapd configuration:
to /etc/hostapd/hostapd.conf
I added:
ieee80211n=1
changed the default "ht_capab" line to:
ht_capab=[HT40+][SHORT-GI-40]
and changed the "TKIP CCMP" line to "CCMP" only
now all connected clients recognize the network as 'n' type, and I see I get reports for 150mbps speeds.
just note I tried a couple of configurations for the "HT" tokens, untill got the one which worked. Those depend specifically on your dongle (mine uses the rt5370 chipset)
dror
EDIT: Another importent issue to note, in case of not getting 'N' speeds.
Apparently hostapd (and generally your home wireless router) is limiting the 2.4ghz channels width to 20mhz instead of a desired 40mhz width (which will allow a full N speeds), in cases where it recognizes possible neighboring channels interference.
To check your channel width use
- Code: Select all
iw dev
From what I understan in order to solve this one can:
1. Select a channel without any interference from nighboring APs.
or
2. use a modified hostapd built.
further reading
https://www.raspberrypi.org/forums/view ... 78#p517178http://blog.anthonywong.net/2015/07/19/ ... i-hostapd/https://www.brunsware.de/blog/gentoo/ho ... check.htmlEDIT 2:Apparently, Arch hostapd distributions are already patched to allow forcing 40mhz channel widths. Lucky us.
so we just need to add
- Code: Select all
noscan=1
to hostapd.conf and
- Code: Select all
iw dev
should show to desired width:
- Code: Select all
type AP
channel 4 (2427 MHz), width: 40 MHz, center1: 2437 MHz
Dror