Initial cut of the open ath9k htc firmware.
[open-ath9k-htc-firmware.git] / target_firmware / wlan / ieee80211_proto.h
1
2 #ifndef _NET80211_IEEE80211_PROTO_H_
3 #define _NET80211_IEEE80211_PROTO_H_
4
5
6 #define IEEE80211_TXOP_TO_US(_txop)  (a_uint32_t)(_txop) << 5
7
8
9 /*
10  * 802.11 protocol implementation definitions.
11  */
12
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 */
20 };
21
22 #endif