From 586fdde4bc72df22e86f2b028f92b385e7500573 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Mon, 24 Jun 2002 04:42:46 +0000 Subject: [PATCH] Add kernel printf bits for WI_SUPPRATES and HOSTAP_FLAGS --- sys/dev/wi/if_wireg.h | 1 + sys/dev/wi/wi_hostap.h | 1 + 2 files changed, 2 insertions(+) diff --git a/sys/dev/wi/if_wireg.h b/sys/dev/wi/if_wireg.h index 1310f395375..974d352de17 100644 --- a/sys/dev/wi/if_wireg.h +++ b/sys/dev/wi/if_wireg.h @@ -547,6 +547,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/dev/wi/wi_hostap.h b/sys/dev/wi/wi_hostap.h index 4fccd203be8..f70f7ae2868 100644 --- a/sys/dev/wi/wi_hostap.h +++ b/sys/dev/wi/wi_hostap.h @@ -49,6 +49,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) -- 2.45.0