From owner-freebsd-current@FreeBSD.ORG Sun May 16 23:26:49 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 A341F16A4CE for ; Sun, 16 May 2004 23:26:49 -0700 (PDT) Received: from s1.vhost.cz (s1.vhost.cz [82.208.27.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 448E543D2F for ; Sun, 16 May 2004 23:26:48 -0700 (PDT) (envelope-from konfer@mikulas.com) Received: (qmail 26897 invoked by uid 89); 17 May 2004 08:26:46 +0200 Received: from unknown (HELO localhost) (127.0.0.1) by localhost with SMTP; 17 May 2004 08:26:46 +0200 Received: from QMQPqq client ([127.0.0.1]) by localhost (s1.vhost.cz [127.0.0.1]) (amavisd-new, port 10628) with QMQPqq id 25998-10; Mon, 17 May 2004 08:26:46 +0200 (CEST) Received: from unknown (HELO mikulas.com) (jiri@mikulas.com@195.122.218.78) by s1.vhost.cz with AES256-SHA encrypted SMTP; 17 May 2004 08:26:46 +0200 Message-ID: <40A85B24.1000300@mikulas.com> Date: Mon, 17 May 2004 08:26:44 +0200 From: Jiri Mikulas User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7b) Gecko/20040425 X-Accept-Language: cs, en-us, en MIME-Version: 1.0 To: jamesb@acelere.net References: <20040516210816.M45998@acelere.net> In-Reply-To: <20040516210816.M45998@acelere.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at vhost.cz cc: scottp@tznet.com cc: current@freebsd.org 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: Mon, 17 May 2004 06:26:49 -0000 Thanks! for your time ;) Jiri James Bowman wrote: >I spent a few hours tinkering (tampering?) with this driver, and have not >exactly a fix, but a clear indication of what the problem is. > >Verified (using the quick hack below): download speed geoes up from 170 >kbytes/sec to 470 kbytes/sec, which is what I'd expect on an 11Mbps network. > >If anyone's interested, here it is: > >The Intersil manual on page 4-28 says that transmit packets need to have their >TxRate field filled in with 10,20,55 or 110, depending on the transmission speed. > >The 4.X driver sets the field tx_frame.wi_tx_rate in function >wihap_check_tx(), called from wi_start(). > >The 5.X driver calls this field frmhdr.wi_tx_rate, but leaves it zero. >If you want to run at 11MBps, add a line > frmhdr.wi_tx_rate = 110; >in wi_start(), just before the call to wi_write_bap(). > >(Obviously, this is just a cheesy hack. The real code would have to find the >actual tx rate. I just want to point out where the problem lies). >_______________________________________________ >freebsd-current@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-current >To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > >