[net80211] log the A-MPDU setup attempt count as part of debugging.

I've seen some cases where we get stuck in a loop constantly trying to
negotiate A-MPDU TX which is definitely not supposed to happen.
This will let me see if it's something funky with the retry count or
not.
This commit is contained in:
Adrian Chadd 2015-11-25 18:16:42 +00:00
parent b35ff88448
commit 75426752f5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=291303

View File

@ -2174,9 +2174,9 @@ ieee80211_ampdu_enable(struct ieee80211_node *ni,
return 0;
}
IEEE80211_NOTE(vap, IEEE80211_MSG_11N, ni,
"enable AMPDU on tid %d (%s), avgpps %d pkts %d",
"enable AMPDU on tid %d (%s), avgpps %d pkts %d attempt %d",
tap->txa_tid, ieee80211_wme_acnames[TID_TO_WME_AC(tap->txa_tid)],
tap->txa_avgpps, tap->txa_pkts);
tap->txa_avgpps, tap->txa_pkts, tap->txa_attempts);
return 1;
}