[net80211] add extra debugging around negotiated A-MPDU parameters.

This commit is contained in:
Adrian Chadd 2016-05-04 16:42:53 +00:00
parent e94f204a32
commit ced0a8950a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=299074

View File

@ -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;