From owner-freebsd-stable@FreeBSD.ORG Fri Jul 28 00:32:32 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 1D52716A4DD; Fri, 28 Jul 2006 00:32:32 +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 A3CEC43D73; Fri, 28 Jul 2006 00:32:31 +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 k6S0WSEH095764 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 27 Jul 2006 17:32:30 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <44C95B1C.1080305@errno.com> Date: Thu, 27 Jul 2006 17:32:28 -0700 From: Sam Leffler User-Agent: Thunderbird 1.5.0.4 (X11/20060724) MIME-Version: 1.0 To: Andrew Thompson References: <20060720224632.GB31459@osgiliath.brixandersen.dk> <44C00B40.2010901@errno.com> <20060726144058.GD3077@osgiliath.opasia.dk> <44C793DB.5090900@errno.com> <20060726163017.GB5856@osgiliath.opasia.dk> <44C7AF68.3090109@errno.com> <20060726181534.GD5856@osgiliath.opasia.dk> <44C7D05C.8000408@errno.com> <20060726215341.GA7763@heff.fud.org.nz> <44C95084.6020209@errno.com> In-Reply-To: <44C95084.6020209@errno.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org 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: Fri, 28 Jul 2006 00:32:32 -0000 Sam Leffler wrote: > Andrew Thompson wrote: >> On Wed, Jul 26, 2006 at 01:28:12PM -0700, Sam Leffler wrote: >>> Henrik Brix Andersen wrote: >>>> Oh? Sounds interesting, where can I find these patches? >>> The work has always been in perforce.freebsd.org; look in the sam_wifi >>> branch. The code will not hit head until folks show up to fix legacy >>> drivers that use net80211. I got stuck holding the bag when I committed >>> the wpa support and it ain't going to happen again. >>> >> Do you have a list of drivers that are stalling this? > > The changes decouple scanning from the net80211 state machine so any > driver that uses ieee80211_new_state is affected: > > tubby% grep -l ieee80211_new_state */*.c > ath/if_ath.c > awi/awi.c > ipw/if_ipw.c > iwi/if_iwi.c > ral/rt2560.c > ral/rt2661.c > usb/if_ural.c > wi/if_wi.c > > I know how to convert ath and ral. iwi and ipw might not be too bad now > that they've been changed to not abuse the state machine so much. awi, > ural, and wi will break. ural might be ok after the new usb stack comes > in but that's not clear. > > So I guess I'd take responsibility for ath and ral and want help with > all other drivers. I forgot the other key item missing from the above list: ndis. It bypasses the net80211 api's lots of places and frobs things directly so converting may be a big job--hard to say until someone tries it. Sam