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
This commit is contained in:
parent
3141712daa
commit
98f4f952f3
@ -3007,7 +3007,7 @@ iwn_tx_data(struct iwn_softc *sc, struct mbuf *m, struct ieee80211_node *ni,
|
||||
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 */
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user