Date: Thu, 27 Mar 2008 08:51:42 -0700 From: Sam Leffler <sam@freebsd.org> To: Sepherosa Ziehau <sepherosa@gmail.com> Cc: freebsd-mobile@freebsd.org Subject: Re: 7.0-RELEASE && panic after ~4 hours Message-ID: <47EBC28E.4040803@freebsd.org> In-Reply-To: <ea7b9c170803262332p5fb6602dga5fcc92366bee746@mail.gmail.com> References: <20080326124324.GA1756@rebelion.Sisis.de> <47EA53D5.4070106@student.utwente.nl> <47EA73D9.6050302@freebsd.org> <47EA8949.9070700@student.utwente.nl> <47EA8E43.1080308@freebsd.org> <ea7b9c170803262236r4fd8b078ye5d398431b3be0e9@mail.gmail.com> <47EB3669.8090909@freebsd.org> <ea7b9c170803262332p5fb6602dga5fcc92366bee746@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Sepherosa Ziehau wrote: > On Thu, Mar 27, 2008 at 1:53 PM, Sam Leffler <sam@freebsd.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47EBC28E.4040803>