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

fuchsia.wlan.sme

PROTOCOLS

ApSme

Defined in fuchsia.wlan.sme/sme.fidl

Start

Request

NameType
config ApConfig

Response

NameType
code StartApResultCode

Status

Request

NameType

Response

NameType
resp ApStatusResponse

Stop

Request

NameType

Response

NameType
code StopApResultCode

ClientSme

Defined in fuchsia.wlan.sme/sme.fidl

Connect

Request

NameType
req ConnectRequest
txn request<ConnectTransaction>?

Disconnect

Request

NameType

Response

NameType

Scan

Request

NameType
req ScanRequest
txn request<ScanTransaction>

Status

Request

NameType

Response

NameType
resp ClientStatusResponse

ConnectTransaction

Defined in fuchsia.wlan.sme/sme.fidl

OnFinished

Response

NameType
code ConnectResultCode

MeshSme

Defined in fuchsia.wlan.sme/sme.fidl

GetMeshPathTable

Request

NameType

Response

NameType
code GetMeshPathTableResultCode
path fuchsia.wlan.mesh/MeshPathTable

Join

Request

NameType
config MeshConfig

Response

NameType
code JoinMeshResultCode

Leave

Request

NameType

Response

NameType
code LeaveMeshResultCode

ScanTransaction

Defined in fuchsia.wlan.sme/sme.fidl

OnError

Response

NameType
error ScanError

OnFinished

Response

NameType

OnResult

Response

NameType
aps vector<BssInfo>

STRUCTS

ActiveScanRequest

Defined in fuchsia.wlan.sme/sme.fidl

NameTypeDescriptionDefault
ssids vector<vector<uint8>>[16] No default
channels vector<uint8>[500] No default

Ap

Defined in fuchsia.wlan.sme/sme.fidl

NameTypeDescriptionDefault
ssid vector<uint8>[32] No default
channel uint8 No default
num_clients uint16 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

ApStatusResponse

Defined in fuchsia.wlan.sme/sme.fidl

NameTypeDescriptionDefault
running_ap Ap? No default

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
snr_db int8 No default
channel uint8 No default
protection Protection No default
compatible bool No default

ClientStatusResponse

Defined in fuchsia.wlan.sme/sme.fidl

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

ConnectRequest

Defined in fuchsia.wlan.sme/sme.fidl

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

Deprecated. SME makes internal decision on whether to perform a passive or active scan during connect. Setting this field will not affect anything for FullMAC, but currently SoftMAC still honor this argument.

No default

Empty

Defined in fuchsia.wlan.sme/sme.fidl

Empty struct used as credential value for open networks.

NameTypeDescriptionDefault

MeshConfig

Defined in fuchsia.wlan.sme/sme.fidl

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

PassiveScanRequest

Defined in fuchsia.wlan.sme/sme.fidl

NameTypeDescriptionDefault

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

ScanError

Defined in fuchsia.wlan.sme/sme.fidl

NameTypeDescriptionDefault
code ScanErrorCode No default
message string No default

ENUMS

ConnectResultCode

Type: uint32

Defined in fuchsia.wlan.sme/sme.fidl

NameValueDescription
SUCCESS 0
CANCELED 1
FAILED 2
WRONG_CREDENTIAL_TYPE 3
CREDENTIAL_REJECTED 4

GetMeshPathTableResultCode

Type: uint32

Defined in fuchsia.wlan.sme/sme.fidl

NameValueDescription
SUCCESS 0
INTERNAL_ERROR 1

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

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

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

StopApResultCode

Type: uint32

Defined in fuchsia.wlan.sme/sme.fidl

NameValueDescription
SUCCESS 0
INTERNAL_ERROR 1
TIMED_OUT 2

UNIONS

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

ScanRequest

Defined in fuchsia.wlan.sme/sme.fidl

NameTypeDescription
active ActiveScanRequest
passive PassiveScanRequest