From b1f30fd47a771cd34ef1f70ae37b0c2c4b449d8e Mon Sep 17 00:00:00 2001 From: benoit Date: Sat, 19 Jul 2008 20:36:28 +0000 Subject: [PATCH] Added proper phytype definitions for XR and HT git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3813 0192ed92-7a03-0410-a25b-9323aeb14dbd --- net80211/_ieee80211.h | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) 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 */