From owner-svn-src-user@FreeBSD.ORG Sun Aug 14 12:26:25 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 416AA106564A; Sun, 14 Aug 2011 12:26:25 +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 314168FC12; Sun, 14 Aug 2011 12:26:25 +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 p7ECQP1T064078; Sun, 14 Aug 2011 12:26:25 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p7ECQPMj064076; Sun, 14 Aug 2011 12:26:25 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201108141226.p7ECQPMj064076@svn.freebsd.org> From: Adrian Chadd Date: Sun, 14 Aug 2011 12:26:25 +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: r224863 - 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, 14 Aug 2011 12:26:25 -0000 Author: adrian Date: Sun Aug 14 12:26:24 2011 New Revision: 224863 URL: http://svn.freebsd.org/changeset/base/224863 Log: Write out some notes about BAR response processing and what we're (currently) missing. 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 Aug 14 12:21:08 2011 (r224862) +++ user/adrian/if_ath_tx/sys/dev/ath/if_ath_tx.c Sun Aug 14 12:26:24 2011 (r224863) @@ -2494,6 +2494,13 @@ ath_addba_stop(struct ieee80211_node *ni ATH_TXQ_UNLOCK(txq); } +/* + * Note: net80211 bar_timeout() doesn't call this function on BAR failure; + * it simply tears down the aggregation session. Ew. + * + * It however will call ieee80211_ampdu_stop() which will call + * ic->ic_addba_stop(). + */ void ath_bar_response(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap, int status) @@ -2503,4 +2510,7 @@ ath_bar_response(struct ieee80211_node * device_printf(sc->sc_dev, "%s: called\n", __func__); sc->sc_bar_response(ni, tap, status); + /* Note: This may update the BAW details */ + + /* Unpause the TID */ }