summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2016-05-04 16:42:53 +0000
committeradrian <adrian@FreeBSD.org>2016-05-04 16:42:53 +0000
commit604866ab1831d90852376097e662a5469f57c66c (patch)
tree4d767ad75024e3c6ce1d2959f0838c1326c62af7
parentba335e3838d1bf62c741921f83dc804c87441293 (diff)
downloadFreeBSD-src-604866ab1831d90852376097e662a5469f57c66c.zip
FreeBSD-src-604866ab1831d90852376097e662a5469f57c66c.tar.gz
[net80211] add extra debugging around negotiated A-MPDU parameters.
-rw-r--r--sys/net80211/ieee80211_ht.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_ht.c b/sys/net80211/ieee80211_ht.c
index 9bcd573..0320c2d 100644
--- a/sys/net80211/ieee80211_ht.c
+++ b/sys/net80211/ieee80211_ht.c
@@ -2742,6 +2742,14 @@ ieee80211_add_htcap_body(uint8_t *frm, struct ieee80211_node *ni)
rxmax = MS(ni->ni_htparam, IEEE80211_HTCAP_MAXRXAMPDU);
density = MS(ni->ni_htparam, IEEE80211_HTCAP_MPDUDENSITY);
+ IEEE80211_DPRINTF(vap, IEEE80211_MSG_11N,
+ "%s: advertised rxmax=%d, density=%d, vap rxmax=%d, density=%d\n",
+ __func__,
+ rxmax,
+ density,
+ vap->iv_ampdu_rxmax,
+ vap->iv_ampdu_density);
+
/* Cap at VAP rxmax */
if (rxmax > vap->iv_ampdu_rxmax)
rxmax = vap->iv_ampdu_rxmax;
OpenPOWER on IntegriCloud