Skip to main content

Module ie

Module ie 

Source
Expand description

IEEE 802.11 Information Elements (IEs).

Information elements are TLV (Tag-Length-Value) structures appended to management frame bodies (beacons, probe requests/responses, etc.).

Each IE has a 1-byte ID, 1-byte length, and variable-length data. This module provides a generic Dot11Elt for arbitrary IEs, plus specialized parsers for common IEs (SSID, Rates, RSN, HT, VHT, etc.).

Structs§

AkmSuite
An AKM (Authentication and Key Management) suite descriptor.
CipherSuite
A cipher suite descriptor (OUI + type).
CountryTriplet
A regulatory triplet within a Country IE.
Dot11Elt
Generic 802.11 Information Element (TLV).
Dot11EltCSA
Channel Switch Announcement Information Element (ID=37).
Dot11EltCountry
Country Information Element (ID=7).
Dot11EltDSSSet
DS Parameter Set Information Element (ID=3).
Dot11EltHTCapabilities
HT Capabilities Information Element (ID=45).
Dot11EltHTInfo
HT Information (Operation) Element (ID=61).
Dot11EltMicrosoftWPA
Microsoft WPA Information Element (WPA1).
Dot11EltRSN
RSN (Robust Security Network) Information Element (ID=48).
Dot11EltRates
Supported Rates Information Element (ID=1).
Dot11EltSSID
SSID Information Element (ID=0).
Dot11EltTIM
Traffic Indication Map (TIM) Information Element (ID=5).
Dot11EltVHTCapabilities
VHT Capabilities Information Element (ID=191).
Dot11EltVHTOperation
VHT Operation Information Element (ID=192).
Dot11EltVendorSpecific
Vendor Specific Information Element (ID=221).
RsnInfo
Parsed RSN (WPA2/WPA3) information.

Constants§

HT_CAP_LEN
HT Capabilities IE data length.
HT_INFO_LEN
HT Info IE data length.
VHT_CAP_LEN
VHT Capabilities IE data length.
VHT_OP_LEN
VHT Operation IE data length.

Functions§

extract_channel
Extract the channel from DS Parameter Set IE.
extract_ssid
Extract the SSID from a list of IEs.
find_all_ies
Find all IEs with the given ID in a list of IEs.
find_ie
Find the first IE with the given ID in a list of IEs.