From owner-freebsd-mobile@FreeBSD.ORG Thu Mar 27 15:51:46 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58093106564A for ; Thu, 27 Mar 2008 15:51:46 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id D8E398FC24 for ; Thu, 27 Mar 2008 15:51:45 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id m2RFpgAn068492 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 27 Mar 2008 08:51:44 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <47EBC28E.4040803@freebsd.org> Date: Thu, 27 Mar 2008 08:51:42 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.9 (X11/20071125) MIME-Version: 1.0 To: Sepherosa Ziehau References: <20080326124324.GA1756@rebelion.Sisis.de> <47EA53D5.4070106@student.utwente.nl> <47EA73D9.6050302@freebsd.org> <47EA8949.9070700@student.utwente.nl> <47EA8E43.1080308@freebsd.org> <47EB3669.8090909@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-Misty-Metrics: ebb.errno.com; whitelist Cc: freebsd-mobile@freebsd.org Subject: Re: 7.0-RELEASE && panic after ~4 hours X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2008 15:51:46 -0000 Sepherosa Ziehau wrote: > On Thu, Mar 27, 2008 at 1:53 PM, Sam Leffler wrote: > > I just did a rewrite of wi that takes a different tack that might also >> work for ipw. I set the card in monitor mode and scan using net80211 to >> > > I tried that way, when I wrote the new driver for ipw2100. It does > not work on certain parts though: some parts can't hear packets or > receive junked packets on channels above 11 when in monitor mode, but > these parts work (e.g. scan) just fine in STA mode on channels above > 11. > Linux's intel driver uses different channel mask (different location > in EEPROM) for IBSS and monitor mode, this channel mask contains less > channels than the BSS channel mask. Though IBSS mode just works fine > on all BSS channels listed in BSS channel mask, monitor mode only work > on channels listed in the other channel mask. > > BTW, do you also imply that you inject scan probe packets in monitor mode ;)? > I can for wi; that's why I did the experiment. I haven't tested a wide variety of cards (my Lucent cards are AWOL) but it works so far on various Intersil/Prism cards. On older cards like the MA401 scanning is slower than using firmware as I sometimes don't see traffic on a channel for a scan but since these cards are 11b only it doesn't seem like a big deal (i.e. very few channels to visit). The other thing I did was drop support for Symbol cards as the driver did numerous handstands to accomodate it. The result is that wi is now one of the smallest drivers in lines of code. Sam