remove ELEMENT_ID enum

Values are replaced with the equivalent ones from enum ieee80211_eid linux/ieee80211.h

Link: https://lore.kernel.org/r/20201208040733.379197-22-ross.schm.dev@gmail.com
This commit is contained in:
Carlos Garces
2021-10-21 20:58:08 +02:00
parent 34f947ef16
commit 7a0d67040a
10 changed files with 75 additions and 152 deletions

View File

@@ -318,83 +318,6 @@ static inline int IsFrameTypeData(unsigned char *pframe)
#define _FIXED_IE_LENGTH_ _BEACON_IE_OFFSET_
typedef enum _ELEMENT_ID {
EID_SsId = 0, /* service set identifier (0:32) */
EID_SupRates = 1, /* supported rates (1:8) */
EID_FHParms = 2, /* FH parameter set (5) */
EID_DSParms = 3, /* DS parameter set (1) */
EID_CFParms = 4, /* CF parameter set (6) */
EID_Tim = 5, /* Traffic Information Map (4:254) */
EID_IbssParms = 6, /* IBSS parameter set (2) */
EID_Country = 7, /* */
/* Form 7.3.2: Information elements in 802.11E/D13.0, page 46. */
EID_QBSSLoad = 11,
EID_EDCAParms = 12,
EID_TSpec = 13,
EID_TClass = 14,
EID_Schedule = 15,
/* */
EID_Ctext = 16, /* challenge text*/
EID_POWER_CONSTRAINT = 32, /* Power Constraint*/
/* vivi for WIFITest, 802.11h AP, 20100427 */
/* 2010/12/26 MH The definition we can declare always!! */
EID_PowerCap = 33,
EID_SupportedChannels = 36,
EID_ChlSwitchAnnounce = 37,
EID_MeasureRequest = 38, /* Measurement Request */
EID_MeasureReport = 39, /* Measurement Report */
EID_ERPInfo = 42,
/* Form 7.3.2: Information elements in 802.11E/D13.0, page 46. */
EID_TSDelay = 43,
EID_TCLASProc = 44,
EID_HTCapability = 45,
EID_QoSCap = 46,
/* */
EID_WPA2 = 48,
EID_ExtSupRates = 50,
EID_FTIE = 55, /* Defined in 802.11r */
EID_Timeout = 56, /* Defined in 802.11r */
EID_SupRegulatory = 59, /* Supported Requlatory Classes 802.11y */
EID_HTInfo = 61,
EID_SecondaryChnlOffset = 62,
EID_BSSCoexistence = 72, /* 20/40 BSS Coexistence */
EID_BSSIntolerantChlReport = 73,
EID_OBSS = 74, /* Overlapping BSS Scan Parameters */
EID_LinkIdentifier = 101, /* Defined in 802.11z */
EID_WakeupSchedule = 102, /* Defined in 802.11z */
EID_ChnlSwitchTimeing = 104, /* Defined in 802.11z */
EID_PTIControl = 105, /* Defined in 802.11z */
EID_PUBufferStatus = 106, /* Defined in 802.11z */
EID_EXTCapability = 127, /* Extended Capabilities */
/* From S19:Aironet IE and S21:AP IP address IE in CCX v1.13, p16 and p18. */
EID_Aironet = 133, /* 0x85: Aironet Element for Cisco CCX */
EID_CiscoIP = 149, /* 0x95: IP Address IE for Cisco CCX */
EID_CellPwr = 150, /* 0x96: Cell Power Limit IE. Ref. 0x96. */
EID_CCKM = 156,
EID_Vendor = 221, /* 0xDD: Vendor Specific */
EID_WAPI = 68,
EID_VHTCapability = 191, /* Based on 802.11ac D2.0 */
EID_VHTOperation = 192, /* Based on 802.11ac D2.0 */
EID_AID = 197, /* Based on 802.11ac D4.0 */
EID_OpModeNotification = 199, /* Based on 802.11ac D3.0 */
} ELEMENT_ID, *PELEMENT_ID;
/* ---------------------------------------------------------------------------
Below is the fixed elements...
-----------------------------------------------------------------------------*/