diff --git a/net80211/_ieee80211.h b/net80211/_ieee80211.h index 3a3734a..b55a9de 100644 --- a/net80211/_ieee80211.h +++ b/net80211/_ieee80211.h @@ -34,11 +34,16 @@ #ifndef _NET80211__IEEE80211_H_ #define _NET80211__IEEE80211_H_ +/* Warning : ieee80211_phytype is used by the HAL in its ABI, so this + * enumeration cannot be changed */ + enum ieee80211_phytype { - IEEE80211_T_DS, /* direct sequence spread spectrum */ - IEEE80211_T_FH, /* frequency hopping */ - IEEE80211_T_OFDM, /* frequency division multiplexing */ - IEEE80211_T_TURBO, /* high rate OFDM, aka turbo mode */ + IEEE80211_T_DS = 0, /* direct sequence spread spectrum */ + IEEE80211_T_FH = 1, /* frequency hopping */ + IEEE80211_T_OFDM = 2, /* frequency division multiplexing */ + IEEE80211_T_TURBO = 3, /* high rate OFDM, aka turbo mode */ + IEEE80211_T_HT = 4, /* High Troughput (802.11n) */ + IEEE80211_T_XR = 5, /* OFDM eXtended Range */ }; #define IEEE80211_T_CCK IEEE80211_T_DS /* more common nomenclature */