Re: hostap TX fix in 5.x [Fwd: Re: wi hostap speed]

From: Scott Pilz <scottp_at_tznet.com>
Date: Mon, 17 May 2004 11:20:02 -0500 (CDT)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


	Well, I'm certainly not looking for anything pretty.

	Should it not be possible to determine what the TX rate would be
for the associated station and simply set frmhdr.wi_tx_rate to 110 if the
TX rate is 11mbit, otherwise lay off and don't touch it? This wouldn't be
a "perfect fix" by any-means but again, I'm not looking for anything
pretty, just something to get associated stations up to 11mbit when they
can support it.

	It is my understanding that frmhdr.wi_tx_rate, though specified,
is not changed in the driver, thus defaults to 0 which would be 2mbit TX
(and that is exactly what we are seeing).

	Scott

On Mon, 17 May 2004, Sam Leffler wrote:

> 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
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAqOYz2REUg6gjWxgRAr4lAKCVpkz8DbbvjlVOaeBP6C1IzrfEJQCgzXxy
0k1CJjGzc0wiJI84LKNvNE0=
=OnZl
-----END PGP SIGNATURE-----
Received on Mon May 17 2004 - 07:20:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:54 UTC