From owner-svn-src-user@FreeBSD.ORG Sun Sep 11 16:20:59 2011 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7D781065673; Sun, 11 Sep 2011 16:20:59 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A7DBC8FC14; Sun, 11 Sep 2011 16:20:59 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p8BGKxsM085675; Sun, 11 Sep 2011 16:20:59 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p8BGKxv0085673; Sun, 11 Sep 2011 16:20:59 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201109111620.p8BGKxv0085673@svn.freebsd.org> From: Adrian Chadd Date: Sun, 11 Sep 2011 16:20:59 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r225477 - user/adrian/if_ath_tx/sys/dev/ath X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2011 16:20:59 -0000 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);