performance in adhoc mode
Johann Hugo
jhugo at meraka.csir.co.za
Tue Feb 28 14:39:10 UTC 2012
Hi
I get lower throuputs in adhoc mode, compared to AP/client mode for
the same two devices. Is there anything special that I need to configure in
adhoc mode to get the same throughput.
AP -> client iperf 27.2 MBytes 28.8 Mbits/sec
adhoc -> adhoc iperf 12.1 MBytes 21.3 Mbits/sec
The two devices are directly next to each other in the LAB
HW platform = Gateworks Avila GW2348-4
Wifi adapters = Compex WLM54AGP23
Atheros driver from +- 10 Jan 2012
OS = FreeBSD 9.0-STABLE
------------------------------------------------------------------------------------------
Adhoc mode:
------------------------------------------------------------------------------------------
Device A - rc.conf:
hostname="mesh-2893"
wlans_ath0="wlan0"
create_args_wlan0="wlanmode adhoc country ZA"
ifconfig_wlan0="192.168.1.1/24 mode 11a ssid mesh channel 136 bssid
00:80:48:4f:28:90"
Device B - rc.conf:
hostname="mesh-2870"
wlans_ath0="wlan0"
create_args_wlan0="wlanmode adhoc country ZA"
ifconfig_wlan0="192.168.1.2/24 mode 11a ssid mesh channel 136 bssid
00:80:48:4f:28:90"
mesh-2893:~ # iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 64.0 KByte (default)
------------------------------------------------------------
[ 4] local 192.168.1.1 port 5001 connected with 192.168.1.2 port 40262
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-10.2 sec 26.0 MBytes 21.3 Mbits/sec
mesh-2870:~ # iperf -c 192.168.1.1
------------------------------------------------------------
Client connecting to 192.168.1.1, TCP port 5001
TCP window size: 32.5 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.1.2 port 40262 connected with 192.168.1.1 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 26.0 MBytes 21.7 Mbits/sec
-------------------------------------------------------------------------------------------
AP/client mode:
-------------------------------------------------------------------------------------------
Device A - rc.conf:
hostname="mesh-2893"
wlans_ath0="wlan0"
create_args_wlan0="wlanmode hostap country ZA"
ifconfig_wlan0="192.168.1.1/24 mode 11a ssid testAP channel 136"
Device B - rc.conf:
hostname="mesh-2870"
wlans_ath0="wlan0"
create_args_wlan0="wlanmode sta country ZA"
ifconfig_wlan0="192.168.1.2/24 mode 11a ssid testAP"
mesh-2893:~ # iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 64.0 KByte (default)
------------------------------------------------------------
[ 4] local 192.168.1.1 port 5001 connected with 192.168.1.2 port 45379
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-10.1 sec 34.8 MBytes 28.8 Mbits/sec
mesh-2870:~ # iperf -c 192.168.1.1
------------------------------------------------------------
Client connecting to 192.168.1.1, TCP port 5001
TCP window size: 32.5 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.1.2 port 45379 connected with 192.168.1.1 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.1 sec 34.8 MBytes 29.0 Mbits/sec
Regards
Johann
More information about the freebsd-wireless
mailing list