Home
last modified time | relevance | path

Searched refs:ssid (Results 1 – 25 of 88) sorted by relevance

1234

/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/compliance/
DVapeInteropTest.py51 self.ssid = utils.rand_ascii_str(hostapd_constants.AP_SSID_LENGTH_2G)
87 ssid=self.ssid)
88 asserts.assert_true(self.dut.associate(self.ssid),
95 ssid=self.ssid,
99 self.dut.associate(self.ssid,
108 ssid=self.ssid)
109 asserts.assert_true(self.dut.associate(self.ssid),
116 ssid=self.ssid,
120 self.dut.associate(self.ssid,
129 ssid=self.ssid)
[all …]
DWlanSecurityComplianceABGTest.py153 self.ssid = utils.rand_ascii_str(SSID_LENGTH_DEFAULT)
183 self.ssid = None
216 ssid=self.ssid,
223 self.dut.associate(self.ssid,
233 ssid=self.ssid,
240 self.dut.associate(self.ssid,
250 ssid=self.ssid,
257 self.dut.associate(self.ssid,
267 ssid=self.ssid,
274 self.dut.associate(self.ssid,
[all …]
DWlanPhyComplianceABGTest.py135 ssid=self.open_network_2g['SSID'],
144 ssid=self.open_network_2g['SSID'],
153 ssid=self.open_network_2g['SSID'],
162 ssid=self.open_network_2g['SSID'],
171 ssid=self.open_network_2g['SSID'],
180 ssid=self.open_network_2g['SSID'],
189 ssid=self.open_network_2g['SSID'],
199 ssid=self.open_network_2g['SSID'],
209 ssid=self.open_network_2g['SSID'],
220 ssid=self.open_network_2g['SSID'],
[all …]
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/functional/
DWlanTargetSecurityTest.py77 ssid = utils.rand_ascii_str(hostapd_constants.AP_SSID_LENGTH_5G)
89 ssid=ssid,
92 return (ssid, password)
96 ssid, _ = self.setup_ap()
97 asserts.assert_true(self.dut.associate(ssid), 'Failed to associate.')
100 ssid, password = self.setup_ap()
102 self.dut.associate(ssid,
108 ssid, password = self.setup_ap()
110 self.dut.associate(ssid,
116 ssid, password = self.setup_ap()
[all …]
DWlanWirelessNetworkManagementTest.py81 ssid: str,
96 ssid=ssid,
129 ssid = utils.rand_ascii_str(hostapd_constants.AP_SSID_LENGTH_2G)
132 self.setup_ap(ssid, wnm_features=wnm_features)
133 asserts.assert_true(self.dut.associate(ssid), 'Failed to associate.')
144 ssid = utils.rand_ascii_str(hostapd_constants.AP_SSID_LENGTH_2G)
146 self.setup_ap(ssid, wnm_features=wnm_features)
147 asserts.assert_true(self.dut.associate(ssid), 'Failed to associate.')
158 ssid = utils.rand_ascii_str(hostapd_constants.AP_SSID_LENGTH_2G)
162 self.setup_ap(ssid,
[all …]
DConnectionStressTest.py42 self.ssid = rand_ascii_str(10)
71 ssid=self.ssid,
76 ssid=None, argument
105 if not ssid:
106 ssid = self.ssid
108 if not self.dut.associate(ssid,
119 if self.dut.associate(ssid, target_pwd=password):
185 ssid=rand_ascii_str(20),
195 ssid=rand_ascii_str(20),
DWlanRebootTest.py151 self.ssid = utils.rand_ascii_str(hostapd_constants.AP_SSID_LENGTH_2G)
172 ssid, argument
195 ssid=ssid,
201 ssid=ssid,
216 self.log.info('Network (SSID: %s) is up.' % ssid)
361 def wait_for_dut_network_connection(self, ssid): argument
372 'seconds.' % (ssid, self.dut_network_connection_timeout))
376 is_connected = self.dut.is_connected(ssid=ssid)
387 % ssid)
421 % (self.ssid, run, error))
[all …]
DBeaconLossTest.py59 self.ssid = rand_ascii_str(10)
94 ssid=self.ssid)
103 self.log.info("sending associate command for ssid %s", self.ssid)
104 self.dut.associate(target_ssid=self.ssid)
128 self.log.info("sending associate command for ssid %s" % self.ssid)
129 self.dut.associate(target_ssid=self.ssid)
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiScannerTests.config4 …ettings": {"channel": 1}, "wifi-iface" : [{"ssid": "Test_1", "key": "hahahaha", "encryption": "psk…
5 …{"ssid": "Test_1.2", "key": "hahahaha", "encryption": "psk2"},{"ssid": "Test_1.3", "key": "hahahah…
6 …ttings": {"channel": 40}, "wifi-iface" : [{"ssid": "Test_40", "key": "hahahaha", "encryption": "ps…
7 …{"ssid": "Test_40.2", "key": "hahahaha", "encryption": "psk2"},{"ssid": "Test_40.3", "key": "hahah…
10 …ettings": {"channel": 6}, "wifi-iface" : [{"ssid": "Test_6", "key": "hahahaha", "encryption": "psk…
11 …{"ssid": "Test_6.2", "key": "hahahaha", "encryption": "psk2"}, {"ssid": "Test_6.3", "key": "hahah…
12 …ttings": {"channel": 40}, "wifi-iface" : [{"ssid": "Test_40", "key": "hahahaha", "encryption": "ps…
13 …{"ssid": "Test_40.3", "key": "hahahaha", "encryption": "psk2"}, {"ssid": "Test_40.2", "key": "haha…
16 …tings": {"channel": 10}, "wifi-iface" : [{"ssid": "Test_10", "key": "hahahaha", "encryption": "psk…
17 …{"ssid": "Test_10.2", "key": "hahahaha", "encryption": "psk2"}, {"ssid": "Test_10.3", "key": "haha…
[all …]
DWifiChaosTest.py96 ssid = testcase_name
102 uuid=test_tracker_uuid)(lambda: base_test(ssid, hostname))
191 ssid = network[WifiEnums.SSID_KEY]
193 self.dut, ssid)
269 ssid = network[WifiEnums.SSID_KEY]
273 self.log.info("Connecting to %s" % ssid)
278 wutils.wifi_forget_network(self.dut, ssid)
283 (ssid, attempt, e))
289 raise signals.TestFailure("Failed to connect to %s" % ssid)
291 def get_band_and_chan(self, ssid): argument
[all …]
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan_policy/
DSavedNetworksTest.py76 def save_bad_network(self, fd, ssid, security_type, password=""): argument
86 if fd.wlan_policy_controller.save_network(ssid,
91 % ssid)
94 def check_get_saved_network(self, fd, ssid, security_type, credential_type, argument
109 "ssid": ssid,
157 def save_and_check_network(self, ssid, security_type, password=""): argument
169 ssid, security_type, password=password):
171 self.check_get_saved_network(fd, ssid, security_type,
175 def start_ap(self, ssid, security_type, password=None, hidden=False): argument
197 ssid,
[all …]
DPolicyScanTest.py59 ssid=self.wpa2_network_2g["SSID"],
66 ssid=self.wpa2_network_5g["SSID"],
74 ssid=self.open_network_2g["SSID"],
80 ssid=self.open_network_5g["SSID"],
177 def assert_network_is_in_results(self, scan_results, *, ssid): argument
188 if ssid not in scan_results:
190 'Network "%s" was not found in scan results: %s', ssid,
202 for ssid in self.all_ssids:
203 self.assert_network_is_in_results(scan_results, ssid=ssid)
210 for ssid in self.all_ssids:
[all …]
DStartStopClientConnectionsTest.py46 self.ssid = rand_ascii_str(hostapd_constants.AP_SSID_LENGTH_2G)
59 self.ssid,
77 def connect_and_validate(self, fd, ssid, security_type, expected_response): argument
83 ssid, security_type)
162 self.ssid, self.security_type, password=self.password):
165 self.connect_and_validate(fd, self.ssid, self.security_type,
174 self.ssid, self.security_type, password=self.password):
180 self.connect_and_validate(fd, self.ssid, self.security_type,
184 self.ssid, self.security_type):
192 self.ssid, self.security_type, DISCONNECTED,
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/
Dhostapd_ap_preset.py54 ssid=None, argument
135 ssid=ssid,
194 ssid=ssid,
219 ssid=ssid,
243 ssid=ssid,
293 ssid=ssid,
360 ssid=ssid,
383 ssid=ssid,
388 ssid=ssid,
394 ssid=ssid,
[all …]
Dhostapd_bss_settings.py30 def __init__(self, name, ssid, hidden=False, security=None, bssid=None): argument
32 self.ssid = ssid
43 if self.ssid:
44 settings['ssid'] = self.ssid
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/performance/
DWlanRvrTest.py324 ssid, argument
365 ssid,
408 ssid=ssid,
430 ssid=None, argument
488 ssid,
623 ssid = rand_ascii_str(20)
627 ssid=ssid,
629 graph_data = self.run_rvr(ssid,
643 ssid = rand_ascii_str(20)
647 ssid=ssid,
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/lib_controllers/
Dwlan_policy_controller.py180 def save_and_connect(self, ssid, security, password=None, timeout=30): argument
196 if not self.save_network(ssid, security, password=password):
200 if not self.send_connect_command(ssid, security):
202 return self.wait_for_connect(ssid, security, timeout=timeout)
205 ssid, argument
225 if not self.save_network(ssid, security, password=password):
227 return self.wait_for_connect(ssid, security, timeout=timeout)
230 ssid, argument
254 if not self.remove_network(ssid, security_type, password=password):
256 return self.wait_for_disconnect(ssid,
[all …]
/tools/tradefederation/core/util_apps/WifiUtil/src/com/android/tradefed/utils/wifi/
DWifiConnector.java128 final String ssid, in addNetwork() argument
135 int networkId = getNetworkId(ssid); in addNetwork()
141 config.SSID = quote(ssid); in addNetwork()
168 private int getNetworkId(String ssid) { in getNetworkId() argument
171 if (quote(ssid).equals(config.SSID)) { in getNetworkId()
244 final String ssid, in connectToNetwork() argument
255 updateLastNetwork(ssid, psk, scanSsid); in connectToNetwork()
277 final int networkId = addNetwork(ssid, psk, scanSsid, disableMacRandomization); in connectToNetwork()
279 throw new WifiException(String.format("failed to enable network %s", ssid)); in connectToNetwork()
282 Log.w(TAG, String.format("failed to save configuration %s", ssid)); in connectToNetwork()
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/third_party_ap_profiles/
Dasus.py26 ssid=None): argument
133 ssid=ssid,
155 ssid=None): argument
232 ssid=ssid,
251 ssid=None): argument
356 ssid=ssid,
377 ssid=None): argument
465 ssid=ssid,
485 ssid=None): argument
556 ssid=ssid,
Dtplink.py26 ssid=None): argument
137 ssid=ssid,
158 ssid=None): argument
263 ssid=ssid,
285 ssid=None): argument
381 ssid=ssid,
401 ssid=None): argument
455 ssid=ssid,
Dlinksys.py26 ssid=None): argument
104 ssid=ssid,
125 ssid=None): argument
182 ssid=ssid,
200 ssid=None): argument
296 ssid=ssid,
Dactiontec.py25 ssid=None): argument
68 ssid=ssid,
86 ssid=None): argument
141 ssid=ssid,
/tools/tradefederation/core/src/com/android/tradefed/device/
DWifiHelper.java311 public boolean addOpenNetwork(String ssid) throws DeviceNotAvailableException { in addOpenNetwork() argument
312 return addOpenNetwork(ssid, false); in addOpenNetwork()
319 public boolean addOpenNetwork(String ssid, boolean scanSsid) in addOpenNetwork() argument
321 int id = asInt(runWifiUtil("addOpenNetwork", "ssid", ssid, "scanSsid", in addOpenNetwork()
339 public boolean addWpaPskNetwork(String ssid, String psk) throws DeviceNotAvailableException { in addWpaPskNetwork() argument
340 return addWpaPskNetwork(ssid, psk, false); in addWpaPskNetwork()
347 public boolean addWpaPskNetwork(String ssid, String psk, boolean scanSsid) in addWpaPskNetwork() argument
349 int id = asInt(runWifiUtil("addWpaPskNetwork", "ssid", ssid, "psk", psk, "scan_ssid", in addWpaPskNetwork()
563 public boolean connectToNetwork(String ssid, String psk, String urlToCheck) in connectToNetwork() argument
565 return WifiConnectionResult.SUCCESS == connectToNetwork(ssid, psk, urlToCheck, false); in connectToNetwork()
[all …]
DIWifiHelper.java78 boolean addOpenNetwork(String ssid) throws DeviceNotAvailableException; in addOpenNetwork() argument
92 boolean addOpenNetwork(String ssid, boolean scanSsid) throws DeviceNotAvailableException; in addOpenNetwork() argument
102 boolean addWpaPskNetwork(String ssid, String psk) throws DeviceNotAvailableException; in addWpaPskNetwork() argument
113 …boolean addWpaPskNetwork(String ssid, String psk, boolean scanSsid) throws DeviceNotAvailableExcep… in addWpaPskNetwork() argument
230 boolean connectToNetwork(String ssid, String psk, String urlToCheck) in connectToNetwork() argument
244 String ssid, String psk, String urlToCheck, boolean scanSsid) in connectToNetwork() argument
260 String ssid, String psk, String urlToCheck, boolean scanSsid, String defaultType) in connectToNetwork() argument
/tools/test/connectivity/acts_tests/tests/google/nr/nsa5gmmw/
DNsa5gMmwTetheringTest.py140 ssid = rand_ascii_str(10)
150 ssid=ssid,
158 ssid):
220 ssid = "\"" + rand_ascii_str(10) + "\""
222 "Starting WiFi Tethering test with ssid: {}".format(ssid))
232 ssid=ssid,
284 for ssid in ssid_list:
286 self.log.info("SSID: <{}>, Password: <{}>".format(ssid, password))
290 ssid,
292 fail_list[ssid] = password
[all …]

1234