summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2015-11-25 18:16:42 +0000
committeradrian <adrian@FreeBSD.org>2015-11-25 18:16:42 +0000
commit717f46c529be60ce46128647f293f1ad66010c29 (patch)
tree11b0a2980a368f7a35fe5da2fb28e5a2c34439ce
parent7c8f83122da46269e3432443df3e8a3db49c3c67 (diff)
downloadFreeBSD-src-717f46c529be60ce46128647f293f1ad66010c29.zip
FreeBSD-src-717f46c529be60ce46128647f293f1ad66010c29.tar.gz
[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.
-rw-r--r--sys/net80211/ieee80211_ht.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_ht.c b/sys/net80211/ieee80211_ht.c
index a850a33..e6fe16e 100644
--- a/sys/net80211/ieee80211_ht.c
+++ b/sys/net80211/ieee80211_ht.c
@@ -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;
}
OpenPOWER on IntegriCloud