From owner-freebsd-current@FreeBSD.ORG Mon May 17 08:45:01 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 8ACF316A4CF; Mon, 17 May 2004 08:45:01 -0700 (PDT) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE7A443D4C; Mon, 17 May 2004 08:45:00 -0700 (PDT) (envelope-from sam@errno.com) Received: from [66.127.85.91] ([66.127.85.91]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.6) with ESMTP id i4HFixWR053747 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Mon, 17 May 2004 08:44:59 -0700 (PDT) (envelope-from sam@errno.com) From: Sam Leffler Organization: Errno Consulting To: freebsd-current@freebsd.org Date: Mon, 17 May 2004 08:42:52 -0700 User-Agent: KMail/1.6.1 References: <20040516210816.M45998@acelere.net> <40A85B24.1000300@mikulas.com> <20040517063129.J10292@mail.tznet.com> In-Reply-To: <20040517063129.J10292@mail.tznet.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200405170842.52770.sam@errno.com> cc: Scott Pilz 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 15:45:01 -0000 On Monday 17 May 2004 04:38 am, Scott Pilz wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > Who normally works on the wi driver? "frmhdr.wi_tx_rate = 110" > works great (thanks James) but I am unable to find the syntax/variable > where the current TX-RATE is stored. A simple if tx-rate=11 { > frmhdr.wi_tx_rate = 110; } would keep auto-fallback working. Currently the > system works great (I seen as far as 600KB/sec last night during testing) > but when the signal drops and the driver tries for 5.5 or 2, packets are > lost. I recall in earlier releases of 5.x there was a 'DataRate' display > on 'wicontrol -l', however in CURRENT this seems to be missing. In the past Warner and I have worked on the driver but neither has time and noone else has stepped up. It sounds like you've locked the xmit rate to a fixed value instead of allowing the firmware to select the "best rate." This sounds as though something else is set wrong to make the best rate operation not work right. FWIW netbsd uses an adaptive rate control algorithm to select the xmit rate. Reports are that this algorithm does a better job than the firmware algorithm for choosing xmit rate when operating in hostap mode. Sam