From owner-freebsd-current@FreeBSD.ORG Wed Jul 20 14:44:46 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 1A3FD16A420; Wed, 20 Jul 2005 14:44:46 +0000 (GMT) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE68B43D5C; Wed, 20 Jul 2005 14:44:44 +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 j6KEigms030105 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 20 Jul 2005 07:44:44 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <42DE648B.1060402@errno.com> Date: Wed, 20 Jul 2005 07:49:47 -0700 From: Sam Leffler User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050327) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michal Mertl References: <20050719094905.F15510@fledge.watson.org> <1121771151.764.42.camel@genius1.i.cz> <42DDD710.4030503@errno.com> <1121855884.796.8.camel@genius1.i.cz> In-Reply-To: <1121855884.796.8.camel@genius1.i.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Wed, 20 Jul 2005 14:44:46 -0000 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'. The bridging is done in the net80211 layer, not "in the card". I will test, thank you. Sam