summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_proto.h
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2007-09-05 21:31:32 +0000
committersam <sam@FreeBSD.org>2007-09-05 21:31:32 +0000
commit82a73bb56563ac476ef079169cb642990e0a1cc7 (patch)
treec7c268164c82a154ffedc62c1299e8212a8aa455 /sys/net80211/ieee80211_proto.h
parentfd6b073d62a4ab2b7f54272df8821d91edb0465c (diff)
downloadFreeBSD-src-82a73bb56563ac476ef079169cb642990e0a1cc7.zip
FreeBSD-src-82a73bb56563ac476ef079169cb642990e0a1cc7.tar.gz
o add 802.11 state machine states for DFS and client-side power save
o fixup drivers to ignore new states Reviewed by: avatar (?) Approved by: re (blanket wireless)
Diffstat (limited to 'sys/net80211/ieee80211_proto.h')
-rw-r--r--sys/net80211/ieee80211_proto.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_proto.h b/sys/net80211/ieee80211_proto.h
index b00c8ec..1a2926a 100644
--- a/sys/net80211/ieee80211_proto.h
+++ b/sys/net80211/ieee80211_proto.h
@@ -37,9 +37,12 @@ enum ieee80211_state {
IEEE80211_S_SCAN = 1, /* scanning */
IEEE80211_S_AUTH = 2, /* try to authenticate */
IEEE80211_S_ASSOC = 3, /* try to assoc */
- IEEE80211_S_RUN = 4, /* associated */
+ IEEE80211_S_CAC = 4, /* doing channel availability check */
+ IEEE80211_S_RUN = 5, /* operational (e.g. associated) */
+ IEEE80211_S_CSA = 6, /* channel switch announce pending */
+ IEEE80211_S_SLEEP = 7, /* power save */
};
-#define IEEE80211_S_MAX (IEEE80211_S_RUN+1)
+#define IEEE80211_S_MAX (IEEE80211_S_SLEEP+1)
#define IEEE80211_SEND_MGMT(_ic,_ni,_type,_arg) \
((*(_ic)->ic_send_mgmt)(_ic, _ni, _type, _arg))
OpenPOWER on IntegriCloud