Home
last modified time | relevance | path

Searched refs:network (Results 1 – 25 of 98) sorted by relevance

1234

/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiSoftApAcsTest.py111 network, ad = params
112 SSID = network[WifiEnums.SSID_KEY]
182 def start_traffic_and_softap(self, network, softap_band): argument
190 if not network:
196 wutils.connect_to_wifi_network(self.dut_client, network)
199 t = Thread(target=self.run_iperf_client,args=((network,self.dut_client),))
229 network = None
230 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_2G)
238 network = None
239 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_5G)
[all …]
DWifiNetworkSelectorTest.py102 for network in networks:
103 ret = ad.droid.wifiAddNetwork(network)
105 "Failed to add network %s" % network)
111 def connect_and_verify_connected_bssid(self, network): argument
121 expected_ssid = network['SSID']
122 expected_bssid = network['bssid']
154 network = self.reference_networks[AP_1]['5g'].copy()
156 network['bssid'] = self.bssid_map[AP_1]['5g'][network["SSID"]]
157 self.connect_and_verify_connected_bssid(network)
177 network = self.reference_networks[AP_1]['5g'].copy()
[all …]
DWifiAutoUpdateTest.py166 for network in networks:
167 ssid = network[SSID]
170 wutils.wifi_connect(self.dut, network, num_of_tries=6)
171 self.wifi_config_list.append(network)
172 self.pre_default_mac[network[SSID]] = self.get_sta_mac_address()
173 self.pre_random_mac[network[SSID]] = \
174 self.dut.droid.wifigetRandomizedMacAddress(network)
224 def add_network_and_enable(self, network): argument
231 ret = self.dut.droid.wifiAddNetwork(network)
232 asserts.assert_true(ret != -1, "Add network %r failed" % network)
[all …]
DWifiLinkProbeTest.py77 def _test_link_probe_does_not_crash_device(self, network): argument
89 wutils.wifi_connect(self.dut, network, num_of_tries=3)
98 expected = network[WifiEnums.SSID_KEY]
104 def _test_link_probe_ap_attenuated(self, network): argument
117 wutils.wifi_connect(self.dut, network, num_of_tries=3)
128 expected = network[WifiEnums.SSID_KEY]
138 network = self.reference_networks[0]["2g"]
139 self._test_link_probe_does_not_crash_device(network)
143 network = self.reference_networks[0]["5g"]
144 self._test_link_probe_does_not_crash_device(network)
[all …]
DWifiIOTTwPkg1Test.py75 for network in self.iot_networks:
76 SSID = network['SSID'].replace('-','_')
77 self.ssid_map[SSID] = network
107 def connect_to_wifi_network(self, network): argument
113 SSID = network[WifiEnums.SSID_KEY]
118 wutils.wifi_connect(self.dut, network, num_of_tries=3)
120 def run_iperf_client(self, network): argument
133 SSID = network[WifiEnums.SSID_KEY]
162 def run_iperf_server(self, network): argument
178 SSID = network[WifiEnums.SSID_KEY]
[all …]
DWifiMacRandomizationTest.py142 def get_randomized_mac(self, network): argument
152 return self.dut.droid.wifigetRandomizedMacAddress(network)
154 def connect_to_network_and_verify_mac_randomization(self, network, argument
166 wutils.connect_to_wifi_network(self.dut, network)
167 return self.verify_mac_randomization(network, status=status)
169 def verify_mac_randomization_and_add_to_list(self, network, mac_list): argument
179 network)
182 ' for this network %s.' % network)
185 def verify_mac_randomization(self, network, status=RANDOMIZATION_PERSISTENT): argument
196 randomized_mac = self.get_randomized_mac(network)
[all …]
DWifiRvrTwTest.py86 for network in self.iot_networks:
87 SSID = network['SSID'].replace('-','_')
88 self.ssid_map[SSID] = network
309 def connect_to_wifi_network(self, network): argument
315 SSID = network[WifiEnums.SSID_KEY]
320 wutils.wifi_connect(self.dut, network, num_of_tries=3)
322 def run_iperf_client(self, network): argument
335 SSID = network[WifiEnums.SSID_KEY]
371 def run_iperf_server(self, network): argument
384 SSID = network[WifiEnums.SSID_KEY]
[all …]
DWifiChaosTest.py185 def scan_and_connect_by_id(self, network, net_id): argument
192 ssid = network[WifiEnums.SSID_KEY]
215 def send_link_probes(self, network): argument
231 expected = network[WifiEnums.SSID_KEY]
253 def run_connect_disconnect(self, network, hostname, rpm_port, rpm_ip, argument
270 ssid = network[WifiEnums.SSID_KEY]
271 net_id = self.dut.droid.wifiAddNetwork(network)
272 asserts.assert_true(net_id != -1, "Add network %s failed" % network)
274 self.scan_and_connect_by_id(network, net_id)
321 network = {}
[all …]
DWifiTetheringTest.py50 self.network = {"SSID": "hotspot_%s" % utils.rand_ascii_str(6),
145 self.network[wutils.WifiEnums.SSID_KEY],
146 self.network[wutils.WifiEnums.PWD_KEY],
160 wutils.wifi_forget_network(dut, self.network["SSID"])
162 wutils.wifi_connect(dut, self.network)
176 wutils.wifi_forget_network(ad, self.network["SSID"])
179 wutils.wifi_connect(ad, self.network)
195 dutils.connect_wifi(wd, self.network)
251 wutils.wifi_connect(ad, self.network)
252 dutils.connect_wifi(wd, self.network)
[all …]
DWifiIOTtpeTest.py65 for network in self.iot_networks:
66 SSID = network['SSID'].replace('-','_')
67 self.ssid_map[SSID] = network
86 def connect_to_wifi_network(self, network): argument
92 SSID = network[WifiEnums.SSID_KEY]
97 wutils.wifi_connect(self.dut, network, num_of_tries=3)
99 def run_iperf_client(self, network): argument
107 SSID = network[WifiEnums.SSID_KEY]
116 def connect_to_wifi_network_and_run_iperf(self, network): argument
126 self.connect_to_wifi_network(network)
[all …]
DWifiSoftApPerformanceTest.py131 for network in testcase_params['ap_networks']:
133 network['ap_id'], network['interface_id'], network['channel']))
134 self.access_points[network['ap_id']].set_channel(
135 network['interface_id'], network['channel'])
154 for network in testcase_params['ap_networks']:
155 for connected_dut in network['connected_dut']:
157 connected_dut, self.ap_networks[network['ap_id']][
158 network['interface_id']]))
160 self.ap_networks[network['ap_id']][
161 network['interface_id']],
DWifiCrashTest.py71 self.network = self.reference_networks[0]["2g"]
103 wutils.wifi_connect(self.dut, self.network, num_of_tries=3)
111 if wifi_info[WifiEnums.SSID_KEY] != self.network[WifiEnums.SSID_KEY]:
127 wutils.wifi_connect(self.dut, self.network, num_of_tries=3)
134 if wifi_info[WifiEnums.SSID_KEY] != self.network[WifiEnums.SSID_KEY]:
150 wutils.wifi_connect(self.dut, self.network, num_of_tries=3)
164 if wifi_info[WifiEnums.SSID_KEY] != self.network[WifiEnums.SSID_KEY]:
180 wutils.wifi_connect(self.dut, self.network, num_of_tries=3)
187 if wifi_info[WifiEnums.SSID_KEY] != self.network[WifiEnums.SSID_KEY]:
DWifiTeleCoexTest.py49 self.network = { WifiEnums.SSID_KEY : self.wifi_network_ssid,
73 def connect_to_wifi(self, ad, network): argument
86 wifi_utils.wifi_connect(ad, network)
88 network[WifiEnums.SSID_KEY], ad.serial))
248 self.connect_to_wifi(self.dut, self.network)
270 self.connect_to_wifi(self.dut, self.network)
294 self.connect_to_wifi(self.dut, self.network)
316 self.connect_to_wifi(self.dut, self.network)
338 self.connect_to_wifi(self.dut, self.network)
363 self.connect_to_wifi(self.dut, self.network)
[all …]
DWifiTetheringPowerTest.py45 self.network = { "SSID": self.ssid, "password": self.password }
176 wutils.wifi_connect(self.tethered_devices[0], self.network)
188 wutils.wifi_connect(self.tethered_devices[0], self.network)
201 wutils.wifi_connect(ad, self.network)
214 wutils.wifi_connect(ad, self.network)
226 wutils.wifi_connect(self.tethered_devices[0], self.network)
238 wutils.wifi_connect(self.tethered_devices[0], self.network)
251 wutils.wifi_connect(ad, self.network)
264 wutils.wifi_connect(ad, self.network)
/tools/test/connectivity/acts_tests/tests/google/wifi/wifi6e/
DWifiNetworkSelector6eTest.py80 network = self.ap1.copy()
81 network["bssid"] = self.bssid_map[0]["6g"]
82 self.connect_and_verify_connected_bssid(network)
105 network = ap2.copy()
106 network["bssid"] = self.bssid_map[1]["6g"]
107 self.connect_and_verify_connected_bssid(network)
130 network = ap2.copy()
131 network["bssid"] = self.bssid_map[1]["6g"]
132 self.connect_and_verify_connected_bssid(network)
153 network = self.ap1.copy()
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/lib_controllers/
Dwlan_policy_controller.py364 for network in update['result']['networks']:
365 if network['id']['ssid'] == ssid or network['id'][
367 if 'state' not in network:
370 elif network['state'].lower() == STATE_CONNECTED.lower():
432 for network in update['result']['networks']:
433 if network['id']['ssid'] == ssid or network['id'][
435 if 'state' not in network or 'status' not in network:
440 elif network['state'].lower() == STATE_CONNECTED.lower():
442 elif network['state'].lower() == STATE_CONNECTING.lower():
449 elif network['state'].lower() != state.lower(
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/
DWifiBaseTest.py334 def update_bssid(self, ap_instance, ap, network, band): argument
344 bssid = ap.get_bssid_from_ssid(network["SSID"], band)
346 if network["security"] == hostapd_constants.WPA2_STRING:
350 if network["security"] == hostapd_constants.WPA_STRING:
352 if network["security"] == hostapd_constants.WEP_STRING:
354 if network["security"] == hostapd_constants.ENT_STRING:
359 if network["security"] == 'none':
376 for network in networks_5g:
377 if 'channel' in network:
379 self.update_bssid(ap_instance, ap, network,
[all …]
Dwifi_test_utils.py510 for network in self.reference_networks:
511 for key in network:
513 if "password" in network[key]:
514 self.secure_networks_2g.append(network[key])
516 self.open_networks_2g.append(network[key])
518 if "password" in network[key]:
519 self.secure_networks_5g.append(network[key])
521 self.open_networks_5g.append(network[key])
1220 network, argument
1252 network,
[all …]
Dota_sniffer.py72 def start_capture(self, network, duration=30): argument
132 def start_capture(self, network, duration=30): argument
314 def _configure_sniffer(self, network, chan, bw): argument
402 def start_capture(self, network, chan, bw, duration=60): argument
415 self._configure_sniffer(network, chan, bw)
463 def _configure_sniffer(self, network, chan, bw): argument
470 self.log.debug('Connecting to network {}'.format(network['SSID']))
472 if 'password' not in network:
473 network['password'] = ''
476 network['SSID'], network['password'])
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/wifi_retail_ap/
D__init__.py323 def set_radio_on_off(self, network, status): argument
330 setting_to_update = {network: {'status': int(status)}}
333 def set_ssid(self, network, ssid): argument
340 setting_to_update = {network: {'ssid': str(ssid)}}
343 def set_channel(self, network, channel): argument
350 if channel not in self.capabilities['channels'][network]:
352 channel, network))
353 setting_to_update = {network: {'channel': str(channel)}}
356 def set_bandwidth(self, network, bandwidth): argument
366 if bandwidth not in self.capabilities['modes'][network]:
[all …]
/tools/test/connectivity/acts_tests/tests/google/wifi/p2p/performance/
DWifiP2pRvrTest.py154 for network in event['data']:
155 ad.droid.wifiP2pDeletePersistentGroup(network['NetworkId'])
208 for network in testcase_params['ap_networks']:
210 network['ap_id'], network['interface_id'], network['channel']))
211 self.access_points[network['ap_id']].set_channel(
212 network['interface_id'], network['channel'])
228 for network in testcase_params['ap_networks']:
229 for connected_dut in network['connected_dut']:
231 connected_dut, self.ap_networks[network['ap_id']][
232 network['interface_id']]))
[all …]
/tools/test/connectivity/acts_tests/tests/google/wifi/aware/performance/
DWifiAwareRvrTest.py191 for network in testcase_params['ap_networks']:
193 network['ap_id'], network['interface_id'], network['channel']))
194 self.access_points[network['ap_id']].set_channel(
195 network['interface_id'], network['channel'])
205 for network in testcase_params['ap_networks']:
206 for connected_dut in network['connected_dut']:
208 connected_dut, self.ap_networks[network['ap_id']][
209 network['interface_id']]))
211 self.ap_networks[network['ap_id']][
212 network['interface_id']],
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/
Ddhcp_config.py51 self.network = subnet
56 self.start = self.network[2]
58 if not self.start in self.network:
66 self.end = self.network[-2]
68 if not self.end in self.network:
79 if not router in self.network:
87 for host in self.network.hosts():
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/cellular/
Dcellular_hotspot_traffic_power_test.py66 self.network = getattr(self, self.CONFIG_KEY_WIFI)
68 if not (wutils.WifiEnums.SSID_KEY in self.network
69 and wutils.WifiEnums.PWD_KEY in self.network):
85 self.network = {
110 self.network[wutils.WifiEnums.SSID_KEY],
111 self.network[wutils.WifiEnums.PWD_KEY],
115 self.network,
/tools/test/connectivity/acts/framework/acts/controllers/
Dpacket_capture.py157 network = {}
162 network[BSSID] = line.split('(')[0].split()[-1]
166 network[LEVEL] = int(float(value.split()[0]))
168 network[FREQUENCY] = int(value)
170 network[SSID] = value
171 scan_networks.append(network)
172 network = {}
202 for network in found_networks:
203 if network[SSID] == ssid:

1234