From 5a5ffdbe70097e701e6e8fd144bedfbc6fa57009 Mon Sep 17 00:00:00 2001 From: imp Date: Mon, 24 Jun 2002 04:42:46 +0000 Subject: 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(+) (limited to 'sys') diff --git a/sys/dev/wi/if_wireg.h b/sys/dev/wi/if_wireg.h index 1310f39..974d352 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 4fccd20..f70f7ae 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) -- cgit v1.1