Home | History | Annotate | Download | only in wifi

Lines Matching refs:network

43       network.
65 "Need at least one reference network with psk.")
99 def scan_and_connect_by_ssid(self, network):
100 """Scan for network and connect using network information.
103 network: A dictionary representing the network to connect to.
106 ssid = network[WifiEnums.SSID_KEY]
109 wutils.wifi_connect(self.dut, network, num_of_tries=3)
111 def scan_and_connect_by_id(self, network, net_id):
112 """Scan for network and connect using network id.
115 net_id: Integer specifying the network id of the network.
118 ssid = network[WifiEnums.SSID_KEY]
161 """Test to connect and disconnect from a network for N times.
164 1. Scan and connect to a network.
173 asserts.assert_true(net_id != -1, "Add network %r failed" % self.wpa_5g)
186 raise signals.TestFailure("Network connect-disconnect failed."
194 """Test to connect to network and hold connection for few hours.
197 1. Scan and connect to a network.
215 raise signals.TestFailure("Network long-connect failed."
228 3. Remove the connected network.
230 5. Device should connect to a network until all networks are
236 for network in self.networks:
237 ssids.append(network[WifiEnums.SSID_KEY])
238 ret = self.dut.droid.wifiAddNetwork(network)
239 asserts.assert_true(ret != -1, "Add network %r failed" % network)
246 self.log.debug("Forget network %s" % cur_ssid)
256 "expected network. SSID = %s" % cur_ssid)
258 self.log.info("Network Config = %s" % network_config)
260 raise signals.TestFailure("All the network configurations were not "