From owner-freebsd-current@FreeBSD.ORG Fri Sep 30 08:23:24 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1853316A41F for ; Fri, 30 Sep 2005 08:23:24 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from mail.yazzy.org (mail.yazzy.org [217.8.140.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48B0543D49 for ; Fri, 30 Sep 2005 08:23:21 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from 217-13-2-82.dd.nextgentel.com ([217.13.2.82] helo=marcin) by mail.yazzy.org with esmtps (TLSv1:AES256-SHA:256) (YazzY.org) id 1ELGAK-0000RS-Ng; Fri, 30 Sep 2005 10:22:49 +0200 Date: Fri, 30 Sep 2005 10:23:14 +0200 From: Marcin Jessa To: dandee@volny.cz Message-Id: <20050930102314.46be88f5.lists@yazzy.org> In-Reply-To: <20050929232117.B27734E704@pipa.profix.cz> References: <4328961F.3090702@errno.com> <20050929232117.B27734E704@pipa.profix.cz> Organization: YazzY.org X-Mailer: Sylpheed version 2.0.0 (GTK+ 2.6.8; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -2.5 (--) Cc: dandee@hellteam.net, freebsd-current@freebsd.org Subject: Re: To compare hostap-client mode and adhoc's mode on Atheros cards. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Sep 2005 08:23:24 -0000 On Fri, 30 Sep 2005 01:21:09 +0200 Daniel Dvorak wrote: > > Hello all, > > who use wireless stuff of FreeBSD and others. :) > > Have you tested and compared the infrastructure mode and the adhoc > mode anybody ? > > We have 2 servers with 681 m distance. Wireless signal is about avg. > RSSI 20-22 on both site. > > We use on one site hostap and on the second site client, of course. > Rate is a sample rate. > > The maximum bandwidth is about 1,2 MB/s in one direction. Strange, you should get about 2MB/s on such a short distance. > Problem: > > If we switch cards to adhoc mode on both site the speed is 10 times > slower. Nothing else has changed. Do you bridge them with your wired nics or route when in adhoc mode? How do you meassure the traffic? What is the size of the packets you're sending. What is the tcp windows size? What are the values of dev.ath.0.acktimeout ? Is net.inet.tcp.sack.enable set to 1 ? Is there any additional latency, eg. longer ping times on the system? Are you using 11a or g and what channels ? > Has anybody come accross with it in the past or nowadays ? I can remember having any problems running on NetBSD with both atheros nics in adhoc bridged with wired nics. It crashed with small packets but the throughput was "normal" as long as things were working. Cheers, Marcin.