[net80211] Print out a bad PN in both hex and decimal.
I've been using this to visually identify when I'm getting corrupted PNs from the hardware. :(
This commit is contained in:
parent
0b5aeb89eb
commit
998bd62c31
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=361812
@ -789,8 +789,11 @@ ieee80211_notify_replay_failure(struct ieee80211vap *vap,
|
||||
struct ifnet *ifp = vap->iv_ifp;
|
||||
|
||||
IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2,
|
||||
"%s replay detected tid %d <rsc %ju, csc %ju, keyix %u rxkeyix %u>",
|
||||
k->wk_cipher->ic_name, tid, (intmax_t) rsc,
|
||||
"%s replay detected tid %d <rsc %ju (%jx), csc %ju (%jx), keyix %u rxkeyix %u>",
|
||||
k->wk_cipher->ic_name, tid,
|
||||
(intmax_t) rsc,
|
||||
(intmax_t) rsc,
|
||||
(intmax_t) k->wk_keyrsc[tid],
|
||||
(intmax_t) k->wk_keyrsc[tid],
|
||||
k->wk_keyix, k->wk_rxkeyix);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user