From 61cabe0353ae9b0d47fc3d68e8019caae3ba11dc Mon Sep 17 00:00:00 2001 From: sam Date: Wed, 6 Jul 2005 15:38:27 +0000 Subject: add "pureg" mode for ap operation: reject association requests from 11b-only stations when operating in 11g Reviewed by: avatar Approved by: re (scottl) --- sys/net80211/ieee80211_var.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/net80211/ieee80211_var.h') 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 */ -- cgit v1.1