diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2007-08-03 16:51:07 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2007-08-03 16:51:07 +0000 |
commit | 69e7d352546777fc42fce40fff48d89cf7e80e15 (patch) | |
tree | 1a06eb2572cf6c80f0b70c6551616bbd4f783731 /sys/net80211/ieee80211_proto.h | |
parent | 417f2dcb45a6c362809659e8a00256ea2751eaae (diff) |
add a ni_eapol_desc field to struct ieee80211_node to know whether
a station is using WPA1 or RSN descriptors.
make sure that a station that advertises WPA1 capability in an IE
uses the WPA1 EAPOL-Key descriptor type and not the RSN one.
fix construction of EAPOL-Key frames for WPA1.
i can now successfuly complete a 4-way and group-key handshake
with both a WPA1 and a WPA2 access point.
add some TKIP encapsulation code (no SW crypto yet).
ok deraadt@
Diffstat (limited to 'sys/net80211/ieee80211_proto.h')
-rw-r--r-- | sys/net80211/ieee80211_proto.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net80211/ieee80211_proto.h b/sys/net80211/ieee80211_proto.h index e71667be7ef..a778c85a553 100644 --- a/sys/net80211/ieee80211_proto.h +++ b/sys/net80211/ieee80211_proto.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211_proto.h,v 1.25 2007/08/01 12:47:55 damien Exp $ */ +/* $OpenBSD: ieee80211_proto.h,v 1.26 2007/08/03 16:51:06 damien Exp $ */ /* $NetBSD: ieee80211_proto.h,v 1.3 2003/10/13 04:23:56 dyoung Exp $ */ /*- @@ -86,9 +86,9 @@ extern int ieee80211_send_4way_msg4(struct ieee80211com *, extern int ieee80211_send_group_msg1(struct ieee80211com *, struct ieee80211_node *); extern int ieee80211_send_group_msg2(struct ieee80211com *, - struct ieee80211_node *); + struct ieee80211_node *, const struct ieee80211_key *); extern int ieee80211_send_eapol_key_req(struct ieee80211com *, - struct ieee80211_node *, int); + struct ieee80211_node *, u_int16_t, u_int64_t); extern void ieee80211_pwrsave(struct ieee80211com *, struct ieee80211_node *, struct mbuf *); extern struct mbuf *ieee80211_decap(struct ifnet *, struct mbuf *, int); |