diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2007-07-02 19:36:48 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2007-07-02 19:36:48 +0000 |
commit | 312d8a064ec3e3eaf283e809890e9d8dc5a077dc (patch) | |
tree | e7673d1bcecb0aa383ce46a9a18a72fc4a4cbb50 | |
parent | 354688deece7f2d691ca319101d4160beaeea59e (diff) |
fix REASON codes.
-rw-r--r-- | sys/net80211/ieee80211.h | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/sys/net80211/ieee80211.h b/sys/net80211/ieee80211.h index 6e9c7f78219..137485d4ffc 100644 --- a/sys/net80211/ieee80211.h +++ b/sys/net80211/ieee80211.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211.h,v 1.22 2007/07/02 18:16:35 damien Exp $ */ +/* $OpenBSD: ieee80211.h,v 1.23 2007/07/02 19:36:47 damien Exp $ */ /* $NetBSD: ieee80211.h,v 1.6 2004/04/30 23:51:53 dyoung Exp $ */ /*- @@ -457,10 +457,7 @@ enum { /* * Reason codes (see Table 22). - * - * Unlisted codes are reserved */ - enum { IEEE80211_REASON_UNSPECIFIED = 1, IEEE80211_REASON_AUTH_EXPIRE = 2, @@ -472,11 +469,22 @@ enum { IEEE80211_REASON_ASSOC_LEAVE = 8, IEEE80211_REASON_ASSOC_NOT_AUTHED = 9, - IEEE80211_REASON_RSN_REQUIRED = 11, - IEEE80211_REASON_RSN_INCONSISTENT = 12, IEEE80211_REASON_IE_INVALID = 13, IEEE80211_REASON_MIC_FAILURE = 14, + IEEE80211_REASON_BAD_GROUP_CIPHER = 18, + IEEE80211_REASON_BAD_PAIRWISE_CIPHER = 19, + IEEE80211_REASON_BAD_AKMP = 20, + IEEE80211_REASON_RSN_IE_VER_UNSUP = 21, + IEEE80211_REASON_RSN_IE_BAD_CAP = 22, + + IEEE80211_REASON_CIPHER_REJ = 24 +}; + +/* + * Status codes (see Table 23). + */ +enum { IEEE80211_STATUS_SUCCESS = 0, IEEE80211_STATUS_UNSPECIFIED = 1, IEEE80211_STATUS_CAPINFO = 10, |