Project: /_project.yaml Book: /_book.yaml
Defined in fuchsia.wlan.policy/access_point_provider.fidl
The AccessPointProvider API provides a mechanism for access point control and is intended to be called by applications or entities representing the user (ex, Settings). This API is not intended to be called by other applications to change wlan state without explicit user control.
The second aim of this API design is to eliminate the “last-caller wins” paradigm by limiting the number of controlling applications. A single caller at a time is permitted to make API calls that impact wlan state.
Control channel used by a single caller to trigger wlan access point (ap) mode state changes. The caller also provides a channel to receive wlan ap updates. Only one caller can have the control channel open at a time. Attempts to register as a controller while there is an active control registration will result in the new caller's provided channel being closed.
Defined in fuchsia.wlan.policy/access_point_provider.fidl
The AccessPointListener API provides a mechanism for callers to receive state change updates about wlan access point operation.
Registration for callers to receive wlan access point (ap) mode state updates.
Defined in fuchsia.wlan.policy/access_point_provider.fidl
AccessPointControllers allow the caller to trigger wlan state changes. This includes whether the device will act as an access point and provide a wlan network for other co-located devices.
Enables wlan to initiate AccessPoint operation using the provided network configuration, connectivity mode and band.
Deactivate AccessPoint operation for a specified network configuration.
Deactivates all AccessPoints currently operating on the device.
Defined in fuchsia.wlan.policy/access_point_provider.fidl
AccessPoint operation status changes along with associated connection status.
Updates registered listeners with the current summary of wlan access point operating states. This will be called when there are changes with active access point networks - both the number of access points and their individual activity. Registered listeners are responsible for deciding what information has changed (this is dependent on when they last acknowledged the update).
Defined in fuchsia.wlan.policy/client_provider.fidl
The ClientProvider API provides a mechanism for wlan control and is intended to be called by applications or entities representing the user (ex, Settings). This API is not intended to be called by other applications to change wlan state without explicit user control.
The second aim of this API design is to eliminate the “last-caller wins” paradigm by limiting the number of controlling applications. A single caller at a time is permitted to make API calls that impact wlan state.
Control channel used by a single caller to trigger wlan client mode state changes. The caller also provides a channel to receive wlan updates. Only one caller can have the control channel open at a time. Attempts to register as a controller while there is an active control registration will result in the new caller's provided channel being closed.
Defined in fuchsia.wlan.policy/client_provider.fidl
The ClientListener API provides a mechanism for callers to receive state change updates about wlan operation.
Registration for callers to receive wlan client mode state updates.
Defined in fuchsia.wlan.policy/client_provider.fidl
ClientControllers allow the caller to trigger wlan state changes. This includes whether connections will be attempted, scan triggers and saved network configuration changes.
Individual calls provided by the API are triggered after registering with the wlan ClientProvider via the OpenControlChannel call.
Enables wlan to initiate connections to networks (either autoconnect to saved networks or act on incoming calls triggering connections). Depending on the underlying capabilities of the device, this call may impact other device operation (for example, acting as an access point).
Disables connections to wlan networks and tears down any existing connections.
Triggers a network scan. Note, even in normal operation, some scan requests may be rejected due to timing with connection establishment or other critical connection maintenance. If the scan is cancelled or errors, the caller is notified via a status update in the ScanResultIterator.
Saves a network and any credential information needed to connect. Multiple entries for the same NetworkIdentifier can exist if the credentials are different. If a caller attempts to save a NetworkConfig with the same NetworkIdentifier and same Credentials as a previously saved network the method will effectively be a no-op.
Removes a saved network configuration, if one exists. This method will automatically trigger a disconnection if the NetworkConfig was used to establish the connection.
Retrieve the currently saved networks using the provided iterator.
Request to attempt a connection to the specified network. The target of the connect call must already be a saved network. This call is not a blocking call for the duration of the connection attempt. If the call cannot be immediately attempted, a failure status will be returned. If the connection request will be attempted, an acknowledgment status will be returned. Updates to the connection status are disseminated via the ClientStateUpdates protocol. If the connect attempt fails, the service will fall back to default behavior with scanning and connecting via network selection.
Defined in fuchsia.wlan.policy/client_provider.fidl
Iterator used to send back scan results to the caller. The corresponding channel will be closed after the scan is complete and results are returned or fails due to an error.
Allows caller to request the next set of scan results. When all scan results have been handled, GetNext will return an empty vector and the channel will be closed. If an error is encountered during the scan, it will be returned after all scan results have been retrieved.
Defined in fuchsia.wlan.policy/client_provider.fidl
Iterator used by callers to retrieve saved network information.
Method allowing the next block of saved networks to be handled.
Defined in fuchsia.wlan.policy/client_provider.fidl
Wlan status changes for client connections and the associated network state. These updates contain information about whether or not the device will attempt to connect to networks, saved network configuration change information, individual connection state information by NetworkIdentifier and connection attempt information. The connection and network related calls are based on NetworkIdentifier to allow multiple simultaneous connections on supporting devices.
Updates registered listeners with the current summary of wlan client state. This will be called when there is any change to the state and the registered listeners are responsible for deciding what information has changed (since this is dependent on when they last acknowledged the update).
generated
generated
generated
Defined in fuchsia.wlan.policy/types.fidl
Primary means of distinguishing between available networks - the combination of the (mostly) human recognizable name and the security type. The security type is used to distinguish between different network protection (or lack thereof) types.
Defined in fuchsia.wlan.policy/types.fidl
Empty struct used in place of optional values.
Type: uint32
Defined in fuchsia.wlan.policy/access_point_provider.fidl
Connectivity operating mode for the access point.
Type: uint32
Defined in fuchsia.wlan.policy/access_point_provider.fidl
Current detailed operating state for an access point.
Type: uint32
Defined in fuchsia.wlan.policy/client_provider.fidl
Wlan scan error codes.
Type: uint32
Defined in fuchsia.wlan.policy/client_provider.fidl
Wlan operating state for client connections
Type: uint32
Defined in fuchsia.wlan.policy/client_provider.fidl
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.
Type: uint32
Defined in fuchsia.wlan.policy/client_provider.fidl
Potential error cases for saving and removing network configurations. This is intentionally sparse and will be expanded as use cases develop.
Type: uint32
Defined in fuchsia.wlan.policy/client_provider.fidl
Connection states used to update registered wlan observers.
Type: uint32
Defined in fuchsia.wlan.policy/client_provider.fidl
Disconnect and connection attempt failure status codes
Type: uint32
Defined in fuchsia.wlan.policy/types.fidl
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.
Type: uint32
Defined in fuchsia.wlan.policy/types.fidl
Operating band for wlan control request and status updates.
Defined in fuchsia.wlan.policy/access_point_provider.fidl
Information about the individual operating access points. This includes limited information about any connected clients.
Defined in fuchsia.wlan.policy/access_point_provider.fidl
Connected client information. This is initially limited to the number of connected clients.
Defined in fuchsia.wlan.policy/client_provider.fidl
Information from an observed wlan network. This includes the network name, security type, detected access point information and network compatibility information.
Defined in fuchsia.wlan.policy/client_provider.fidl
Information for a particular ScanResult entry.
Defined in fuchsia.wlan.policy/client_provider.fidl
Information about the current client state for the device. This includes if the device will attempt to connect to access points (when applicable), any existing connections and active connection attempts and their outcomes.
Defined in fuchsia.wlan.policy/client_provider.fidl
Information about current network connections and attempts.
Defined in fuchsia.wlan.policy/types.fidl
Network information used to establish a connection.
generated
generated
generated
Defined in fuchsia.wlan.policy/types.fidl
Information used to verify access to a target network.