Google is committed to advancing racial equity for Black communities. See how.

ddk.hw.wlan.wlaninfo

STRUCTS

WlanInfoBandInfo

Defined in ddk.hw.wlan.wlaninfo/wlaninfo.fidl

Information about a particular WLAN band. Capabilities are grouped by band, by de facto industry standard.

NameTypeDescriptionDefault
band WlanInfoBand

The supported band.

No default
ht_supported bool

HT PHY capabilities, if supported.

No default
ht_caps ddk.hw.wlan.ieee80211/Ieee80211HtCapabilities No default
vht_supported bool

VHT PHY capabilities, if supported.

No default
vht_caps ddk.hw.wlan.ieee80211/Ieee80211VhtCapabilities No default
rates uint8[12]

Rates supported in this band, in units of 500 kbit/s (as defined in IEEE Std 802.11-2016, 9.4.2.3). For example, 1 Mbit/s is represented as 0x02.

No default
supported_channels WlanInfoChannelList

Channels supported in this band.

No default

WlanInfoChannelList

Defined in ddk.hw.wlan.wlaninfo/wlaninfo.fidl

A list of channels in a band. Channels are numbered as in IEEE Std 802.11-2016, 17.3.8.4.2, where each channel is defined as:

(base_freq + 5 * n) MHz

where n is between 1 and 200 (inclusive). Here n represents the channel number.

Example: Standard 2.4GHz channels: base_freq = 2407 MHz n = 1-14

NameTypeDescriptionDefault
base_freq uint16

The base frequency in this band.

No default
channels uint8[64]

A list of channel center frequencies, as multiples of 5 MHz above base_freq.

No default

ENUMS

WlanInfoBand strict

Type: uint32

Defined in ddk.hw.wlan.wlaninfo/wlaninfo.fidl

This is a simplified expression of channel starting frequencies. Expand this list as Fuchsia evolves.

NameValueDescription
TWO_GHZ 0

Channel starting frequency: 2.407 GHz.

FIVE_GHZ 1

Channel starting frequency: 5.000 GHz.

COUNT 2

The number of defined bands.

WlanInfoDriverFeature strict

Type: uint32

Defined in ddk.hw.wlan.wlaninfo/wlaninfo.fidl

NameValueDescription
SCAN_OFFLOAD 1

Device or driver implements scanning.

RATE_SELECTION 2

Device or driver implements rate selection.

SYNTH 4

Device is not a physical device.

TX_STATUS_REPORT 8

Driver supports transmission reports, and will use the wlanmac_ifc.report_tx_status() callback to report the status of each queued transmission.

DFS 16

Set this flag to indicate whether SME should trust this device or driver to handle DFS channels correctly in an active scan (e.g. it makes sure DFS channel is safe to transmit before doing so).

PROBE_RESP_OFFLOAD 32

Driver responds to probe requests in hardware.

SAE_SME_AUTH 64

Driver supports running the SAE handshake in SME.

SAE_DRIVER_AUTH 128

Driver implements the SAE handshake.

MFP 256

Driver supports management frame protection and IGTK installation.

WlanInfoHardwareCapability strict

Type: uint32

Defined in ddk.hw.wlan.wlaninfo/wlaninfo.fidl

IEEE Std 802.11-206 Section 9.4.1.4 Capability Information Field

NameValueDescription
SHORT_PREAMBLE 32

Short packet preamble.

SPECTRUM_MGMT 256

Spectrum management.

QOS 512
SHORT_SLOT_TIME 1024

Short slot times after packet collision.

RADIO_MSMT 4096

Radio measurement.

SIMULTANEOUS_CLIENT_AP 65536

WlanInfoMacRole strict

Type: uint8

Defined in ddk.hw.wlan.wlaninfo/wlaninfo.fidl

Role of a WLAN device.

NameValueDescription
CLIENT 1

Device operating as a non-AP station (i.e., a client of an AP).

AP 2

Device operating as an access point.

MESH 4

Device operating as a mesh node.

WlanInfoPhyType strict

Type: uint32

Defined in ddk.hw.wlan.wlaninfo/wlaninfo.fidl

NameValueDescription
DSSS 1

IEEE 802.11 for 1, 2 Mbps.

CCK 2

IEEE 802.11 for 5.5, 11 Mbps. ERP-CCK.

ERP 4

IEEE 802.11g, 1, 2, 5,5, 11, 12, 24 Mbps + [6, 54] Mbps.

HT 8

IEEE 802.11n.

VHT 16

IEEE 802.11ac.

HEW 32

IEEE 802.11ax.

CONSTANTS

NameValueTypeDescription
WLAN_INFO_BAND_2GHZ 0 uint32
WLAN_INFO_BAND_5GHZ 1 uint32
WLAN_INFO_BAND_INFO_MAX_RATES 12 uint32

The maximum number of rates in WlanInfoBandInfo.

WLAN_INFO_CHANNEL_LIST_MAX_CHANNELS 64 uint32

The maximum number of supported channels in a WlanInfoChannelList.

WLAN_INFO_MAX_BANDS 2 uint32

The maximum number of bands supported in a WlanInfo struct. For now this is 2 to keep the struct a small, fixed size.

WLAN_INFO_PHY_TYPE_OFDM 4 uint32