From owner-freebsd-stable@FreeBSD.ORG Wed Jul 26 16:13:31 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 8DCEC16A4EA for ; Wed, 26 Jul 2006 16:13:31 +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 344E743D5E for ; Wed, 26 Jul 2006 16:10:19 +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 k6QGA3S5086079 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 26 Jul 2006 09:10:05 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <44C793DB.5090900@errno.com> Date: Wed, 26 Jul 2006 09:10:03 -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> In-Reply-To: <20060726144058.GD3077@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 16:13:31 -0000 Henrik Brix Andersen wrote: > On Thu, Jul 20, 2006 at 04:01:20PM -0700, Sam Leffler wrote: >> The basic problem is your card is losing sync w/ the ap. I don't know >> what the local conditions are but I've seen this a lot w/ iwi; there's >> nothing we can do in the driver if you want to be able to roam. > > Update: this was just fixed in iwi(4) in -CURRENT (by increasing the > beacon miss threshold for the iwi(4) driver from 7 to 10). Should 10 > not be enough, it is now also possible to set the beacon miss > threshold using ifconfig. > > Thanks to Sam for helping and for applying my patches to > -CURRENT. This functionality should be MFC'd in two weeks. Thanks for your help but understand this is not necessarily a solution; just the addition of a knob. 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 :) Sam