svn commit: r226885 - head/sys/net80211

Adrian Chadd adrian at
Fri Oct 28 15:47:14 UTC 2011

Author: adrian
Date: Fri Oct 28 15:47:14 2011
New Revision: 226885

  Include the tid when printing out crypto replay errors.
  I found this useful when trying to debug the AR9160 STA RX filter issue -
  I'd get crypto reply errors but it wasn't entirely clear which TID it
  was for.


Modified: head/sys/net80211/ieee80211_freebsd.c
--- head/sys/net80211/ieee80211_freebsd.c	Fri Oct 28 15:44:09 2011	(r226884)
+++ head/sys/net80211/ieee80211_freebsd.c	Fri Oct 28 15:47:14 2011	(r226885)
@@ -571,8 +571,8 @@ ieee80211_notify_replay_failure(struct i
 	struct ifnet *ifp = vap->iv_ifp;
 	IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2,
-	    "%s replay detected <rsc %ju, csc %ju, keyix %u rxkeyix %u>",
-	    k->wk_cipher->ic_name, (intmax_t) rsc,
+	    "%s replay detected tid %d <rsc %ju, csc %ju, keyix %u rxkeyix %u>",
+	    tid, k->wk_cipher->ic_name, (intmax_t) rsc,
 	    (intmax_t) k->wk_keyrsc[tid],
 	    k->wk_keyix, k->wk_rxkeyix);

More information about the svn-src-all mailing list