aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/wi/if_wireg.h1
-rw-r--r--sys/dev/wi/wi_hostap.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/wi/if_wireg.h b/sys/dev/wi/if_wireg.h
index 1310f39537544..974d352de17f0 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 4fccd203be894..f70f7ae28686a 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)