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
result ConnectResult

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

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

Ap

Defined in fuchsia.wlan.sme/sme.fidl

FieldTypeDescriptionDefault
ssid fuchsia.wlan.ieee80211/Ssid No default
channel uint8 No default
num_clients uint16 No default

ApConfig

Defined in fuchsia.wlan.sme/sme.fidl

FieldTypeDescriptionDefault
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

FieldTypeDescriptionDefault
running_ap Ap? No default

ClientSme_WmmStatus_Response

Defined in fuchsia.wlan.sme/sme.fidl

FieldTypeDescriptionDefault
resp fuchsia.wlan.internal/WmmStatusResponse No default

ConnectRequest

Defined in fuchsia.wlan.sme/sme.fidl

FieldTypeDescriptionDefault
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

ConnectResult

Defined in fuchsia.wlan.sme/sme.fidl

FieldTypeDescriptionDefault
code fuchsia.wlan.ieee80211/StatusCode No default
is_credential_rejected bool

is_credential_rejected is true if connect failure is likely due to wrong credential. Policy uses this to determine whether to retry with the same password.

No default
is_reconnect bool

If is_reconnect is false, the result comes from the initial connection request. If it's true, the result comes from an SME-initiated reconnection.

No default

DisconnectCause

Defined in fuchsia.wlan.sme/sme.fidl

FieldTypeDescriptionDefault
mlme_event_name DisconnectMlmeEventName No default
reason_code fuchsia.wlan.ieee80211/ReasonCode No default

DisconnectInfo

Defined in fuchsia.wlan.sme/sme.fidl

FieldTypeDescriptionDefault
is_sme_reconnecting bool

Whether SME is attempting to reconnect by itself

No default
disconnect_source DisconnectSource

Where the disconnect originated and associated reason

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

FieldTypeDescriptionDefault
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

FieldTypeDescriptionDefault
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

FieldTypeDescriptionDefault
code ScanErrorCode No default
message string No default

ScanResult

Defined in fuchsia.wlan.sme/sme.fidl

FieldTypeDescriptionDefault
compatible bool No default
timestamp_nanos zx/time No default
bss_description fuchsia.wlan.internal/BssDescription No default

ServingApInfo

Defined in fuchsia.wlan.sme/sme.fidl

FieldTypeDescriptionDefault
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

DisconnectMlmeEventName strict

Type: uint32

Defined in fuchsia.wlan.sme/sme.fidl

NameValueDescription
DEAUTHENTICATE_INDICATION 1
DISASSOCIATE_INDICATION 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

Ordinal
VariantTypeDescription
1 response ClientSme_WmmStatus_Response
2 err int32

ClientStatusResponse strict

Defined in fuchsia.wlan.sme/sme.fidl

Ordinal
VariantTypeDescription
1 connected ServingApInfo
2 connecting fuchsia.wlan.ieee80211/Ssid
3 idle Empty

Credential flexible

Defined in fuchsia.wlan.sme/sme.fidl

Information required to connect to a protected network.

Ordinal
VariantTypeDescription
1 none Empty

The network does not use credentials (open networks).

2 password vector<uint8>

Plaintext password (handled as binary data).

3 psk vector<uint8>

Hash representation of the network passphrase (handled as binary data).

DisconnectSource strict

Defined in fuchsia.wlan.sme/sme.fidl

Ordinal
VariantTypeDescription
1 ap DisconnectCause
2 user UserDisconnectReason
3 mlme DisconnectCause

ScanRequest strict

Defined in fuchsia.wlan.sme/sme.fidl

Ordinal
VariantTypeDescription
1 active ActiveScanRequest
2 passive PassiveScanRequest