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

fuchsia.hardware.wlanif

PROTOCOLS

WlanifImpl

Defined in fuchsia.hardware.wlanif/wlanif.fidl

AssocReq

Request

NameType
req WlanifAssocReq

Response

NameType

AssocResp

Request

NameType
resp WlanifAssocResp

Response

NameType

AuthReq

Request

NameType
req WlanifAuthReq

Response

NameType

AuthResp

Request

NameType
resp WlanifAuthResp

Response

NameType

DataQueueTx

Request

NameType
options uint32
netbuf fuchsia.hardware.ethernet/EthernetNetbuf

Response

NameType
status zx/status
netbuf fuchsia.hardware.ethernet/EthernetNetbuf

DeauthReq

Request

NameType
req WlanifDeauthReq

Response

NameType

DelKeysReq

Request

NameType
req WlanifDelKeysReq

Response

NameType

DisassocReq

Request

NameType
req WlanifDisassocReq

Response

NameType

EapolReq

Request

NameType
req WlanifEapolReq

Response

NameType

JoinReq

Request

NameType
req WlanifJoinReq

Response

NameType

Query

Request

NameType

Response

NameType
info WlanifQueryInfo

ResetReq

Request

NameType
req WlanifResetReq

Response

NameType

SaeFrameTx

Request

NameType
frame WlanifSaeFrame

Response

NameType

SaeHandshakeResp

Request

NameType
resp WlanifSaeHandshakeResp

Response

NameType

SetKeysReq

Request

NameType
req WlanifSetKeysReq

Response

NameType

SetMulticastPromisc

Request

NameType
enable bool

Response

NameType
status zx/status

Start

Request

NameType
ifc WlanifImplIfc

Response

NameType
status zx/status
sme_channel handle<channel>

StartCaptureFrames

Request

NameType
req WlanifStartCaptureFramesReq

Response

NameType
resp WlanifStartCaptureFramesResp

StartReq

Request

NameType
req WlanifStartReq

Response

NameType

StartScan

Request

NameType
req WlanifScanReq

Response

NameType

StatsQueryReq

Request

NameType

Response

NameType

Stop

Request

NameType

Response

NameType

StopCaptureFrames

Request

NameType

Response

NameType

StopReq

Request

NameType
req WlanifStopReq

Response

NameType

WmmStatusReq

Request

NameType

Response

NameType

WlanifImplIfc

Defined in fuchsia.hardware.wlanif/wlanif.fidl

AssocConf

Request

NameType
resp WlanifAssocConfirm

Response

NameType

AssocInd

Request

NameType
resp WlanifAssocInd

Response

NameType

AuthConf

Request

NameType
resp WlanifAuthConfirm

Response

NameType

AuthInd

Request

NameType
resp WlanifAuthInd

Response

NameType

DataRecv

Request

NameType
data vector<uint8>
flags uint32

Response

NameType

DeauthConf

Request

NameType
resp WlanifDeauthConfirm

Response

NameType

DeauthInd

Request

NameType
ind WlanifDeauthIndication

Response

NameType

DisassocConf

Request

NameType
resp WlanifDisassocConfirm

Response

NameType

DisassocInd

Request

NameType
ind WlanifDisassocIndication

Response

NameType

EapolConf

Request

NameType
resp WlanifEapolConfirm

Response

NameType

EapolInd

Request

NameType
ind WlanifEapolIndication

Response

NameType

JoinConf

Request

NameType
resp WlanifJoinConfirm

Response

NameType

OnChannelSwitch

Request

NameType
ind WlanifChannelSwitchInfo

Response

NameType

OnPmkAvailable

Request

NameType
info WlanifPmkInfo

Response

NameType

OnScanEnd

Request

NameType
end WlanifScanEnd

Response

NameType

OnScanResult

Request

NameType
result WlanifScanResult

Response

NameType

OnWmmStatusResp

Request

NameType
s zx/status
wmm_params fuchsia.hardware.wlan.info/WlanWmmParams

Response

NameType

RelayCapturedFrame

Request

NameType
result WlanifCapturedFrameResult

Response

NameType

SaeFrameRx

Request

NameType
frame WlanifSaeFrame

Response

NameType

SaeHandshakeInd

Request

NameType
ind WlanifSaeHandshakeInd

Response

NameType

SignalReport

Request

NameType
ind WlanifSignalReportIndication

Response

NameType

StartConf

Request

NameType
resp WlanifStartConfirm

Response

NameType

StatsQueryResp

Request

NameType
resp WlanifStatsQueryResponse

Response

NameType

StopConf

Request

NameType
resp WlanifStopConfirm

Response

NameType

STRUCTS

DeleteKeyDescriptor

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
key_id uint16 No default
key_type fuchsia.hardware.wlan.info/WlanKeyType No default
address uint8[6] No default

SetKeyDescriptor

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
key vector<uint8> No default
key_id uint16 No default
key_type fuchsia.hardware.wlan.info/WlanKeyType No default
address uint8[6] No default
rsc uint64 No default
cipher_suite_oui uint8[3] No default
cipher_suite_type uint8 No default

WlanifAntennaId

Defined in fuchsia.hardware.wlanif/wlanif.fidl

Identifier for antenna.

NameTypeDescriptionDefault
freq WlanifAntennaFreq No default
index uint8

0 indexed antenna number of freq.

No default

WlanifApMlmeStats

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
not_used WlanifPacketCounter No default

WlanifAssocConfirm

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
result_code WlanAssocResult No default
association_id uint16 No default
wmm_param_present bool No default
wmm_param uint8[18] No default

WlanifAssocInd

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
peer_sta_address uint8[6] No default
listen_interval uint16 No default
ssid WlanifSsid No default
rsne_len uint64 No default
rsne uint8[255] No default
vendor_ie_len uint64 No default
vendor_ie uint8[510] No default

WlanifAssocReq

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
peer_sta_address uint8[6] No default
rsne_len uint64 No default
rsne uint8[255] No default
vendor_ie_len uint64 No default
vendor_ie uint8[510] No default

WlanifAssocResp

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
peer_sta_address uint8[6] No default
result_code WlanAssocResult No default
association_id uint16 No default

WlanifAuthConfirm

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
peer_sta_address uint8[6] No default
auth_type WlanAuthType No default
result_code WlanAuthResult No default

WlanifAuthInd

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
peer_sta_address uint8[6] No default
auth_type WlanAuthType No default

WlanifAuthReq

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
peer_sta_address uint8[6] No default
auth_type WlanAuthType No default
auth_failure_timeout uint32 No default
sae_password vector<uint8> No default

WlanifAuthResp

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
peer_sta_address uint8[6] No default
result_code WlanAuthResult No default

WlanifBandCapabilities

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
band_id uint8

Values from enum Band (WLAN_BAND_*)

No default
num_rates uint64 No default
rates uint16[12] No default
base_frequency uint16 No default
num_channels uint64 No default
channels uint8[64] No default
ht_supported bool No default
ht_caps ddk.hw.wlan.ieee80211/Ieee80211HtCapabilities No default
vht_supported bool No default
vht_caps ddk.hw.wlan.ieee80211/Ieee80211VhtCapabilities No default

WlanifBssDescription

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
bssid uint8[6] No default
bss_type fuchsia.hardware.wlan.info/WlanBssType No default
beacon_period uint32 No default
timestamp uint64 No default
local_time uint64 No default
cap uint16 No default
ies_bytes vector<uint8> No default
chan fuchsia.hardware.wlan.info/WlanChannel No default
rssi_dbm int8 No default
snr_db int8 No default

WlanifCapturedFrameResult

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
data vector<uint8> No default

WlanifChannelSwitchInfo

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
new_channel uint8 No default

WlanifClientMlmeStats

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
svc_msg WlanifPacketCounter No default
data_frame WlanifPacketCounter No default
mgmt_frame WlanifPacketCounter No default
tx_frame WlanifPacketCounter No default
rx_frame WlanifPacketCounter No default
assoc_data_rssi WlanifRssiStats No default
beacon_rssi WlanifRssiStats No default
noise_floor_histograms vector<WlanifNoiseFloorHistogram>[8]

Noise floor histogram(s).

No default
rssi_histograms vector<WlanifRssiHistogram>[8]

Received signal strength indicator (RSSI) histogram(s).

No default
rx_rate_index_histograms vector<WlanifRxRateIndexHistogram>[8]

Received rate index histogram(s).

No default
snr_histograms vector<WlanifSnrHistogram>[8]

Signal to noise ratio (SNR) histogram(s).

No default

WlanifCounter

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
count uint64 No default
name string No default

WlanifDeauthConfirm

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
peer_sta_address uint8[6] No default

WlanifDeauthIndication

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
peer_sta_address uint8[6] No default
reason_code ddk.hw.wlan.ieee80211/ReasonCode No default
locally_initiated bool

locally_initiated is true if deauth is initiated from the device, and is false if it's initiated remotely (e.g. due to deauth frame)

No default

WlanifDeauthReq

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
peer_sta_address uint8[6] No default
reason_code ddk.hw.wlan.ieee80211/ReasonCode No default

WlanifDelKeysReq

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
num_keys uint64 No default
keylist [4] No default

WlanifDisassocConfirm

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
status int32 No default

WlanifDisassocIndication

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
peer_sta_address uint8[6] No default
reason_code ddk.hw.wlan.ieee80211/ReasonCode No default
locally_initiated bool

locally_initiated is true if diassoc is initiated from the device, and is false if it's initiated remotely (e.g. due to disassoc frame)

No default

WlanifDisassocReq

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
peer_sta_address uint8[6] No default
reason_code uint16 No default

WlanifDispatcherStats

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
any_packet WlanifPacketCounter No default
mgmt_frame WlanifPacketCounter No default
ctrl_frame WlanifPacketCounter No default
data_frame WlanifPacketCounter No default

WlanifEapolConfirm

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
result_code WlanEapolResult No default
dst_addr uint8[6]

This value corresponds to the dst_addr in the EapolRequest we're confirming. IEEE 802.11-2016 does not include this field, but we need it to disambiguate if multiple EAPoL handshakes are ongoing.

No default

WlanifEapolIndication

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
src_addr uint8[6] No default
dst_addr uint8[6] No default
data vector<uint8> No default

WlanifEapolReq

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
src_addr uint8[6] No default
dst_addr uint8[6] No default
data vector<uint8> No default

WlanifHistBucket

Defined in fuchsia.hardware.wlanif/wlanif.fidl

Histogram bucket.

NameTypeDescriptionDefault
bucket_index uint16

Index into a lookup table for each histogram type. The lookup table for each type is described below in the comments for each type.

No default
num_samples uint64

The count of samples in the bucket.

No default

WlanifJoinConfirm

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
result_code WlanJoinResult No default

WlanifJoinReq

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
selected_bss WlanifBssDescription No default
join_failure_timeout uint32 No default
nav_sync_delay uint32 No default
num_op_rates uint64 No default
op_rates uint8[12] No default

WlanifMlmeStats

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
tag WlanifMlmeStatsType No default
stats StatsUnion No default

WlanifNoiseFloorHistogram

Defined in fuchsia.hardware.wlanif/wlanif.fidl

Histogram for noise floor samples.

NameTypeDescriptionDefault
hist_scope WlanifHistScope No default
antenna_id WlanifAntennaId

If hist_scope is PER_ANTENNA, antenna_id must be provided.

No default
noise_floor_samples vector<WlanifHistBucket>[255]

Sparse histogram of noise floor of current channel in dBm. Each sample's bucket_index is an index into this list of dBm values: [-255, -254, ... -1]. For example, if noise_floor_samples contains a WlanifHistBucket with bucket_index = 165 and num_samples = 50, that means there were 50 frames counted that had a noise floor of -90 dBm.

No default
invalid_samples uint64

Count of invalid samples encountered, if any.

0

WlanifPacketCounter

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
in WlanifCounter No default
out WlanifCounter No default
drop WlanifCounter No default
in_bytes WlanifCounter No default
out_bytes WlanifCounter No default
drop_bytes WlanifCounter No default

WlanifPmkInfo

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
pmk vector<uint8> No default
pmkid vector<uint8> No default

WlanifQueryInfo

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
mac_addr uint8[6] No default
role ddk.hw.wlan.wlaninfo/WlanInfoMacRole

WLAN_MAC_ROLE_*

No default
features uint32

WLANIF_FEATURE_*

No default
num_bands uint64 No default
bands [2] No default
driver_features uint32

WLAN_DRIVER_FEATURE_*

No default

WlanifResetReq

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
sta_address uint8[6] No default
set_default_mib bool No default

WlanifRssiHistogram

Defined in fuchsia.hardware.wlanif/wlanif.fidl

Histogram for received signal strength indicator (RSSI).

NameTypeDescriptionDefault
hist_scope WlanifHistScope No default
antenna_id WlanifAntennaId

If hist_scope is PER_ANTENNA, antenna_id must be provided.

No default
rssi_samples vector<WlanifHistBucket>[255]

Sparse histogram of RSSI of AP in dBm. Each sample's bucket_index is an index into this list of dBm values: [-255, -254, ... -1]. For example, if rssi_samples contains a WlanifHistBucket with bucket_index = 225 and num_samples = 50, that means there were 50 frames counted that had a signal level of -30 dBm.

No default
invalid_samples uint64

Count of invalid samples encountered, if any.

0

WlanifRssiStats

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
hist vector<uint64> No default

WlanifRxRateIndexHistogram

Defined in fuchsia.hardware.wlanif/wlanif.fidl

Histogram for received data rate.

NameTypeDescriptionDefault
hist_scope WlanifHistScope No default
antenna_id WlanifAntennaId

If hist_scope is PER_ANTENNA, antenna_id must be provided.

No default
rx_rate_index_samples vector<WlanifHistBucket>[196]

Sparse histogram of count of received frames for each rate. Each sample's bucket_index is an index into this lookup table: 0-3: B-MCS 0-3 4-11: G-MCS 0-7 12-27: N-MCS 0-15 (BW20) 28-43: N-MCS 0-15 (BW40) 44-59: N-MCS 0-15 (BW20:SGI) 60-75: N-MCS 0-15 (BW40:SGI) 76-85: AC-MCS 0-9 (VHT:BW20:NSS1) 86-95: AC-MCS 0-9 (VHT:BW20:NSS2) 96-105: AC-MCS 0-9 (VHT:BW40:NSS1) 106-115: AC-MCS 0-9 (VHT:BW40:NSS2) 116-125: AC-MCS 0-9 (VHT:BW80:NSS1) 126-135: AC-MCS 0-9 (VHT:BW80:NSS2) 136-145: AC-MCS 0-9 (VHT:BW20:NSS1:SGI) 146-155: AC-MCS 0-9 (VHT:BW20:NSS2:SGI) 156-165: AC-MCS 0-9 (VHT:BW40:NSS1:SGI) 166-175: AC-MCS 0-9 (VHT:BW40:NSS2:SGI) 176-185: AC-MCS 0-9 (VHT:BW80:NSS1:SGI) 186-195: AC-MCS 0-9 (VHT:BW80:NSS2:SGI)

For example, if rx_rate_index_samples contains a WlanifHistBucket with bucket_index = 75 and num_samples = 50, that means there were 50 frames counted that had a rate corresponding to N-MCS 15 (BW40:SGI).

No default
invalid_samples uint64

Count of invalid samples encountered, if any.

0

WlanifSaeFrame

Defined in fuchsia.hardware.wlanif/wlanif.fidl

This struct is sent in both directions, containing the information of SAE authentication frames, sae_fields maps to challenge text, see IEEE Std 802.11-2016, 9.3.3.12.

NameTypeDescriptionDefault
peer_sta_address uint8[6] No default
status_code ddk.hw.wlan.ieee80211/StatusCode No default
seq_num uint16 No default
sae_fields vector<uint8> No default

WlanifSaeHandshakeInd

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
peer_sta_address uint8[6] No default

WlanifSaeHandshakeResp

Defined in fuchsia.hardware.wlanif/wlanif.fidl

This struct is sent from SME to wlanif, indicating the result of SAE handshake process.

NameTypeDescriptionDefault
peer_sta_address uint8[6] No default
status_code ddk.hw.wlan.ieee80211/StatusCode No default

WlanifScanEnd

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
txn_id uint64 No default
code WlanScanResult No default

WlanifScanReq

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
txn_id uint64 No default
bss_type fuchsia.hardware.wlan.info/WlanBssType No default
bssid uint8[6] No default
ssid WlanifSsid No default
scan_type WlanScanType No default
probe_delay uint32 No default
num_channels uint64 No default
channel_list uint8[64] No default
min_channel_time uint32 No default
max_channel_time uint32 No default
num_ssids uint64 No default
ssid_list [32] No default

WlanifScanResult

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
txn_id uint64 No default
bss WlanifBssDescription No default

WlanifSetKeysReq

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
num_keys uint64 No default
keylist [4] No default

WlanifSignalReportIndication

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
rssi_dbm int8 No default
snr_db int8 No default

WlanifSnrHistogram

Defined in fuchsia.hardware.wlanif/wlanif.fidl

Histogram for signal to noise ratio (SNR).

NameTypeDescriptionDefault
hist_scope WlanifHistScope No default
antenna_id WlanifAntennaId

If hist_scope is PER_ANTENNA, antenna_id must be provided.

No default
snr_samples vector<WlanifHistBucket>[256]

Sparse histogram of signal to noise ratio in dB. Each sample's bucket_index is an index into this list of dB values: [0, 1, ... 255]. For example, if snr_samples contains a WlanifHistBucket with value = 60 and num_samples = 50, that means there were 50 frames counted that had a SNR of 60 dB.

No default
invalid_samples uint64

Count of invalid samples encountered, if any.

0

WlanifSsid

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
len uint8 No default
data uint8[32] No default

WlanifStartCaptureFramesReq

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
mgmt_frame_flags uint32 No default

WlanifStartCaptureFramesResp

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
status int32 No default
supported_mgmt_frames uint32 No default

WlanifStartConfirm

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
result_code WlanStartResult No default

WlanifStartReq

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
ssid WlanifSsid No default
bss_type fuchsia.hardware.wlan.info/WlanBssType No default
beacon_period uint32 No default
dtim_period uint32 No default
channel uint8 No default
rsne_len uint64 No default
rsne uint8[255] No default
vendor_ie_len uint64 No default
vendor_ie uint8[510] No default

WlanifStats

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
dispatcher_stats WlanifDispatcherStats No default
mlme_stats vector<WlanifMlmeStats> No default

WlanifStatsQueryResponse

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
stats WlanifStats No default

WlanifStopConfirm

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
result_code WlanStopResult No default

WlanifStopReq

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescriptionDefault
ssid WlanifSsid No default

ENUMS

WlanAssocResult

Type: uint8

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameValueDescription
SUCCESS 0
REFUSED_REASON_UNSPECIFIED 1
REFUSED_NOT_AUTHENTICATED 2
REFUSED_CAPABILITIES_MISMATCH 3
REFUSED_EXTERNAL_REASON 4
REFUSED_AP_OUT_OF_MEMORY 5
REFUSED_BASIC_RATES_MISMATCH 6
REJECTED_EMERGENCY_SERVICES_NOT_SUPPORTED 7
REFUSED_TEMPORARILY 8

WlanAuthResult

Type: uint8

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameValueDescription
SUCCESS 0
REFUSED 1
ANTI_CLOGGING_TOKEN_REQUIRED 2
FINITE_CYCLIC_GROUP_NOT_SUPPORTED 3
REJECTED 4
FAILURE_TIMEOUT 5

WlanAuthType

Type: uint8

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameValueDescription
OPEN_SYSTEM 1
SHARED_KEY 2
FAST_BSS_TRANSITION 3
SAE 4

WlanEapolResult

Type: uint8

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameValueDescription
SUCCESS 0
TRANSMISSION_FAILURE 1

WlanJoinResult

Type: uint8

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameValueDescription
SUCCESS 0
FAILURE_TIMEOUT 1
INTERNAL_ERROR 2

WlanMgmtCaptureFlag

Type: uint32

Defined in fuchsia.hardware.wlanif/wlanif.fidl

Bits used to request management frame subtypes to be captured. Also used by driver to indicate which management frame subtypes are supported for capture.

These values are set at 1 << MgmtFrameSubtypeValue See IEEE Std 802.11-2016, 9.2.4.1.3, for value of each management frame subtype

NameValueDescription
ASSOC_REQ 1
ASSOC_RESP 2
REASSOC_REQ 4
REASSOC_RESP 8
PROBE_REQ 16
PROBE_RESP 32
TIMING_AD 64
BEACON 256
ATIM 512
DISASSOC 1024
AUTH 2048
DEAUTH 4096
ACTION 8192
ACTION_NO_ACK 16384

WlanScanResult

Type: uint8

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameValueDescription
SUCCESS 0
NOT_SUPPORTED 1
INVALID_ARGS 2
INTERNAL_ERROR 3
SHOULD_WAIT 4
CANCELED_BY_DRIVER_OR_FIRMWARE 5

WlanScanType

Type: uint8

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameValueDescription
ACTIVE 1
PASSIVE 2

WlanStartResult

Type: uint8

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameValueDescription
SUCCESS 0
BSS_ALREADY_STARTED_OR_JOINED 1
RESET_REQUIRED_BEFORE_START 2
NOT_SUPPORTED 3

WlanStopResult

Type: uint8

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameValueDescription
SUCCESS 0
BSS_ALREADY_STOPPED 1
INTERNAL_ERROR 2

WlanifAntennaFreq

Type: uint8

Defined in fuchsia.hardware.wlanif/wlanif.fidl

Antenna frequency.

NameValueDescription
ANTENNA_2_G 1

2.4 GHz.

ANTENNA_5_G 2

5 GHz.

WlanifFeature

Type: uint32

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameValueDescription
DMA 1

Supports DMA buffer transfer protocol

SYNTH 2

Synthetic (i.e., non-physical) device

WlanifHistScope

Type: uint8

Defined in fuchsia.hardware.wlanif/wlanif.fidl

The scope of the histogram, e.g. if the histogram contains data for the entire station, or has data for just a single antenna.

NameValueDescription
STATION 1
PER_ANTENNA 2

WlanifMlmeStatsType

Type: uint8

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameValueDescription
CLIENT 0
AP 1

UNIONS

StatsUnion

Defined in fuchsia.hardware.wlanif/wlanif.fidl

NameTypeDescription
client_mlme_stats WlanifClientMlmeStats
ap_mlme_stats WlanifApMlmeStats

CONSTANTS

NameValueTypeDescription
WLANIF_MAX_HISTOGRAMS_PER_TYPE 8 uint8

For each histogram type (e.g. RSSI), there can be multiple histograms up to this limit. For example, an interface might have 1 histogram for station-wide RSSI, but also 1 for each of the antennas used by the interface.

WLANIF_MAX_NOISE_FLOOR_SAMPLES 255 uint8

All histograms have a fixed number of buckets. To save space, each histogram type uses a vector to hold only non-empty buckets (a sparse histogram), with these constants as the max size of each vector. Noise floor values range from -255 to -1 dBm.

WLANIF_MAX_RSSI_SAMPLES 255 uint8

RSSI values range from -255 to -1 dBm.

WLANIF_MAX_RX_RATE_INDEX_SAMPLES 196 uint8

Size of RX_RATE_INDEX lookup table (see comments in RxRateIndexHistogram).

WLANIF_MAX_SNR_SAMPLES 256 uint16

SNR values range from 0 to 255 dB.

WLANIF_NUM_RATES_AC 120 uint8

The number of 802.11AC rates in the WlanifRxRateIndexHistogram lookup table.

WLANIF_NUM_RATES_B 4 uint8

The number of 802.11B rates in the WlanifRxRateIndexHistogram lookup table.

WLANIF_NUM_RATES_G 8 uint8

The number of 802.11G rates in the WlanifRxRateIndexHistogram lookup table.

WLANIF_NUM_RATES_N 64 uint8

The number of 802.11N rates in the WlanifRxRateIndexHistogram lookup table.

WLAN_IE_BODY_MAX_LEN 255 uint32

IEEE Std 802.11-2016, 9.4.2.25.1 IEEE mentions that an element body maximum length is 255 octets in the RSN element section, but not in a dedicated section.

WLAN_MAX_KEYLIST_SIZE 4 uint32
WLAN_MAX_OP_RATES 12 uint32
WLAN_MSDU_MAX_LEN 2304 uint32

IEEE Std 802.11-2016, Table 9-19

WLAN_SCAN_MAX_SSIDS_PER_REQUEST 32 uint32
WLAN_VIE_MAX_LEN 510 uint32
WLAN_WMM_PARAM_LEN 18 uint32

WFA WMM v1.2, 2.2.2 Table 5 Length of the WMM Parameter Element body. This does not include IE and vendor IE headers, and only includes the QoS Info, reserved, and AC parameters fields.