diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/if_wi_hostap.h | 3 | ||||
-rw-r--r-- | sys/dev/ic/if_wireg.h | 3 | ||||
-rw-r--r-- | sys/net/if_ieee80211.h | 3 |
3 files changed, 6 insertions, 3 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. diff --git a/sys/net/if_ieee80211.h b/sys/net/if_ieee80211.h index b9a70bd15b8..2271acc0572 100644 --- a/sys/net/if_ieee80211.h +++ b/sys/net/if_ieee80211.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ieee80211.h,v 1.6 2002/03/28 18:23:07 mickey Exp $ */ +/* $OpenBSD: if_ieee80211.h,v 1.7 2002/03/28 20:49:39 mickey Exp $ */ /* $NetBSD: if_ieee80211.h,v 1.6 2000/12/12 04:03:38 thorpej Exp $ */ @@ -102,6 +102,7 @@ typedef u_int8_t *ieee80211_mgt_beacon_t; #define IEEE80211_CAPINFO_CF_POLLABLE 0x04 #define IEEE80211_CAPINFO_CF_POLLREQ 0x08 #define IEEE80211_CAPINFO_PRIVACY 0x10 +#define IEEE80211_CAPINFO_BITS "\20\01ESS\02IBSS\03POLLABLE\04POLLREQ\5PRIVACY" /* |