fuchsia.wlan.sme

PROTOCOLS

ScanTransaction

Defined in fuchsia.wlan.sme/sme.fidl

OnResult

Response

NameType
aps vector<EssInfo>

OnFinished

Response

NameType

OnError

Response

NameType
error ScanError

ConnectTransaction

Defined in fuchsia.wlan.sme/sme.fidl

OnFinished

Response

NameType
code ConnectResultCode

ClientSme

Defined in fuchsia.wlan.sme/sme.fidl

Scan

Request

NameType
req ScanRequest
txn request<ScanTransaction>

Connect

Request

NameType
req ConnectRequest
txn request<ConnectTransaction>?

Disconnect

Request

NameType

Response

NameType

Status

Request

NameType

Response

NameType
resp ClientStatusResponse

ApSme

Defined in fuchsia.wlan.sme/sme.fidl

Start

Request

NameType
config ApConfig

Response

NameType
code StartApResultCode

Stop

Request

NameType

Response

NameType

MeshSme

Defined in fuchsia.wlan.sme/sme.fidl

Join

Request

NameType
config MeshConfig

Response

NameType
code JoinMeshResultCode

Leave

Request

NameType

Response

NameType
code LeaveMeshResultCode

GetMeshPathTable

Request

NameType

Response

NameType
code GetMeshPathTableResultCode
path fuchsia.wlan.mesh/MeshPathTable

STRUCTS

BssInfo

Defined in fuchsia.wlan.sme/sme.fidl

NameTypeDescriptionDefault
bssid uint8[6] No default
ssid vector<uint8>[32] No default
rx_dbm int8 No default
channel uint8 No default
protection Protection No default
compatible bool No default

EssInfo

Defined in fuchsia.wlan.sme/sme.fidl

NameTypeDescriptionDefault
best_bss BssInfo No default

ScanError

Defined in fuchsia.wlan.sme/sme.fidl

NameTypeDescriptionDefault
code ScanErrorCode No default
message string No default

ScanRequest

Defined in fuchsia.wlan.sme/sme.fidl

NameTypeDescriptionDefault
timeout uint8 No default
scan_type fuchsia.wlan.common/ScanType No default

RadioConfig

Defined in fuchsia.wlan.sme/sme.fidl

NameTypeDescriptionDefault
override_phy bool No default
phy fuchsia.wlan.common/PHY No default
override_cbw bool No default
cbw fuchsia.wlan.common/CBW No default
override_primary_chan bool No default
primary_chan uint8 No default

Empty

Defined in fuchsia.wlan.sme/sme.fidl

Empty struct used as credential value for open networks.

NameTypeDescriptionDefault

ConnectRequest

Defined in fuchsia.wlan.sme/sme.fidl

NameTypeDescriptionDefault
ssid vector<uint8>[32] No default
credential Credential No default
radio_cfg RadioConfig No default
scan_type fuchsia.wlan.common/ScanType No default

ClientStatusResponse

Defined in fuchsia.wlan.sme/sme.fidl

NameTypeDescriptionDefault
connected_to BssInfo? No default
connecting_to_ssid vector<uint8>[32] No default

ApConfig

Defined in fuchsia.wlan.sme/sme.fidl

NameTypeDescriptionDefault
ssid vector<uint8>[32] No default
password vector<uint8>[64] No default
radio_cfg RadioConfig No default

MeshConfig

Defined in fuchsia.wlan.sme/sme.fidl

NameTypeDescriptionDefault
mesh_id vector<uint8>[32] No default
channel uint8 No default

ENUMS

Protection

Type: uint32

Defined in fuchsia.wlan.sme/sme.fidl

Security protection which should mirror the Protection enum defined in wlan lib common

NameValueDescription
UNKNOWN 0
OPEN 1
WEP 2
WPA1 3
WPA1_WPA2_PERSONAL 4
WPA2_PERSONAL 5
WPA2_WPA3_PERSONAL 6
WPA3_PERSONAL 7
WPA2_ENTERPRISE 8
WPA3_ENTERPRISE 9

ScanErrorCode

Type: uint32

Defined in fuchsia.wlan.sme/sme.fidl

NameValueDescription
NOT_SUPPORTED 1
INTERNAL_ERROR 2

ConnectResultCode

Type: uint32

Defined in fuchsia.wlan.sme/sme.fidl

NameValueDescription
SUCCESS 0
CANCELED 1
FAILED 2
BAD_CREDENTIALS 3

StartApResultCode

Type: uint32

Defined in fuchsia.wlan.sme/sme.fidl

NameValueDescription
SUCCESS 0
ALREADY_STARTED 1
INTERNAL_ERROR 2
CANCELED 3
TIMED_OUT 4
PREVIOUS_START_IN_PROGRESS 5
INVALID_ARGUMENTS 6
DFS_UNSUPPORTED 7

JoinMeshResultCode

Type: uint32

Defined in fuchsia.wlan.sme/sme.fidl

NameValueDescription
SUCCESS 0
CANCELED 1
INTERNAL_ERROR 2
INVALID_ARGUMENTS 3
DFS_UNSUPPORTED 4

LeaveMeshResultCode

Type: uint32

Defined in fuchsia.wlan.sme/sme.fidl

NameValueDescription
SUCCESS 0
INTERNAL_ERROR 1

GetMeshPathTableResultCode

Type: uint32

Defined in fuchsia.wlan.sme/sme.fidl

NameValueDescription
SUCCESS 0
INTERNAL_ERROR 1

XUNIONS

Credential

Defined in fuchsia.wlan.sme/sme.fidl

Information required to connect to a protected network.

NameTypeDescription
none Empty The network does not use credentials (open networks).
password vector<uint8> Plaintext password (handled as binary data).
psk vector<uint8> Hash representation of the network passphrase (handled as binary data).