Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jun 2011 14:44:08 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r223110 - user/adrian/if_ath_tx/sys/dev/ath
Message-ID:  <201106151444.p5FEi8j7086132@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106151444.p5FEi8j7086132>