performance in adhoc mode
Adrian Chadd
adrian at freebsd.org
Tue Feb 28 15:50:41 UTC 2012
I've not looked into adhoc _at all_.
I'd start by looking at the behaviour of the rate control code - do
'sysctl dev.ath.X sample_stats=1' after you've done some traffic and
check dmesg.
Just ensure that the same rates are being used and the error rate is low.
Adrian
On 28 February 2012 06:39, Johann Hugo <jhugo at meraka.csir.co.za> wrote:
> 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
> _______________________________________________
> freebsd-wireless at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe at freebsd.org"
More information about the freebsd-wireless
mailing list