svn commit: r226885 - head/sys/net80211

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


Author: adrian
Date: Fri Oct 28 15:47:14 2011
New Revision: 226885
URL: http://svn.freebsd.org/changeset/base/226885

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

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