svn commit: r223110 - user/adrian/if_ath_tx/sys/dev/ath
Adrian Chadd
adrian at FreeBSD.org
Wed Jun 15 14:44:08 UTC 2011
Author: adrian
Date: Wed Jun 15 14:44:08 2011
New Revision: 223110
URL: http://svn.freebsd.org/changeset/base/223110
Log:
A hacky hack to make the raw xmit path use the software TX queue.
I don't like that the software TX queue bit occurs at each call to
raw_ic_xmit but it's enough to get the ball rolling.
The motivation for this is largely so per-TID action frames (addba/delba)
occur in the correct order.
Modified:
user/adrian/if_ath_tx/sys/dev/ath/if_ath_tx.c
Modified: user/adrian/if_ath_tx/sys/dev/ath/if_ath_tx.c
==============================================================================
--- user/adrian/if_ath_tx/sys/dev/ath/if_ath_tx.c Wed Jun 15 14:07:16 2011 (r223109)
+++ user/adrian/if_ath_tx/sys/dev/ath/if_ath_tx.c Wed Jun 15 14:44:08 2011 (r223110)
@@ -1175,7 +1175,13 @@ ath_tx_raw_start(struct ath_softc *sc, s
/* Fill in the details in the descriptor list */
ath_tx_chaindesclist(sc, sc->sc_ac2q[pri], bf);
- ath_tx_handoff(sc, sc->sc_ac2q[pri], bf);
+
+ /* Queue to software queue */
+ ath_tx_swq(sc, ni, sc->sc_ac2q[pri], bf, m0);
+
+ /* Kick txq */
+ ath_txq_sched(sc);
+
return 0;
}
More information about the svn-src-user
mailing list