Module wifi

Source
Expand description

WiFi

Modules§

event

Structs§

AccessPointConfiguration
Configuration for a Wi-Fi access point.
AccessPointInfo
Information about a detected Wi-Fi access point.
AtomicWifiState
A wrapper around WifiState which can be safely shared between threads.
ClientConfiguration
Client configuration for a Wi-Fi connection.
EapClientConfiguration
Configuration for an EAP (Extensible Authentication Protocol) client.
EapFastConfig
Configuration for EAP-FAST authentication protocol.
Interfaces
PromiscuousPkt
Represents a Wi-Fi packet in promiscuous mode.
RxControlInfo
The radio metadata header of the received packet, which is the common header at the beginning of all RX callback buffers in promiscuous mode.
ScanConfig
Scan configuration
Sniffer
A wifi sniffer.
WifiController
WifiDevice
A wifi device implementing smoltcp’s Device trait.

Enums§

AuthMethod
Supported Wi-Fi authentication methods.
Capability
Introduces Wi-Fi configuration options.
Configuration
Configuration of Wi-Fi operation mode.
InternalWifiError
Error originating from the underlying drivers
Protocol
Supported Wi-Fi protocols.
ScanTypeConfig
Configuration for active or passive scan. For details see the WIFI Alliance FAQ.
SecondaryChannel
Secondary Wi-Fi channels.
TtlsPhase2Method
Phase 2 authentication methods
WifiDeviceMode
Provides methods for retrieving the Wi-Fi mode and MAC address.
WifiError
Common errors.
WifiEvent
Events generated by the WiFi driver.
WifiMode
Wifi Mode (Sta and/or Ap)
WifiState
Wifi interface state

Functions§

ap_mac
Get the AP MAC address
ap_state
Get the current state of the AP
new
Create a WiFi controller and it’s associated interfaces.
sta_mac
Get the STA MAC address
sta_state
Get the current state of the STA
wifi_state
Returns the current state of the WiFi stack.