Author: adrian
Date: Wed Nov 25 18:16:42 2015
New Revision: 291303
URL: https://svnweb.freebsd.org/changeset/base/291303

Log:
  [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.

Modified:
  head/sys/net80211/ieee80211_ht.c

Modified: head/sys/net80211/ieee80211_ht.c
==============================================================================
--- head/sys/net80211/ieee80211_ht.c    Wed Nov 25 14:51:44 2015        
(r291302)
+++ head/sys/net80211/ieee80211_ht.c    Wed Nov 25 18:16:42 2015        
(r291303)
@@ -2174,9 +2174,9 @@ ieee80211_ampdu_enable(struct ieee80211_
                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;
 }
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to