svn commit: r225477 - user/adrian/if_ath_tx/sys/dev/ath
Adrian Chadd
adrian at FreeBSD.org
Sun Sep 11 16:20:59 UTC 2011
Author: adrian
Date: Sun Sep 11 16:20:59 2011
New Revision: 225477
URL: http://svn.freebsd.org/changeset/base/225477
Log:
Non-TDMA data TXQ's also require HAL_TXQ_TXEOLINT_ENABLE.
The interrupt mitigation method for non-aggregate frames
(and, until an upcoming commit, aggregate frames too) requires
the TXEOL interrupt to be fired when a TX queue reaches the
end of list.
Modified:
user/adrian/if_ath_tx/sys/dev/ath/if_ath.c
Modified: user/adrian/if_ath_tx/sys/dev/ath/if_ath.c
==============================================================================
--- user/adrian/if_ath_tx/sys/dev/ath/if_ath.c Sun Sep 11 16:18:10 2011 (r225476)
+++ user/adrian/if_ath_tx/sys/dev/ath/if_ath.c Sun Sep 11 16:20:59 2011 (r225477)
@@ -4108,10 +4108,15 @@ ath_txq_update(struct ath_softc *sc, int
qi.tqi_burstTime = qi.tqi_readyTime;
} else {
#endif
+ /*
+ * XXX shouldn't this just use the default flags
+ * used in the previous queue setup?
+ */
qi.tqi_qflags = HAL_TXQ_TXOKINT_ENABLE
| HAL_TXQ_TXERRINT_ENABLE
| HAL_TXQ_TXDESCINT_ENABLE
| HAL_TXQ_TXURNINT_ENABLE
+ | HAL_TXQ_TXEOLINT_ENABLE
;
qi.tqi_aifs = wmep->wmep_aifsn;
qi.tqi_cwmin = ATH_EXPONENT_TO_VALUE(wmep->wmep_logcwmin);
More information about the svn-src-user
mailing list