From owner-freebsd-current@FreeBSD.ORG Fri Jul 22 10:35:03 2005 Return-Path: X-Original-To: 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 46D3A16A423; Fri, 22 Jul 2005 10:35:03 +0000 (GMT) (envelope-from mime@traveller.cz) Received: from ss.eunet.cz (ss.eunet.cz [193.85.228.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94FDC43D45; Fri, 22 Jul 2005 10:35:02 +0000 (GMT) (envelope-from mime@traveller.cz) Received: from localhost.i.cz (ss.eunet.cz [193.85.228.13]) by ss.eunet.cz (8.13.1/8.13.1) with ESMTP id j6MAYoV5058562; Fri, 22 Jul 2005 12:34:50 +0200 (CEST) (envelope-from mime@traveller.cz) From: Michal Mertl To: Sam Leffler In-Reply-To: <42E07DE8.9000804@errno.com> References: <20050719094905.F15510@fledge.watson.org> <1121771151.764.42.camel@genius1.i.cz> <42DDD710.4030503@errno.com> <1121855884.796.8.camel@genius1.i.cz> <42E07DE8.9000804@errno.com> Content-Type: text/plain; charset=ISO-8859-2 Date: Fri, 22 Jul 2005 12:34:48 +0200 Message-Id: <1122028488.1260.0.camel@genius1.i.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: Robert Watson , current@freebsd.org Subject: Re: Recent fragility with if_wi, 802.11 adhoc/wep, and Tiger 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, 22 Jul 2005 10:35:03 -0000 Sam Leffler píše v čt 21. 07. 2005 v 22:02 -0700: > Michal Mertl wrote: > > Sam Leffler wrote: > > > >>Michal Mertl wrote: > >> > >>>Robert Watson wrote: > >>> > >>> > >>>>I fairly regularly use 802.11 adhoc with WEP to communicate between my > >>>>6.x/7.x FreeBSD notebook using if_wi, and my Apple PowerBook running Mac > >>>>OS X Tiger. A few days ago, when I updated from a June to a July HEAD > >>>>revision, this became quite "fragile". Specifically, I often find that > >>>>the Mac can't send to the FreeBSD box (ARP fails, etc), and that sometimes > >>>>it will give an error when I ask it to re-connect to the ad hoc network. > >>>>I find that if I ifconfig down/up if_wi, and likewise turn off and on the > >>>>wireless on the PowerBook, it seems to recover. I've not had a chance to > >>>>really try and diagnose this at all -- i.e., does tcpdump show packets on > >>>>either end, 802.11 state machine, etc. I was wondering if anyone else has > >>>>seen this problem, though. > >>> > >>> > >>>Yes, I'm also experiencing similar problems. The problems seem to happen > >>>also with different wireless cards and without wep. They were reported > >>>by Johann Hugo on 14th in an email titled "ath hostap - clients > >>>assosiated, but no comms" too. > >>> > >>>Another problem with WiFi which Johann reported long time ago is that > >>>bridging on atheros (only?) AP works really bad. I get very varying ping > >>>response (50 - inf. ms). Sometimes it seems the packets get queued > >>>somewhere - after some time I receive several replies at once. > >> > >>I routinely bridge ath cards (a wide variety) with bge using bridge and > >>see no problems. I get ~36 Mb/s in 11a w/ superg features and ~28 Mb/s > >>w/ basic stuff (what you find in RELENG_6). ping times are what you'd > >>expect (<1ms). > > > > > > I'm sorry, I was too brief in the description of the problem. It's the > > bridging on the card which works slow. > > > > I run an ath card in hostap mode and several wireless clients connect to > > it and are on the same IP network. The ping from one client to another > > is slow yet both ping the AP fine. I think that in this situation the > > bridging is done by ath (in HAL?) and configured by 'ifconfig apbridge'. > > Should be fixed by ieee80211_input.c rev 1.63. > > Sam Yes, the (ap)bridging works now. Thank you so much. Michal