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

fuchsia.wlan.service

PROTOCOLS

Wlan

Defined in fuchsia.wlan.service/wlan_service.fidl

Stub interface; eventually to be replaced by something based on the 802.11 SME / MSGCF.

ClearSavedNetworks

Request

NameType

Response

NameType

Connect

Request

NameType
req ConnectConfig

Response

NameType
error Error

Disconnect

Request

NameType

Response

NameType
error Error

Scan

Request

NameType
req ScanRequest

Response

NameType
result ScanResult

StartBss

Request

NameType
cfg BssConfig

Response

NameType
error Error

Stats

Request

NameType

Response

NameType
stats WlanStats

Status

Request

NameType

Response

NameType
status WlanStatus

StopBss

Request

NameType

Response

NameType
error Error

STRUCTS

AP

Defined in fuchsia.wlan.service/wlan_service.fidl

NameTypeDescriptionDefault
bssid vector<uint8> No default
ssid string No default
rssi_dbm int8 No default
is_secure bool No default
is_compatible bool No default
chan fuchsia.wlan.common/WlanChan No default

BssConfig

Defined in fuchsia.wlan.service/wlan_service.fidl

NameTypeDescriptionDefault
ssid string No default
beaconPeriod int32 No default
dtimPeriod int32 No default
channel uint8 No default

ConnectConfig

Defined in fuchsia.wlan.service/wlan_service.fidl

NameTypeDescriptionDefault
ssid string No default
passPhrase string No default
scanInterval uint8 No default
bssid string No default

Error

Defined in fuchsia.wlan.service/wlan_service.fidl

NameTypeDescriptionDefault
code ErrCode No default
description string No default

ScanRequest

Defined in fuchsia.wlan.service/wlan_service.fidl

NameTypeDescriptionDefault
timeout uint8 No default

ScanResult

Defined in fuchsia.wlan.service/wlan_service.fidl

NameTypeDescriptionDefault
error Error No default
aps vector<AP>? No default

WlanStats

Defined in fuchsia.wlan.service/wlan_service.fidl

NameTypeDescriptionDefault
error Error No default
stats fuchsia.wlan.stats/IfaceStats No default

WlanStatus

Defined in fuchsia.wlan.service/wlan_service.fidl

NameTypeDescriptionDefault
error Error No default
state State No default
current_ap AP? No default

ENUMS

ErrCode

Type: uint32

Defined in fuchsia.wlan.service/wlan_service.fidl

NameValueDescription
OK 0
INTERNAL 1
NOT_FOUND 2
NOT_SUPPORTED 3
INVALID_ARGS 4

State

Type: uint32

Defined in fuchsia.wlan.service/wlan_service.fidl

NameValueDescription
UNKNOWN 0
BSS 1
QUERYING 2
SCANNING 3
JOINING 4
AUTHENTICATING 5
ASSOCIATING 6
ASSOCIATED 7