Date: Sun, 11 Sep 2011 16:20:59 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r225477 - user/adrian/if_ath_tx/sys/dev/ath Message-ID: <201109111620.p8BGKxv0085673@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109111620.p8BGKxv0085673>