diff options
author | adrian <adrian@FreeBSD.org> | 2016-05-04 16:42:53 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2016-05-04 16:42:53 +0000 |
commit | 604866ab1831d90852376097e662a5469f57c66c (patch) | |
tree | 4d767ad75024e3c6ce1d2959f0838c1326c62af7 | |
parent | ba335e3838d1bf62c741921f83dc804c87441293 (diff) | |
download | FreeBSD-src-604866ab1831d90852376097e662a5469f57c66c.zip FreeBSD-src-604866ab1831d90852376097e662a5469f57c66c.tar.gz |
[net80211] add extra debugging around negotiated A-MPDU parameters.
-rw-r--r-- | sys/net80211/ieee80211_ht.c | 8 |
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; |