svn commit: r209169 - head/sys/dev/iwn
Bernhard Schmidt
bschmidt at FreeBSD.org
Mon Jun 14 18:26:10 UTC 2010
Author: bschmidt
Date: Mon Jun 14 18:26:10 2010
New Revision: 209169
URL: http://svn.freebsd.org/changeset/base/209169
Log:
Fix TX retry rate handling. tx->linkq is an index to a rate table
beginning with the highest available rate. Currently we always use
54m for the first retry no matter what AMRR has choosen. Fix this
by setting the index to the next lower rate.
Approved by: rpaulo (mentor)
Tested by: Brandon Gooch <jamesbrandongooch at gmail.com>
MFC after: 2 weeks
Modified:
head/sys/dev/iwn/if_iwn.c
Modified: head/sys/dev/iwn/if_iwn.c
==============================================================================
--- head/sys/dev/iwn/if_iwn.c Mon Jun 14 17:31:46 2010 (r209168)
+++ head/sys/dev/iwn/if_iwn.c Mon Jun 14 18:26:10 2010 (r209169)
@@ -3007,7 +3007,7 @@ iwn_tx_data(struct iwn_softc *sc, struct
txant = IWN_LSB(sc->txchainmask);
tx->rflags |= IWN_RFLAG_ANT(txant);
} else {
- tx->linkq = 0;
+ tx->linkq = IWN_RIDX_OFDM54 - ridx;
flags |= IWN_TX_LINKQ; /* enable MRR */
}
More information about the svn-src-all
mailing list