Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net add more capability information and status from IEEE...



details:   https://anonhg.NetBSD.org/src/rev/398d550bc1db
branches:  trunk
changeset: 511710:398d550bc1db
user:      onoe <onoe%NetBSD.org@localhost>
date:      Mon Jun 25 12:02:53 2001 +0000

description:
add more capability information and status from IEEE802.11b

diffstat:

 sys/net/if_ieee80211.h |  21 +++++++++++++++------
 1 files changed, 15 insertions(+), 6 deletions(-)

diffs (49 lines):

diff -r dcc19d4ff496 -r 398d550bc1db sys/net/if_ieee80211.h
--- a/sys/net/if_ieee80211.h    Mon Jun 25 11:38:28 2001 +0000
+++ b/sys/net/if_ieee80211.h    Mon Jun 25 12:02:53 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ieee80211.h,v 1.8 2001/06/21 12:29:39 onoe Exp $    */
+/*     $NetBSD: if_ieee80211.h,v 1.9 2001/06/25 12:02:53 onoe Exp $    */
 
 
 #ifndef _NET_IF_IEEE80211_H_
@@ -89,11 +89,14 @@
 #define        IEEE80211_AUTH_ALG_OPEN                 0x0000
 #define        IEEE80211_AUTH_ALG_SHARED               0x0001
 
-#define        IEEE80211_CAPINFO_ESS                   0x01
-#define        IEEE80211_CAPINFO_IBSS                  0x02
-#define        IEEE80211_CAPINFO_CF_POLLABLE           0x04
-#define        IEEE80211_CAPINFO_CF_POLLREQ            0x08
-#define        IEEE80211_CAPINFO_PRIVACY               0x10
+#define        IEEE80211_CAPINFO_ESS                   0x0001
+#define        IEEE80211_CAPINFO_IBSS                  0x0002
+#define        IEEE80211_CAPINFO_CF_POLLABLE           0x0004
+#define        IEEE80211_CAPINFO_CF_POLLREQ            0x0008
+#define        IEEE80211_CAPINFO_PRIVACY               0x0010
+#define        IEEE80211_CAPINFO_SHORT_PREAMBLE        0x0020
+#define        IEEE80211_CAPINFO_PBCC                  0x0040
+#define        IEEE80211_CAPINFO_CHNL_AGILITY          0x0080
 
 #define        IEEE80211_REASON_UNSPECIFIED            1
 #define        IEEE80211_REASON_AUTH_EXPIRE            2
@@ -105,6 +108,7 @@
 #define        IEEE80211_REASON_ASSOC_LEAVE            8
 #define        IEEE80211_REASON_ASSOC_NOT_AUTHED       9
 
+#define        IEEE80211_STATUS_SUCCESS                0
 #define        IEEE80211_STATUS_UNSPECIFIED            1
 #define        IEEE80211_STATUS_CAPINFO                10
 #define        IEEE80211_STATUS_NOT_ASSOCED            11
@@ -113,6 +117,11 @@
 #define        IEEE80211_STATUS_SEQUENCE               14
 #define        IEEE80211_STATUS_CHALLENGE              15
 #define        IEEE80211_STATUS_TIMEOUT                16
+#define        IEEE80211_STATUS_TOOMANY                17
+#define        IEEE80211_STATUS_BASIC_RATE             18
+#define        IEEE80211_STATUS_SP_REQUIRED            19
+#define        IEEE80211_STATUS_PBCC_REQUIRED          20
+#define        IEEE80211_STATUS_CA_REQUIRED            21
 
 #define        IEEE80211_WEP_KEYLEN                    5       /* 40bit */
 #define        IEEE80211_WEP_IVLEN                     3       /* 24bit */



Home | Main Index | Thread Index | Old Index