diff options
author | imp <imp@FreeBSD.org> | 2002-06-24 04:42:46 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-06-24 04:42:46 +0000 |
commit | 5a5ffdbe70097e701e6e8fd144bedfbc6fa57009 (patch) | |
tree | 4076d9aea1937367b3667b940b80de5bef8f15e5 /sys | |
parent | 1db74132a8d4bf9a527a95679747af4f1954b495 (diff) | |
download | FreeBSD-src-5a5ffdbe70097e701e6e8fd144bedfbc6fa57009.zip FreeBSD-src-5a5ffdbe70097e701e6e8fd144bedfbc6fa57009.tar.gz |
Add kernel printf bits for WI_SUPPRATES and HOSTAP_FLAGS
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/wi/if_wireg.h | 1 | ||||
-rw-r--r-- | sys/dev/wi/wi_hostap.h | 1 |
2 files changed, 2 insertions, 0 deletions
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) |