Namespaces

Enumerations

enum class ConnectivityMode : uint32_t
Name Value Comments
LOCAL_ONLY 1u

Allows for connectivity between co-located devices. Local only access points do not
forward traffic to other network connections.

UNRESTRICTED 2u

Allows for full connectivity with traffic potentially being forwarded
to other network connections (ex., tethering mode).

Connectivity operating mode for the access point.

Defined at line 45 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

enum class OperatingState : uint32_t
Name Value Comments
FAILED 1u

Access point operation failed. Access points that enter the failed state will
have one update informing registered listeners of the failure and then an
additional update with the access point removed from the list.

STARTING 2u

Access point operation is starting up.

ACTIVE 3u

Access point operation is active.

Current detailed operating state for an access point.

Defined at line 63 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

enum class ScanErrorCode : uint32_t
Name Value Comments
GENERAL_ERROR 1u

Unexpected scan error without a specific cause.

CANCELLED 2u

Scan was cancelled and stopped. This can happen due to operating state changes,
higher priority operations or conflicting requests.

Wlan scan error codes.

Defined at line 122 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

enum class WlanClientState : uint32_t
Name Value
CONNECTIONS_DISABLED 1u
CONNECTIONS_ENABLED 2u

Wlan operating state for client connections

Defined at line 141 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

enum class Compatibility : uint32_t
Name Value Comments
SUPPORTED 1u

Denotes that the network is supported and connections can be attempted (given
appropriate credentials when required).

DISALLOWED_INSECURE 2u

The network uses a deprecated security protocol and is explicitly not supported.

DISALLOWED_NOT_SUPPORTED 3u

The network uses a currently unsupported security protocol.

High level compatibility for the scan result. Not all network security protocols

are supported. New protocols may be detected before they are connectable

and deprecated protocols may explicitly be unsupported due to security and

privacy concerns.

Defined at line 158 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

enum class NetworkConfigChangeError : uint32_t
Name Value
GENERAL_ERROR 1u
NETWORK_CONFIG_MISSING_FIELD_ERROR 2u
NETWORK_CONFIG_WRITE_ERROR 3u
SSID_EMPTY_ERROR 4u
CREDENTIAL_LEN_ERROR 6u
INVALID_SECURITY_CREDENTIAL_ERROR 7u
UNSUPPORTED_CREDENTIAL_ERROR 8u

Potential error cases for saving and removing network configurations.

Defined at line 178 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

enum class ConnectionState : uint32_t
Name Value Comments
FAILED 1u

The connection attempt was terminated due to an error.

DISCONNECTED 2u

The network is disconnected.

CONNECTING 3u

The device is attempting a connection to a network.

CONNECTED 4u

The connection is now established. Note: This does not make any guarantees
about higher level network reachability.

Connection states used to update registered wlan observers.

Defined at line 206 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

enum class DisconnectStatus : uint32_t
Name Value Comments
TIMED_OUT 1u

The requested connection attempt failed due to timeout.

CREDENTIALS_FAILED 2u

The requested connection attempt failed due to suspected credential failure.

CONNECTION_STOPPED 3u

The existing connection was explicitly disconnected by an action of wlan
service on this device. This can be the result of wlan connections being
disabled, network configuration being removed or a connection attempt to a
different network (as examples).

CONNECTION_FAILED 4u

The existing connection failed unexpectedly in a way that is not an
explicitly triggered disconnect by the device (or user). Examples
of unexpected disconnections include: an underlying error (driver,
firmware, etc.), beacon loss, access point failure.

Disconnect and connection attempt failure status codes

Defined at line 229 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

enum class RequestStatus : uint32_t
Name Value
ACKNOWLEDGED 0u
REJECTED_NOT_SUPPORTED 1u
REJECTED_INCOMPATIBLE_MODE 2u
REJECTED_ALREADY_IN_USE 3u
REJECTED_DUPLICATE_REQUEST 4u

Defined at line 256 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

enum class SecurityType : uint32_t
Name Value
NONE 1u
WEP 2u
WPA 3u
WPA2 4u
WPA3 5u

High level protection type for the network. This does not convey all details needed

for the mechanism of the connection, but is primarily used to map the target network

to proper scan results.

Defined at line 288 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

enum class OperatingBand : uint32_t
Name Value Comments
ANY 1u

Allows for band switching depending on device operating mode and environment.

ONLY_2_4GHZ 2u

Restricted to 2.4 GHz bands only.

ONLY_5GHZ 3u

Restricted to 5 GHz bands only.

Operating band for wlan control request and status updates.

Defined at line 348 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

Records

Functions

  • zx_status_t Clone (::fuchsia::wlan::policy::ConnectivityMode value, ::fuchsia::wlan::policy::ConnectivityMode * result)

    Defined at line 56 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (::fuchsia::wlan::policy::OperatingState value, ::fuchsia::wlan::policy::OperatingState * result)

    Defined at line 77 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (::fuchsia::wlan::policy::ScanErrorCode value, ::fuchsia::wlan::policy::ScanErrorCode * result)

    Defined at line 132 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (::fuchsia::wlan::policy::WlanClientState value, ::fuchsia::wlan::policy::WlanClientState * result)

    Defined at line 148 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (::fuchsia::wlan::policy::Compatibility value, ::fuchsia::wlan::policy::Compatibility * result)

    Defined at line 171 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (::fuchsia::wlan::policy::NetworkConfigChangeError value, ::fuchsia::wlan::policy::NetworkConfigChangeError * result)

    Defined at line 195 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (::fuchsia::wlan::policy::ConnectionState value, ::fuchsia::wlan::policy::ConnectionState * result)

    Defined at line 222 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (::fuchsia::wlan::policy::DisconnectStatus value, ::fuchsia::wlan::policy::DisconnectStatus * result)

    Defined at line 250 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (::fuchsia::wlan::policy::RequestStatus value, ::fuchsia::wlan::policy::RequestStatus * result)

    Defined at line 269 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (::fuchsia::wlan::policy::SecurityType value, ::fuchsia::wlan::policy::SecurityType * result)

    Defined at line 301 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (::fuchsia::wlan::policy::OperatingBand value, ::fuchsia::wlan::policy::OperatingBand * result)

    Defined at line 360 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::wlan::policy::AccessPointProviderGetControllerRequest & _value, ::fuchsia::wlan::policy::AccessPointProviderGetControllerRequest * _result)

    Defined at line 439 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::wlan::policy::AccessPointListenerGetListenerRequest & _value, ::fuchsia::wlan::policy::AccessPointListenerGetListenerRequest * _result)

    Defined at line 487 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::wlan::policy::ClientProviderGetControllerRequest & _value, ::fuchsia::wlan::policy::ClientProviderGetControllerRequest * _result)

    Defined at line 617 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::wlan::policy::ClientListenerGetListenerRequest & _value, ::fuchsia::wlan::policy::ClientListenerGetListenerRequest * _result)

    Defined at line 665 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::wlan::policy::ClientControllerScanForNetworksRequest & _value, ::fuchsia::wlan::policy::ClientControllerScanForNetworksRequest * _result)

    Defined at line 708 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::wlan::policy::ClientController_SaveNetwork_Response & _value, ::fuchsia::wlan::policy::ClientController_SaveNetwork_Response * _result)

    Defined at line 740 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::wlan::policy::ClientController_RemoveNetwork_Response & _value, ::fuchsia::wlan::policy::ClientController_RemoveNetwork_Response * _result)

    Defined at line 770 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::wlan::policy::ClientControllerGetSavedNetworksRequest & _value, ::fuchsia::wlan::policy::ClientControllerGetSavedNetworksRequest * _result)

    Defined at line 793 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::wlan::policy::ClientController_SaveNetwork_Result & value, ::fuchsia::wlan::policy::ClientController_SaveNetwork_Result * result)

    Defined at line 1088 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::wlan::policy::ClientController_RemoveNetwork_Result & value, ::fuchsia::wlan::policy::ClientController_RemoveNetwork_Result * result)

    Defined at line 1197 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::wlan::policy::AccessPointControllerStartAccessPointResponse & _value, ::fuchsia::wlan::policy::AccessPointControllerStartAccessPointResponse * _result)

    Defined at line 1218 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::wlan::policy::AccessPointControllerStopAccessPointResponse & _value, ::fuchsia::wlan::policy::AccessPointControllerStopAccessPointResponse * _result)

    Defined at line 1239 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::wlan::policy::ClientControllerStartClientConnectionsResponse & _value, ::fuchsia::wlan::policy::ClientControllerStartClientConnectionsResponse * _result)

    Defined at line 1260 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::wlan::policy::ClientControllerStopClientConnectionsResponse & _value, ::fuchsia::wlan::policy::ClientControllerStopClientConnectionsResponse * _result)

    Defined at line 1281 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::wlan::policy::ClientControllerConnectResponse & _value, ::fuchsia::wlan::policy::ClientControllerConnectResponse * _result)

    Defined at line 1302 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::wlan::policy::NetworkIdentifier & _value, ::fuchsia::wlan::policy::NetworkIdentifier * _result)

    Defined at line 1330 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::wlan::policy::ClientControllerConnectRequest & _value, ::fuchsia::wlan::policy::ClientControllerConnectRequest * _result)

    Defined at line 1351 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::wlan::policy::ScanResultIterator_GetNext_Response & _value, ::fuchsia::wlan::policy::ScanResultIterator_GetNext_Response * _result)

    Defined at line 1534 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::wlan::policy::ScanResultIterator_GetNext_Result & value, ::fuchsia::wlan::policy::ScanResultIterator_GetNext_Result * result)

    Defined at line 1644 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::wlan::policy::ClientStateUpdatesOnClientStateUpdateRequest & _value, ::fuchsia::wlan::policy::ClientStateUpdatesOnClientStateUpdateRequest * _result)

    Defined at line 1955 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::wlan::policy::AccessPointStateUpdatesOnAccessPointStateUpdateRequest & _value, ::fuchsia::wlan::policy::AccessPointStateUpdatesOnAccessPointStateUpdateRequest * _result)

    Defined at line 2254 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::wlan::policy::Empty & _value, ::fuchsia::wlan::policy::Empty * _result)

    Defined at line 2303 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::wlan::policy::Credential & value, ::fuchsia::wlan::policy::Credential * result)

    Defined at line 2432 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::wlan::policy::AccessPointControllerStartAccessPointRequest & _value, ::fuchsia::wlan::policy::AccessPointControllerStartAccessPointRequest * _result)

    Defined at line 2571 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::wlan::policy::AccessPointControllerStopAccessPointRequest & _value, ::fuchsia::wlan::policy::AccessPointControllerStopAccessPointRequest * _result)

    Defined at line 2592 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::wlan::policy::ClientControllerSaveNetworkRequest & _value, ::fuchsia::wlan::policy::ClientControllerSaveNetworkRequest * _result)

    Defined at line 2670 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::wlan::policy::ClientControllerRemoveNetworkRequest & _value, ::fuchsia::wlan::policy::ClientControllerRemoveNetworkRequest * _result)

    Defined at line 2691 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::wlan::policy::NetworkConfigIteratorGetNextResponse & _value, ::fuchsia::wlan::policy::NetworkConfigIteratorGetNextResponse * _result)

    Defined at line 2823 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h