From owner-freebsd-current@FreeBSD.ORG Thu May 6 15:29:46 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B048816A4CE; Thu, 6 May 2004 15:29:46 -0700 (PDT) Received: from smtp.tznet.com (smtp.tznet.com [66.170.64.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id C707E43D5A; Thu, 6 May 2004 15:29:45 -0700 (PDT) (envelope-from scottp@tznet.com) Received: from mail.tznet.com (mail.tznet.com [66.170.64.2]) by smtp.tznet.com (8.12.11/8.12.10) with ESMTP id i46MTC0E005882; Thu, 6 May 2004 17:29:16 -0500 (CDT) Date: Thu, 6 May 2004 17:29:10 -0500 (CDT) From: Scott Pilz To: Brian Fundakowski Feldman In-Reply-To: <200404291523.i3TFNWpm047360@green.homeunix.org> Message-ID: <20040506172221.R67998@mail.tznet.com> References: <200404291523.i3TFNWpm047360@green.homeunix.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-T-Net-Virus-Scan: 66.170.64.6: Clean X-Mailman-Approved-At: Fri, 07 May 2004 10:56:57 -0700 cc: current@freebsd.org cc: Jiri Mikulas Subject: Re: hostap TX fix in 5.x [Fwd: Re: wi hostap speed] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 May 2004 22:29:46 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Well ... apparently I should have suspected people to CC me directly as I'm not on this list, but nonetheless I got some catching up to do now :) (please CC me if you'd like a response within this next week :>) I'm open to suggestions - don't get me wrong, but I'm 99.9% sure that this is a WI driver issue with 5.x and not anything else. Others have reported this same problem over the last 6 months and I have seen absolutely no solutions their questions. Of course, it is very easy to say that it could be a MTU setting or interference, but I have personally tested over two dozen Prism 2.5 based cards using a variety of configurations, changes in settings, you name it - I've tried it (including trying to set the MTU lower). Something has changed since 4.9 that is causing hostap to run at half pace while uploading to associated stations. I guess what I'd really love to see is someone looking into the if_wi.c code and whatever else could be affecting this.. I'd be so bold as to offer $$ for such a fix (I am that desperate). I have, myself, spent countless hours, heck, weekends at a time, going through the code, removing this, changing that - with no success.. Then again, I do not claim to be a C programmer, much less someone that writes drivers. Just my two cents. My next step is to switch to Linux using the hostapd project, which I really don't want to do :<..Though, it is my understanding that OpenBSD doesn't have this problem - so I may try that if there simply will be no resolution to this matter. Scott On Thu, 29 Apr 2004, Brian Fundakowski Feldman wrote: > There are many possibilities as to why you get certain speeds (or fail to). > There's the interface MTU size, RTS/CTS, WEP, whether your CPU can keep up > with WEP in hostap mode (yes, it does software decryption), whether the card > can keep up with WEP otherwise (yes, it can only do WEP at a slower speed > than it's otherwise capable of), TCP/IP options on the socket/in sysctl/in > the kernel compile, firewall differences, routing differences... > > Please provide much more information. My (slightly older) -CURRENT sees up > to 4mbit/s with (software-WEP) or without WEP with MTU size of 1900. > > -- > Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ > <> green@FreeBSD.org \ The Power to Serve! \ > Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\ > > > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAmrw42REUg6gjWxgRApzEAJ4rOfTaEKhaDX/HTjeE1xB+6X1xEQCgtfQ7 HNw98d5HEOOiuQV+Xd7ALmo= =Uux9 -----END PGP SIGNATURE-----