diff options
author | Jouni Malinen <jkmaline@cc.hut.fi> | 2005-08-14 23:59:59 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-08-15 00:28:17 -0400 |
commit | 2474385e5b623fc46cf172a921d94f9f03a9a704 (patch) | |
tree | af2e7e7695e3dc46b8db9d0770dcbab3e58849b5 /include/net/ieee80211.h | |
parent | 4c0e176dd5e4c44dd60f398518f75eedbe1a65f3 (diff) |
[PATCH] ieee80211: Capability field is called ESS, not BSS
IEEE 802.11 has a capability field flag called ESS, but ieee80211 had
renamed this to BSS for some reason. hostap has been using
WLAN_CAPABILITY_ESS and since that matches with the standard, lets use
it as the name for this define. Add WLAN_CAPABILITY_BSS as a backwards
compatibility name for the same bit since ieee80211 and ipw2200 are
using this and there are versions outside kernel tree that expect to
find this define name.
Signed-off-by: Jouni Malinen <jkmaline@cc.hut.fi>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'include/net/ieee80211.h')
-rw-r--r-- | include/net/ieee80211.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/ieee80211.h b/include/net/ieee80211.h index 11524c9b659a..6e6e94aec303 100644 --- a/include/net/ieee80211.h +++ b/include/net/ieee80211.h | |||
@@ -264,7 +264,8 @@ struct ieee80211_snap_hdr { | |||
264 | 264 | ||
265 | #define WLAN_AUTH_CHALLENGE_LEN 128 | 265 | #define WLAN_AUTH_CHALLENGE_LEN 128 |
266 | 266 | ||
267 | #define WLAN_CAPABILITY_BSS (1<<0) | 267 | #define WLAN_CAPABILITY_ESS (1<<0) |
268 | #define WLAN_CAPABILITY_BSS WLAN_CAPABILITY_ESS | ||
268 | #define WLAN_CAPABILITY_IBSS (1<<1) | 269 | #define WLAN_CAPABILITY_IBSS (1<<1) |
269 | #define WLAN_CAPABILITY_CF_POLLABLE (1<<2) | 270 | #define WLAN_CAPABILITY_CF_POLLABLE (1<<2) |
270 | #define WLAN_CAPABILITY_CF_POLL_REQUEST (1<<3) | 271 | #define WLAN_CAPABILITY_CF_POLL_REQUEST (1<<3) |