2 #ifndef _NET80211_IEEE80211_PROTO_H_
3 #define _NET80211_IEEE80211_PROTO_H_
6 #define IEEE80211_TXOP_TO_US(_txop) (a_uint32_t)(_txop) << 5
10 * 802.11 protocol implementation definitions.
13 enum ieee80211_state {
14 IEEE80211_S_INIT = 0, /* default state */
15 IEEE80211_S_SCAN = 1, /* scanning */
16 IEEE80211_S_JOIN = 2, /* join */
17 IEEE80211_S_AUTH = 3, /* try to authenticate */
18 IEEE80211_S_ASSOC = 4, /* try to assoc */
19 IEEE80211_S_RUN = 5, /* associated */