summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_var.h
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2005-07-06 15:38:27 +0000
committersam <sam@FreeBSD.org>2005-07-06 15:38:27 +0000
commit61cabe0353ae9b0d47fc3d68e8019caae3ba11dc (patch)
treedcd8b59c98c47887d9c8ba7d66a7413d7da703f1 /sys/net80211/ieee80211_var.h
parentd0d10216310971a993ad53165ee8e5e4244c5a36 (diff)
downloadFreeBSD-src-61cabe0353ae9b0d47fc3d68e8019caae3ba11dc.zip
FreeBSD-src-61cabe0353ae9b0d47fc3d68e8019caae3ba11dc.tar.gz
add "pureg" mode for ap operation: reject association requests from
11b-only stations when operating in 11g Reviewed by: avatar Approved by: re (scottl)
Diffstat (limited to 'sys/net80211/ieee80211_var.h')
-rw-r--r--sys/net80211/ieee80211_var.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_var.h b/sys/net80211/ieee80211_var.h
index f4cfb3e..b20b2b7 100644
--- a/sys/net80211/ieee80211_var.h
+++ b/sys/net80211/ieee80211_var.h
@@ -196,9 +196,10 @@ struct ieee80211com {
#define IEEE80211_ADDR_COPY(dst,src) memcpy(dst,src,IEEE80211_ADDR_LEN)
/* ic_flags */
-/* NB: bits 0x6f available */
+/* NB: bits 0x4f available */
/* NB: this is intentionally setup to be IEEE80211_CAPINFO_PRIVACY */
#define IEEE80211_F_PRIVACY 0x00000010 /* CONF: privacy enabled */
+#define IEEE80211_F_PUREG 0x00000020 /* CONF: 11g w/o 11b sta's */
#define IEEE80211_F_SCAN 0x00000080 /* STATUS: scanning */
#define IEEE80211_F_ASCAN 0x00000100 /* STATUS: active scan */
#define IEEE80211_F_SIBSS 0x00000200 /* STATUS: start IBSS */
OpenPOWER on IntegriCloud