Expand description
IEEE 802.11 MAC Layer Implementation
Provides frame parsing/construction, BSS scanning, station state machine, and information element handling for WiFi connectivity.
Structs§
- BssInfo
- BSS (Basic Service Set) information from scan results
- Frame
Control - IEEE 802.11 Frame Control field (16 bits)
- Ieee80211
Header - IEEE 802.11 MAC header
- Information
Element - Parsed Information Element
- StaConfig
- Station configuration for connection
- Wifi
Station - WiFi station (client) state machine
Enums§
- Frame
Type - 802.11 frame type (2-bit field in Frame Control)
- Information
Element Id - Information Element IDs used in management frames
- Management
Subtype - Management frame subtypes
- Security
Type - WiFi security type
- StaState
- Station (STA) connection state
Functions§
- extract_
channel - Extract channel from DS Parameter Set IE
- extract_
ssid - Extract SSID from Information Elements
- has_rsn
- Check if RSN (WPA2) IE is present
- parse_
information_ elements - Parse all Information Elements from a byte slice