From owner-freebsd-stable@FreeBSD.ORG Wed Jul 26 18:07:38 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A79F16A4DA for ; Wed, 26 Jul 2006 18:07:38 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2DFD443D53 for ; Wed, 26 Jul 2006 18:07:37 +0000 (GMT) (envelope-from sam@errno.com) Received: from [10.0.0.248] (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id k6QI7aIG086982 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 26 Jul 2006 11:07:37 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <44C7AF68.3090109@errno.com> Date: Wed, 26 Jul 2006 11:07:36 -0700 From: Sam Leffler User-Agent: Thunderbird 1.5.0.4 (X11/20060724) MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <20060720224632.GB31459@osgiliath.brixandersen.dk> <44C00B40.2010901@errno.com> <20060726144058.GD3077@osgiliath.opasia.dk> <44C793DB.5090900@errno.com> <20060726163017.GB5856@osgiliath.opasia.dk> In-Reply-To: <20060726163017.GB5856@osgiliath.opasia.dk> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: "scan stuck" with if_iwi(4) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jul 2006 18:07:38 -0000 Henrik Brix Andersen wrote: > On Wed, Jul 26, 2006 at 09:10:03AM -0700, Sam Leffler wrote: >> Thanks for your help but understand this is not necessarily a solution; >> just the addition of a knob. > > I know. Sure, it was for others. > >> The linux driver already used 7 consecutive beacon misses to trigger >> roaming so I'm not sure why 10 is an improvement but given that >> adding 300ms (typical) lag makes you happy I wasn't going to argue >> :) > > Actually, it seems the linux driver uses a threshold of 8 missed > beacons for roaming and a threshold of 24 for disassociation. Which version are you looking at? The numbers in iwi are from the code in linux-2.6.17; maybe it's been changed again in the code on sourceforge? The one thing the linux driver does differently is scan for a new ap _before_ roaming which the current net80211 code cannot do. Unfortunately the code to do that has been sitting outside the tree for a long time and it's unclear if it'll ever come in... > > But you're correct - this only solves the issue of being disassociated > every 3 minutes; it doesn't solve the problem behind "scan stuck", but > this problem is not present here anymore since the station is not > disassociated all the time. > > I'll try to address the scan stuck problem when I find some more time. Thank you. Sam