Hello,
I've set up a small wifi AP using alix 3d2 computer board and Mikrotik
R52nM mini PCI wireless adapter. Works great except for wireless
throughput. It's running 5.6 stable, usual AP setup (wifi adapter in
hostap mode, dhcpd, nat in pf). No sysctls or anything not mentioned in
FAQ was modified.
Adapter is:
athn0 at pci0 dev 12 function 0 "Atheros AR9280" rev 0x01: irq 9
athn0: AR9280 rev 2 (2T2R), ROM rev 21, address 4c:5e:0c:11:c3:5f
AP configuration:
# ifconfig athn0
athn0: flags=28843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,NOINET6> mtu
1500
lladdr 4c:5e:0c:11:c3:5f
priority: 4
groups: wlan
media: IEEE802.11 autoselect mode 11g hostap
status: active
ieee80211: nwid kusniarovci chan 11 bssid 4c:5e:0c:11:c3:5f
wpakey XXXXXXXXXXX wpaprotos wpa1,wpa2 wpaakms psk wpaciphers tkip,ccmp
wpagroupcipher tkip
inet 192.168.188.1 netmask 0xffffff00 broadcast 192.168.188.255
# cat /etc/hostname.athn0
up media autoselect mediaopt hostap mode 11g chan 11 nwid kusniarovci \
wpakey XXXXXXXX
inet 192.168.188.1 255.255.255.0
Even though it's running 54Mbit 802.11g, I can't get over ~15Mbit/s. I'm
testing from Linux laptop with intel centrino wireless adapter (11abgn).
Tests are performeg using iperf:
linux_client$ iperf -c 192.168.188.1 -i 1 -t 60
ap# iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 4] local 192.168.188.1 port 5001 connected with 192.168.188.32 port
48367
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-60.2 sec 111 MBytes 15.5 Mbits/sec
pf disabled during tests. Are there any pointers to tune wireless
subsystem to better performance? Did I reach hardware limits? Is it
athn driver issue? During network load there seems to be a lot of
interrupts on athn reported by systat vmstat. There is also 100Mbit
ehternet adapter on alix board (vr0). It perfrorms really well
(~95Mbit/s according to iperf).
Thanks for any pointers