⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module mac80211

Module mac80211 

Source
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
FrameControl
IEEE 802.11 Frame Control field (16 bits)
Ieee80211Header
IEEE 802.11 MAC header
InformationElement
Parsed Information Element
StaConfig
Station configuration for connection
WifiStation
WiFi station (client) state machine

Enums§

FrameType
802.11 frame type (2-bit field in Frame Control)
InformationElementId
Information Element IDs used in management frames
ManagementSubtype
Management frame subtypes
SecurityType
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