hostap TX fix in 5.x

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



	Brian, I gave this a shot. Previously I had frmhdr.wi_tx_rate =
110, which gave me 11mbit/full speed but fall back refused to function.
With the below settings I was only able to get around 100KB/sec. Any
ideas? I feel as if we are close but missing something.. frmhdr.wi_tx_rate
must be set to either 10, 20, 55, or 110 apparently ... I know that 110
works if you hardcode it in there.. ?


	Scott

- ----
In that case, I'd try adding this line where the frmhdr is being set up:
frmhdr.wi_tx_rate = ni->ni_rates.rs_rates[ni->ni_txrate] * 5;
I haven't tested it other than it compiles, but if it seems to work for you
I'll of course verify that I can/cannot get those speeds with/without this
change, using hostap.

- -- 
Brian Fundakowski Feldman                           \'[ FreeBSD
]''''''''''\
  <> green at FreeBSD.org                               \  The Power to
Serve! \
 Opinions expressed are my own.
\,,,,,,,,,,,,,,,,,,,,,,\




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAqUs62REUg6gjWxgRAmFWAJsFcHrDyYFpQR5+Fyq/bWAYWaNTtwCeKfyo
kagWDuqCmkJ22xmxerNMz0A=
=6O1u
-----END PGP SIGNATURE-----
Received on Mon May 17 2004 - 14:31:24 UTC

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