Module network_config

Module network_config 

Source

Structs§

ConnectFailure
HistoricalListsByBssid
Struct for map from BSSID to HistoricalList
NetworkConfig
Saved data for networks, to remember how to connect to a network and determine if we should.
NetworkIdentifier
The network identifier is the SSID and security policy of the network, and it is used to distinguish networks. It mirrors the NetworkIdentifier in fidl_fuchsia_wlan_policy.
PastConnectionData
Data points related to historical connection
PerformanceStats
History of connects, disconnects, and connection strength to estimate whether we can establish and maintain connection with a network and if it is weakening. Used in choosing best network.

Enums§

Credential
The credential of a network connection. It mirrors the fidl_fuchsia_wlan_policy Credential
FailureReason
HiddenProbEvent
Used to allow hidden probability calculations to make use of what happened most recently
NetworkConfigError
Error codes representing problems in trying to save a network config, such as errors saving or removing a network config, or for invalid values when trying to create a network config.
SecurityType

Constants§

HIDDEN_PROBABILITY_HIGH
Threshold for saying that a network has “high probability of being hidden”.
NUM_SCANS_TO_DECIDE_LIKELY_SINGLE_BSS
PROB_HIDDEN_DEFAULT
Default probability that we will actively scan for the network if we haven’t seen it in any passive scan.
PROB_HIDDEN_IF_CONNECT_ACTIVE
If we connected to a network after we had to scan actively to find it, it is likely hidden.
PROB_HIDDEN_IF_CONNECT_PASSIVE
If we have connected to a network from a passive scan, we will never scan for it.
PROB_HIDDEN_IF_SEEN_PASSIVE
If we have seen a network in a passive scan, we will rarely actively scan for it.
PROB_HIDDEN_INCREMENT_NOT_SEEN_ACTIVE
How much we will lower the probability of scanning for an active network if we don’t see the network in an active scan.
PROB_HIDDEN_MIN_FROM_NOT_SEEN_ACTIVE
The lowest we will set the probability for actively scanning for a network.
PROB_IS_HIDDEN
WPA_PSK_BYTE_LEN

Functions§

select_authentication_method
Creates a security authenticator based on supported security protocols and credentials.

Type Aliases§

PastConnectionList
Data structures for storing historical connection information for a BSS.
SaveError