From owner-freebsd-mobile@FreeBSD.ORG Wed Oct 13 15:51:09 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DFB8016A4CE; Wed, 13 Oct 2004 15:51:09 +0000 (GMT) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id A81B743D39; Wed, 13 Oct 2004 15:51:09 +0000 (GMT) (envelope-from sam@errno.com) Received: from [66.127.85.91] ([66.127.85.91]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.6) with ESMTP id i9DFp9Wi003045 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Oct 2004 08:51:09 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <416D5081.3030305@errno.com> Date: Wed, 13 Oct 2004 08:57:53 -0700 From: Sam Leffler Organization: Errno Consulting User-Agent: Mozilla Thunderbird 0.7.3 (X11/20041009) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Johann Hugo References: <200410131634.37118.jhugo@icomtek.csir.co.za> In-Reply-To: <200410131634.37118.jhugo@icomtek.csir.co.za> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: current@freebsd.org cc: freebsd-mobile@freebsd.org Subject: Re: ath hostap - long delays between wifi clients via ath AP X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Oct 2004 15:51:10 -0000 Johann Hugo wrote: > Hi > > I've been playing with ath hostap mode today when I noticed someting very > strange. Ping delays are very high (100 - 200ms) between two wifi clients > connected to the same ath hostap AP, but if I ping the hostap AP itself, the > delays are fine (1.7ms - 11b mode). > > Here is my setup: > > client 1 ------------ ath hostap AP ------------- client 2 > > I have tried various configs and combinations, all with the same result: > - hostap in 11g mode > - hostap in 11b mode > - ath clients > - wi (lucent) clients > - hostap with 5.3-BETA6 , HAL 0.9.6.3 > - hostap with 5.3-BETA7 , HAL 0.9.6.3 > - hostap with 5.3-BETA4 , HAL 0.9.11.6 , net80211+ath-20040818.patch > - Senao 5354 minipci with atheros 5212 > - Dlink DWL-AG520 with atheros 5212 > - hostap with wi (Intersil - actiontec minipci) - works fine, no problem > > If I add another subnet (alias) to the ath interface and I route between the > clients then it works fine. The problem is only between clients on the same > subnet working through an ath hostap AP. Is bridging done inside the HAL ? > > Are there any one else using an ath hostap AP that can do a ping test between > two clients to see if they get the same results. Packets between wireless clients are bridged entirely in the net80211 layer and should have less overhead than going through the bridge. You are likely seeing tx retransmits related to the incorrect 11g implementation in -current. Try running a 3rd station to sniff the traffic. Sam