Home | History | Annotate | Download | only in wifi

Lines Matching refs:network

77  *       (key, value) pairs for a given network are grouped together and can
80 * network. A network is identified by a unique ID_KEY. If there is no
111 /* configured networks with network id as the key */
115 /* A network id is a unique identifier for a network configured in the
116 * supplicant. Network ids are generated when the supplicant reads
119 * that is generated from SSID and security type of the network. A mapping
120 * from the generated unique id to network id of the network is needed to
186 loge("Enable network failed on " + config.networkId);
199 * Selects the specified network for connection. This involves
201 * network while disabling others.
203 * Selecting a network will leave the other networks disabled and
207 * @param netId network to select for connection
208 * @return false if the network id is invalid
213 // Reset the priority of each network at start or if it goes too high.
232 /* Enable the given network while disabling all other networks */
244 * @return network update result
247 // A new network cannot have null SSID
256 /* enable a new network */
276 //If network is already disabled, keep the status
289 * Forget the specified network and save config
291 * @param netId network to forget
309 loge("Failed to remove network " + netId);
315 * Add/update a network. Note that there is no saveConfig operation.
321 * @return network Id
334 * Remove a network. Note that there is no saveConfig operation.
337 * state machine for network removal
339 * @param netId network to be removed
359 * Enable a network. Note that there is no saveConfig operation.
362 * state machine for connecting to a network
364 * @param netId network to be enabled
376 // check just in case the network was removed by someone else.
398 * Disable a network. Note that there is no saveConfig operation.
399 * @param netId network to be disabled
407 * Disable a network. Note that there is no saveConfig operation.
408 * @param netId network to be disabled
409 * @param reason reason code network was disabled
414 WifiConfiguration network = null;
416 /* Only change the reason if the network was not previously disabled */
420 network = config;
422 network != null) {
423 sendConfiguredNetworksChangedBroadcast(network,
494 * Fetch the link properties for a given network id
495 * @return LinkProperties for the given network id
504 * get IP configuration for a given network id
509 * @return DhcpInfoInternal for the given network id
535 * set IP configuration for a given network id
551 * clear IP configuration for a given network id
552 * @param network id
566 * Fetch the proxy properties for a given network id
567 * @param network id
568 * @return ProxyProperties for the network id
579 * Return if the specified network is using static IP
580 * @param network id
592 * Should be called when a single network configuration is made.
593 * @param network The network configuration that changed.
597 private void sendConfiguredNetworksChangedBroadcast(WifiConfiguration network,
602 intent.putExtra(WifiManager.EXTRA_WIFI_CONFIGURATION, network);
608 * Should be called when multiple network configuration changes are made.
631 // network-id | ssid | bssid | flags
911 loge("configuration found for missing network, ignored");
964 * network configuration. Otherwise, the networkId should
969 // networkId of INVALID_NETWORK_ID means we want to create a new network
978 loge("Failed to add a network!");
1156 loge("Failed to set a network variable, removed network: " + netId);
1161 /* An update of the network variables requires reading them