Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jan 2017 23:35:54 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r312609 - head/sys/dev/ath
Message-ID:  <201701212335.v0LNZsHe095945@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Sat Jan 21 23:35:54 2017
New Revision: 312609
URL: https://svnweb.freebsd.org/changeset/base/312609

Log:
  [ath] improve the debugging when looking into the maximum A-MPDU size being chosen.
  
  This is how I caught the "why are we only sending 8K aggregates?" problem.

Modified:
  head/sys/dev/ath/if_ath_tx_ht.c

Modified: head/sys/dev/ath/if_ath_tx_ht.c
==============================================================================
--- head/sys/dev/ath/if_ath_tx_ht.c	Sat Jan 21 23:07:15 2017	(r312608)
+++ head/sys/dev/ath/if_ath_tx_ht.c	Sat Jan 21 23:35:54 2017	(r312609)
@@ -589,8 +589,14 @@ ath_get_aggr_limit(struct ath_softc *sc,
 		amin = MIN(amin, bf->bf_state.bfs_rc[i].max4msframelen);
 	}
 
-	DPRINTF(sc, ATH_DEBUG_SW_TX_AGGR, "%s: max frame len= %d\n",
-	    __func__, amin);
+	DPRINTF(sc, ATH_DEBUG_SW_TX_AGGR,
+	    "%s: aggr_limit=%d, iv_ampdu_limit=%d, "
+	    "peer maxrxampdu=%d, max frame len=%d\n",
+	    __func__,
+	    sc->sc_aggr_limit,
+	    vap->iv_ampdu_limit,
+	    MS(ni->ni_htparam, IEEE80211_HTCAP_MAXRXAMPDU),
+	    amin);
 
 	return amin;
 #undef	MS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701212335.v0LNZsHe095945>