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

<EMPTY>

Response

NameType
resp ApStatusResponse

Stop

Request

<EMPTY>

Response

NameType
code StopApResultCode

ClientSme

Defined in fuchsia.wlan.sme/sme.fidl

Connect

Request

NameType
req ConnectRequest
txn request<ConnectTransaction>?

Disconnect

Request

NameType
reason UserDisconnectReason

Response

<EMPTY>

Scan

Request

NameType
req ScanRequest
txn request<ScanTransaction>

Status

Request

<EMPTY>

Response

NameType
resp ClientStatusResponse

WmmStatus

Request

<EMPTY>

Response

NameType
result ClientSme_WmmStatus_Result

ConnectTransaction

Defined in fuchsia.wlan.sme/sme.fidl

OnChannelSwitched

Give an update of the channel switching.

Response

NameType
info fuchsia.wlan.internal/ChannelSwitchInfo

OnConnectResult

Return the result of the initial connection request or later SME-initiated reconnection.

Response

NameType
code ConnectResultCode
is_reconnect bool

OnDisconnect

Notify that the client has disconnected. If DisconnectInfo indicates that SME is attempting to reconnect by itself, there's not need for caller to intervene for now.

Response

NameType
info DisconnectInfo

OnSignalReport

Give an update of the latest signal report.

Response

NameType
ind fuchsia.wlan.internal/SignalReportIndication

MeshSme

Defined in fuchsia.wlan.sme/sme.fidl

GetMeshPathTable

Request

<EMPTY>

Response

NameType
code GetMeshPathTableResultCode
path fuchsia.wlan.mesh/MeshPathTable

Join

Request

NameType
config MeshConfig

Response

NameType
code JoinMeshResultCode

Leave

Request

<EMPTY>

Response

NameType
code LeaveMeshResultCode

ScanTransaction

Defined in fuchsia.wlan.sme/sme.fidl

OnError

Response

NameType
error ScanError

OnFinished

Response

<EMPTY>

OnResult

Response

NameType
aps vector<ScanResult>

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 fuchsia.wlan.ieee80211/Ssid No default
channel uint8 No default
num_clients uint16 No default

ApConfig

Defined in fuchsia.wlan.sme/sme.fidl

NameTypeDescriptionDefault
ssid fuchsia.wlan.ieee80211/Ssid 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

ClientSme_WmmStatus_Response

Defined in fuchsia.wlan.sme/sme.fidl

NameTypeDescriptionDefault
resp fuchsia.wlan.internal/WmmStatusResponse No default

ConnectRequest

Defined in fuchsia.wlan.sme/sme.fidl

NameTypeDescriptionDefault
ssid fuchsia.wlan.ieee80211/Ssid No default
bss_description fuchsia.wlan.internal/BssDescription No default
multiple_bss_candidates bool

Informs SME whether multiple candidates were available, for metrics.

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

DisconnectInfo

Defined in fuchsia.wlan.sme/sme.fidl

NameTypeDescriptionDefault
is_sme_reconnecting bool

Whether SME is attempting to reconnect by itself

No default
reason_code uint16

Reason for disconnect. Meaning differs depending on disconnect_source

No default
disconnect_source DisconnectSource

Where the disconnect originated

No default

Empty

Defined in fuchsia.wlan.sme/sme.fidl

Empty struct used as credential value for open networks.

<EMPTY>

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

<EMPTY>

RadioConfig

Defined in fuchsia.wlan.sme/sme.fidl

NameTypeDescriptionDefault
override_phy bool No default
phy fuchsia.wlan.common/PHY No default
override_channel_bandwidth bool No default
channel_bandwidth fuchsia.wlan.common/ChannelBandwidth No default
override_primary_channel bool No default
primary_channel uint8 No default

ScanError

Defined in fuchsia.wlan.sme/sme.fidl

NameTypeDescriptionDefault
code ScanErrorCode No default
message string No default

ScanResult

Defined in fuchsia.wlan.sme/sme.fidl

NameTypeDescriptionDefault
compatible bool No default
bss_description fuchsia.wlan.internal/BssDescription No default

ServingApInfo

Defined in fuchsia.wlan.sme/sme.fidl

NameTypeDescriptionDefault
bssid fuchsia.wlan.ieee80211/MacAddr No default
ssid fuchsia.wlan.ieee80211/Ssid No default
rssi_dbm int8 No default
snr_db int8 No default
channel fuchsia.wlan.common/WlanChannel No default
protection Protection No default

ENUMS

ConnectResultCode strict

Type: uint32

Defined in fuchsia.wlan.sme/sme.fidl

NameValueDescription
SUCCESS 0
CANCELED 1
FAILED 2
CREDENTIAL_REJECTED 3

DisconnectSource strict

Type: uint32

Defined in fuchsia.wlan.sme/sme.fidl

NameValueDescription
AP 0
USER 1
MLME 2

GetMeshPathTableResultCode strict

Type: uint32

Defined in fuchsia.wlan.sme/sme.fidl

NameValueDescription
SUCCESS 0
INTERNAL_ERROR 1

JoinMeshResultCode strict

Type: uint32

Defined in fuchsia.wlan.sme/sme.fidl

NameValueDescription
SUCCESS 0
CANCELED 1
INTERNAL_ERROR 2
INVALID_ARGUMENTS 3
DFS_UNSUPPORTED 4

LeaveMeshResultCode strict

Type: uint32

Defined in fuchsia.wlan.sme/sme.fidl

NameValueDescription
SUCCESS 0
INTERNAL_ERROR 1

Protection strict

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_TKIP_ONLY 4
WPA2_PERSONAL_TKIP_ONLY 5
WPA1_WPA2_PERSONAL 6
WPA2_PERSONAL 7
WPA2_WPA3_PERSONAL 8
WPA3_PERSONAL 9
WPA2_ENTERPRISE 10
WPA3_ENTERPRISE 11

ScanErrorCode strict

Type: uint32

Defined in fuchsia.wlan.sme/sme.fidl

NameValueDescription
NOT_SUPPORTED 1
INTERNAL_ERROR 2
INTERNAL_MLME_ERROR 3
SHOULD_WAIT 4
CANCELED_BY_DRIVER_OR_FIRMWARE 5

StartApResultCode strict

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 strict

Type: uint32

Defined in fuchsia.wlan.sme/sme.fidl

NameValueDescription
SUCCESS 0
INTERNAL_ERROR 1
TIMED_OUT 2

UserDisconnectReason strict

Type: uint32

Defined in fuchsia.wlan.sme/sme.fidl

NameValueDescription
UNKNOWN 0
FAILED_TO_CONNECT 1
FIDL_CONNECT_REQUEST 2
FIDL_STOP_CLIENT_CONNECTIONS_REQUEST 3
PROACTIVE_NETWORK_SWITCH 4
DISCONNECT_DETECTED_FROM_SME 5
REGULATORY_REGION_CHANGE 6
STARTUP 7
NETWORK_UNSAVED 8
NETWORK_CONFIG_UPDATED 9
WLANSTACK_UNIT_TESTING 124
WLAN_SME_UNIT_TESTING 125
WLAN_SERVICE_UTIL_TESTING 126
WLAN_DEV_TOOL 127

UNIONS

ClientSme_WmmStatus_Result strict

Defined in fuchsia.wlan.sme/sme.fidl

NameTypeDescription
response ClientSme_WmmStatus_Response
err int32

ClientStatusResponse strict

Defined in fuchsia.wlan.sme/sme.fidl

NameTypeDescription
connected ServingApInfo
connecting fuchsia.wlan.ieee80211/Ssid
idle Empty

Credential flexible

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 strict

Defined in fuchsia.wlan.sme/sme.fidl

NameTypeDescription
active ActiveScanRequest
passive PassiveScanRequest