diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2007-08-01 12:32:27 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2007-08-01 12:32:27 +0000 |
commit | 5246d9c4ee91b0b7d8ea9117786f6d927f77fd25 (patch) | |
tree | 0469a2f8da1b00b336476c2764ddfafccab1b241 /sys/net80211/ieee80211_node.h | |
parent | 8d11e8f2ae4bd77dcd29ef4f99061c9a7510335a (diff) |
PMKID KDE is optionnal in message 1 of the 4-way handshake (at least
when using WPA-PSK).
add a ni_replaycnt_ok flag to struct ieee80211_node to mark the replay
counter as valid. the replay counter is marked valid only when message
3 of the 4-way handshake is received since message 1 contains no MIC.
Diffstat (limited to 'sys/net80211/ieee80211_node.h')
-rw-r--r-- | sys/net80211/ieee80211_node.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_node.h b/sys/net80211/ieee80211_node.h index 3b6e5f8c109..11db49d4c2a 100644 --- a/sys/net80211/ieee80211_node.h +++ b/sys/net80211/ieee80211_node.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211_node.h,v 1.18 2007/07/28 11:09:03 damien Exp $ */ +/* $OpenBSD: ieee80211_node.h,v 1.19 2007/08/01 12:32:26 damien Exp $ */ /* $NetBSD: ieee80211_node.h,v 1.9 2004/04/30 22:57:32 dyoung Exp $ */ /*- @@ -122,6 +122,7 @@ struct ieee80211_node { int ni_port_valid; u_int8_t ni_nonce[EAPOL_KEY_NONCE_LEN]; u_int64_t ni_replaycnt; + u_int8_t ni_replaycnt_ok; u_int8_t *ni_rsnie; struct ieee80211_ptk ni_ptk; u_int8_t ni_ptk_ok; |