Date: Tue, 14 Dec 2004 23:22:25 GMT From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 67096 for review Message-ID: <200412142322.iBENMPVG082589@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=67096 Change 67096 by sam@sam_ebb on 2004/12/14 23:21:44 add debug msgs for set+del crypto keys Affected files ... .. //depot/projects/wifi/sys/net80211/ieee80211_crypto.c#8 edit Differences ... ==== //depot/projects/wifi/sys/net80211/ieee80211_crypto.c#8 (text+ko) ==== @@ -366,6 +366,12 @@ KASSERT(key->wk_cipher != NULL, ("No cipher!")); + IEEE80211_DPRINTF(ic, IEEE80211_MSG_CRYPTO, + "%s: %s keyix %u flags 0x%x rsc %ju tsc %ju len %u\n", + __func__, key->wk_cipher->ic_name, + key->wk_keyix, key->wk_flags, + key->wk_keyrsc, key->wk_keytsc, key->wk_keylen); + keyix = key->wk_keyix; if (keyix != IEEE80211_KEYIX_NONE) { /* @@ -436,6 +442,12 @@ KASSERT(cip != NULL, ("No cipher!")); + IEEE80211_DPRINTF(ic, IEEE80211_MSG_CRYPTO, + "%s: %s keyix %u flags 0x%x mac %s rsc %ju tsc %ju len %u\n", + __func__, cip->ic_name, key->wk_keyix, + key->wk_flags, ether_sprintf(macaddr), + key->wk_keyrsc, key->wk_keytsc, key->wk_keylen); + /* * Give cipher a chance to validate key contents. * XXX should happen before modifying state.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412142322.iBENMPVG082589>