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

fuchsia.wlan.device

PROTOCOLS

Connector

Defined in fuchsia.wlan.device/phy.fidl

This protocol is used to connect to the real Phy protocol underlying this device.

Connect

Request

NameType
request request<Phy>

Phy

Defined in fuchsia.wlan.device/phy.fidl

ClearCountry

Request

<EMPTY>

Response

NameType
status int32

CreateIface

Request

NameType
req CreateIfaceRequest

Response

NameType
resp CreateIfaceResponse

DestroyIface

Request

NameType
req DestroyIfaceRequest

Response

NameType
resp DestroyIfaceResponse

GetCountry

Request

<EMPTY>

Response

NameType
result Phy_GetCountry_Result

Query

Request

<EMPTY>

Response

NameType
resp QueryResponse

SetCountry

Request

NameType
req CountryCode

Response

NameType
status int32

STRUCTS

BandInfo

Defined in fuchsia.wlan.device/phy.fidl

FieldTypeDescriptionDefault
band_id fuchsia.wlan.common/Band No default
ht_caps fuchsia.wlan.internal/HtCapabilities? No default
vht_caps fuchsia.wlan.internal/VhtCapabilities? No default
rates vector<uint8>[12] No default
supported_channels ChannelList No default

ChannelList

Defined in fuchsia.wlan.device/phy.fidl

FieldTypeDescriptionDefault
base_freq uint16 No default
channels vector<uint8>[200] No default

CountryCode

Defined in fuchsia.wlan.device/phy.fidl

The country code for a target WLAN PHY device. alpha2 is ISO 3166-1 code to indicate a country. eg. AF for Afghanistan.

FieldTypeDescriptionDefault
alpha2 uint8[2] No default

CreateIfaceRequest resource

Defined in fuchsia.wlan.device/phy.fidl

FieldTypeDescriptionDefault
role MacRole No default
mlme_channel handle<channel>? No default
init_sta_addr fuchsia.wlan.ieee80211/MacAddr No default

CreateIfaceResponse

Defined in fuchsia.wlan.device/phy.fidl

FieldTypeDescriptionDefault
status int32 No default
iface_id uint16 No default

DestroyIfaceRequest

Defined in fuchsia.wlan.device/phy.fidl

FieldTypeDescriptionDefault
id uint16 No default

DestroyIfaceResponse

Defined in fuchsia.wlan.device/phy.fidl

FieldTypeDescriptionDefault
status int32 No default

PhyInfo

Defined in fuchsia.wlan.device/phy.fidl

FieldTypeDescriptionDefault
id uint16 No default
dev_path string? No default
supported_mac_roles vector<MacRole>[8] No default

Phy_GetCountry_Response

Defined in fuchsia.wlan.device/phy.fidl

FieldTypeDescriptionDefault
resp CountryCode No default

QueryResponse

Defined in fuchsia.wlan.device/phy.fidl

FieldTypeDescriptionDefault
status int32 No default
info PhyInfo No default

ENUMS

Capability strict

Type: uint32

Defined in fuchsia.wlan.device/phy.fidl

IEEE Std 802.11-206 Section 9.4.1.4 Capability Information Field

NameValueDescription
SHORT_PREAMBLE 32
SPECTRUM_MGMT 256
QOS 512
SHORT_SLOT_TIME 1024
RADIO_MSMT 4096
SIMULTANEOUS_CLIENT_AP 65536

MacRole strict

Type: uint32

Defined in fuchsia.wlan.device/phy.fidl

NameValueDescription
CLIENT 1
AP 2
MESH 3

SupportedPhy strict

Type: uint32

Defined in fuchsia.wlan.device/phy.fidl

NameValueDescription
DSSS 1
CCK 2
OFDM 3
HT 4
VHT 5

UNIONS

Phy_GetCountry_Result strict

Defined in fuchsia.wlan.device/phy.fidl

Ordinal
VariantTypeDescription
1 response Phy_GetCountry_Response
2 err int32

CONSTANTS

NameValueTypeDescription
MAX_NUM_RATES 12 uint8