diff options
author | sam <sam@FreeBSD.org> | 2004-12-31 21:54:53 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2004-12-31 21:54:53 +0000 |
commit | 7c448457f677fbc644b4e16f7169a190355e6786 (patch) | |
tree | 2238e207520d5c576999811785c400c6c47755dc /sys/net80211/ieee80211_ioctl.h | |
parent | 5a21ccb974a1ac67df79205eb5587b3f1ff050ca (diff) | |
download | FreeBSD-src-7c448457f677fbc644b4e16f7169a190355e6786.zip FreeBSD-src-7c448457f677fbc644b4e16f7169a190355e6786.tar.gz |
Relearn how WPA keying is supposed to work and fix WPA+WME while
we're at it:
o WPA/802.11i has a unicast key and a group key; in station mode
everything is sent with the unicast key--we were consulting the
destination mac address and incorrectly using the group key
o (perpetuate fallback use of the default tx key to maintain
compatibility with the way wpa_supplicant works)
o correct EAPOL encryption logic to check unicast key instead
of assuming other state implies this
o move QoS encapsulation up to before enmic work so TKIP has the
information required to calculate the pseudo-header
o do not do QoS-encapsulation of EAPOL frames as some ap's do the
wrong thing with such frames (may need to revisit this if ap's
start dropping non-QoS frames from stations assoc'd with QoS)
o move ieee80211_mbuf_adjust closer to its caller
Diffstat (limited to 'sys/net80211/ieee80211_ioctl.h')
-rw-r--r-- | sys/net80211/ieee80211_ioctl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_ioctl.h b/sys/net80211/ieee80211_ioctl.h index 3c63e13..f274c83 100644 --- a/sys/net80211/ieee80211_ioctl.h +++ b/sys/net80211/ieee80211_ioctl.h @@ -167,6 +167,7 @@ struct ieee80211_stats { u_int32_t is_crypto_attachfail; /* cipher attach failed */ u_int32_t is_crypto_swfallback; /* cipher fallback to s/w */ u_int32_t is_crypto_keyfail; /* driver key alloc failed */ + u_int32_t is_crypto_enmicfail; /* en-MIC failed */ u_int32_t is_ibss_capmismatch; /* merge failed-cap mismatch */ u_int32_t is_ibss_norate; /* merge failed-rate mismatch */ u_int32_t is_ps_unassoc; /* ps-poll for unassoc. sta */ |