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

NameType

Response

NameType
status int32

CreateIface

Request

NameType
req CreateIfaceRequest

Response

NameType
resp CreateIfaceResponse

DestroyIface

Request

NameType
req DestroyIfaceRequest

Response

NameType
resp DestroyIfaceResponse

GetCountry

Request

NameType

Response

NameType
result Phy_GetCountry_Result

Query

Request

NameType

Response

NameType
resp QueryResponse

SetCountry

Request

NameType
req CountryCode

Response

NameType
status int32

STRUCTS

BandInfo

Defined in fuchsia.wlan.device/phy.fidl

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

ChannelList

Defined in fuchsia.wlan.device/phy.fidl

NameTypeDescriptionDefault
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.

NameTypeDescriptionDefault
alpha2 uint8[2] No default

CreateIfaceRequest

Defined in fuchsia.wlan.device/phy.fidl

NameTypeDescriptionDefault
role MacRole No default
sme_channel handle<channel>? No default
init_mac_addr vector<uint8>[6]? No default

CreateIfaceResponse

Defined in fuchsia.wlan.device/phy.fidl

NameTypeDescriptionDefault
status int32 No default
iface_id uint16 No default

DestroyIfaceRequest

Defined in fuchsia.wlan.device/phy.fidl

NameTypeDescriptionDefault
id uint16 No default

DestroyIfaceResponse

Defined in fuchsia.wlan.device/phy.fidl

NameTypeDescriptionDefault
status int32 No default

PhyInfo

Defined in fuchsia.wlan.device/phy.fidl

NameTypeDescriptionDefault
id uint16 No default
dev_path string? No default
hw_mac_address uint8[6] No default
supported_phys vector<SupportedPhy>[8] No default
driver_features vector<fuchsia.wlan.common/DriverFeature>[8] No default
mac_roles vector<MacRole>[8] No default
caps vector<Capability>[8] No default
bands vector<BandInfo>[8] No default

Phy_GetCountry_Response

Defined in fuchsia.wlan.device/phy.fidl

NameTypeDescriptionDefault
resp CountryCode No default

QueryResponse

Defined in fuchsia.wlan.device/phy.fidl

NameTypeDescriptionDefault
status int32 No default
info PhyInfo No default

ENUMS

Capability

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

Type: uint32

Defined in fuchsia.wlan.device/phy.fidl

NameValueDescription
CLIENT 1
AP 2
MESH 3

SupportedPhy

Type: uint32

Defined in fuchsia.wlan.device/phy.fidl

NameValueDescription
DSSS 1
CCK 2
OFDM 3
HT 4
VHT 5

UNIONS

Phy_GetCountry_Result

Defined in fuchsia.wlan.device/phy.fidl

NameTypeDescription
response Phy_GetCountry_Response
err int32

CONSTANTS

NameValueTypeDescription
MAX_NUM_RATES 12 uint8