From owner-svn-src-user@FreeBSD.ORG Sun Sep 25 07:43:07 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 D1CCB106564A; Sun, 25 Sep 2011 07:43:07 +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 C272C8FC13; Sun, 25 Sep 2011 07:43:07 +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 p8P7h77c015125; Sun, 25 Sep 2011 07:43:07 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p8P7h7w5015123; Sun, 25 Sep 2011 07:43:07 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201109250743.p8P7h7w5015123@svn.freebsd.org> From: Adrian Chadd Date: Sun, 25 Sep 2011 07:43:07 +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: r225751 - 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, 25 Sep 2011 07:43:07 -0000 Author: adrian Date: Sun Sep 25 07:43:07 2011 New Revision: 225751 URL: http://svn.freebsd.org/changeset/base/225751 Log: First cut at the AR5416 blockack/aggregation bug. It doesn't do the reset; it just prints out a debug message. 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 Sun Sep 25 07:39:19 2011 (r225750) +++ user/adrian/if_ath_tx/sys/dev/ath/if_ath_tx.c Sun Sep 25 07:43:07 2011 (r225751) @@ -3035,7 +3035,12 @@ ath_tx_aggr_comp_aggr(struct ath_softc * } /* AR5416 BA bug; this requires an interface reset */ - /* XXX TODO */ + if (isaggr && tx_ok && (! hasba)) { + device_printf(sc->sc_dev, + "%s: AR5416 bug: hasba=%d; txok=%d, isaggr=%d, seq_st=%d\n", + __func__, hasba, tx_ok, isaggr, seq_st); + /* XXX TODO: schedule an interface reset */ + } /* * Walk the list of frames, figure out which ones were correctly