summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/if_wi_hostap.h3
-rw-r--r--sys/dev/ic/if_wireg.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/ic/if_wi_hostap.h b/sys/dev/ic/if_wi_hostap.h
index 0136a912dcc..56abaa55cbd 100644
--- a/sys/dev/ic/if_wi_hostap.h
+++ b/sys/dev/ic/if_wi_hostap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wi_hostap.h,v 1.1 2002/03/28 18:21:06 mickey Exp $ */
+/* $OpenBSD: if_wi_hostap.h,v 1.2 2002/03/28 20:49:39 mickey Exp $ */
/*
* Copyright (c) 2002
@@ -51,6 +51,7 @@ struct hostap_sta {
#define HOSTAP_FLAGS_AUTHEN 0x0001
#define HOSTAP_FLAGS_ASSOC 0x0002
#define HOSTAP_FLAGS_PERM 0x0004
+#define HOSTAP_FLAGS_BITS "\20\01ASSOC\02AUTH\03PERM"
#define SIOCHOSTAP_GET _IOWR('i', 210, struct ifreq)
#define SIOCHOSTAP_ADD _IOWR('i', 211, struct ifreq)
diff --git a/sys/dev/ic/if_wireg.h b/sys/dev/ic/if_wireg.h
index de160672076..47de3ff7b05 100644
--- a/sys/dev/ic/if_wireg.h
+++ b/sys/dev/ic/if_wireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wireg.h,v 1.14 2002/03/28 18:21:06 mickey Exp $ */
+/* $OpenBSD: if_wireg.h,v 1.15 2002/03/28 20:49:39 mickey Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -494,6 +494,7 @@ struct wi_ltv_mcast {
#define WI_SUPPRATES_2M 0x0002
#define WI_SUPPRATES_5M 0x0004
#define WI_SUPPRATES_11M 0x0008
+#define WI_RATES_BITS "\20\0011M\0022M\0035.5M\00411M"
/*
* Information frame types.