Home
last modified time | relevance | path

Searched refs:WifiEnums (Results 1 – 25 of 96) sorted by relevance

1234

/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiBridgedApTest.py31 WifiEnums = wutils.WifiEnums variable
86 ad, wutils.WifiEnums.CountryCode.US)
143 if len(bands) == 1 and (bands[0] == WifiEnums.WIFI_CONFIG_SOFTAP_BAND_2G):
146 in WifiEnums.softap_band_frequencies[bands[0]],
148 if len(bands) == 2 and (bands[0] == WifiEnums.WIFI_CONFIG_SOFTAP_BAND_2G):
151 in WifiEnums.ALL_2G_FREQUENCIES and
154 in WifiEnums.ALL_5G_FREQUENCIES) or
157 in WifiEnums.ALL_5G_FREQUENCIES and
160 in WifiEnums.ALL_2G_FREQUENCIES),
172 softap_freqs.append(infos[i][WifiEnums.frequency_key])
[all …]
DWifiScannerMultiScanTest.py28 WifiEnums = wutils.WifiEnums variable
186 if not (report_type & WifiEnums.REPORT_EVENT_AFTER_EACH_SCAN):
280 if report_type & WifiEnums.REPORT_EVENT_AFTER_EACH_SCAN:
382 & WifiEnums.REPORT_EVENT_FULL_SCAN_RESULT):
417 scan_settings = [{"band": WifiEnums.WIFI_BAND_24_GHZ,
420 WifiEnums.REPORT_EVENT_AFTER_EACH_SCAN,
422 {"band": WifiEnums.WIFI_BAND_5_GHZ,
425 WifiEnums.REPORT_EVENT_AFTER_EACH_SCAN,
447 scan_settings = [{"band": WifiEnums.WIFI_BAND_24_GHZ,
450 WifiEnums.REPORT_EVENT_AFTER_EACH_SCAN,
[all …]
DWifiNetworkSuggestionTest.py32 WifiEnums = wutils.WifiEnums variable
34 EAP = WifiEnums.Eap
35 EapPhase2 = WifiEnums.EapPhase2
37 Ent = WifiEnums.Enterprise
103 self.passpoint_network[WifiEnums.SSID_KEY] = \
104 self.passpoint_networks[BOINGO][WifiEnums.SSID_KEY][0]
252 network_suggestions, wifi_network[WifiEnums.SSID_KEY], None)
260 wutils.wait_for_connect(self.dut, wifi_network[WifiEnums.SSID_KEY])
265 network_suggestions, wifi_network[WifiEnums.SSID_KEY])
284 [self.wpa_psk_2g], self.wpa_psk_2g[WifiEnums.SSID_KEY], False)
[all …]
DWifiEnterpriseTest.py26 WifiEnums = wutils.WifiEnums variable
30 EAP = WifiEnums.Eap
31 EapPhase2 = WifiEnums.EapPhase2
33 Ent = WifiEnums.Enterprise
94 WifiEnums.SSID_KEY: self.ent_network_5g[WifiEnums.SSID_KEY],
99 self.config_peap1[WifiEnums.SSID_KEY] = \
100 self.ent_network_2g[WifiEnums.SSID_KEY]
104 WifiEnums.SSID_KEY: self.ent_network_2g[WifiEnums.SSID_KEY],
117 WifiEnums.SSID_KEY: self.ent_network_2g[WifiEnums.SSID_KEY],
125 WifiEnums.SSID_KEY: self.ent_network_pwd[WifiEnums.SSID_KEY],
[all …]
DWifiWpa3EnterpriseTest.py22 WifiEnums = wutils.WifiEnums variable
24 EAP = WifiEnums.Eap
25 Ent = WifiEnums.Enterprise
70 WifiEnums.SSID_KEY: self.wpa3_ec2_network[WifiEnums.SSID_KEY],
73 WifiEnums.SECURITY: WPA3_SECURITY,
85 WifiEnums.SSID_KEY: self.wpa3_rsa3072_network[WifiEnums.SSID_KEY],
88 WifiEnums.SECURITY: WPA3_SECURITY,
102 WifiEnums.SSID_KEY: self.wpa3_rsa3072_network[WifiEnums.SSID_KEY],
105 WifiEnums.SECURITY: WPA3_SECURITY,
124 WifiEnums.SSID_KEY: self.wpa3_rsa3072_network[WifiEnums.SSID_KEY],
[all …]
DWifiEnterpriseRoamingTest.py20 WifiEnums = wutils.WifiEnums variable
23 EAP = WifiEnums.Eap
24 EapPhase2 = WifiEnums.EapPhase2
27 Ent = WifiEnums.Enterprise
72 self.ent_roaming_ssid = self.ent_network_2g_a[WifiEnums.SSID_KEY]
74 self.bssid_a = self.ent_network_2g_a[WifiEnums.BSSID_KEY.lower()]
75 self.bssid_b = self.ent_network_2g_b[WifiEnums.BSSID_KEY.lower()]
87 WifiEnums.SSID_KEY: self.ent_roaming_ssid
96 WifiEnums.SSID_KEY: self.ent_roaming_ssid
105 WifiEnums.SSID_KEY: self.ent_roaming_ssid
[all …]
DWifiManagerTest.py39 WifiEnums = wutils.WifiEnums variable
155 SSID = network[WifiEnums.SSID_KEY]
175 ssid_id_dict[WifiEnums.NETID_KEY] = connect_data[WifiEnums.NETID_KEY]
176 ssid_id_dict[WifiEnums.SSID_KEY] = connect_data[WifiEnums.SSID_KEY]
209 if wifi_info[WifiEnums.SSID_KEY] == network1[WifiEnums.SSID_KEY]:
235 WifiEnums.SSID_KEY: network[WifiEnums.SSID_KEY]
240 network[WifiEnums.SSID_KEY])
242 network[WifiEnums.NETID_KEY] = exists[0]['networkId']
244 current_ssids.add(network[WifiEnums.SSID_KEY])
266 connect_ssid = connect_data[WifiEnums.SSID_KEY]
[all …]
DWifiSoftApPerformanceTest.py134 info['channel'] = wutils.WifiEnums.freq_to_channel[int(
161 wutils.set_wifi_country_code(dev, wutils.WifiEnums.CountryCode.US)
179 sap_config[wutils.WifiEnums.SSID_KEY],
180 sap_config[wutils.WifiEnums.PWD_KEY],
184 'SSID': sap_config[wutils.WifiEnums.SSID_KEY],
185 'password': sap_config[wutils.WifiEnums.PWD_KEY]
202 'SSID': sap_config[wutils.WifiEnums.SSID_KEY],
203 'password': sap_config[wutils.WifiEnums.PWD_KEY],
320 sap_band_enum=wutils.WifiEnums.WIFI_CONFIG_APBAND_2G,
329 sap_band_enum=wutils.WifiEnums.WIFI_CONFIG_APBAND_2G,
[all …]
DWifiCellCoexChannelAvoidTest.py31 WifiEnums = wutils.WifiEnums variable
32 WIFI_CONFIG_APBAND_2G = WifiEnums.WIFI_CONFIG_APBAND_2G
33 WIFI_CONFIG_APBAND_5G = WifiEnums.WIFI_CONFIG_APBAND_5G
34 WIFI_CONFIG_APBAND_AUTO = WifiEnums.WIFI_CONFIG_APBAND_AUTO
35 WPA3_SAE_TRANSITION_SOFTAP = WifiEnums.SoftApSecurityType.WPA3_SAE_TRANSITION
36 WPA3_SAE_SOFTAP = WifiEnums.SoftApSecurityType.WPA3_SAE
186 WifiEnums.WIFI_CONFIG_SOFTAP_BAND_2G,
187 WifiEnums.WIFI_CONFIG_SOFTAP_BAND_2G_5G
192 band = WifiEnums.WIFI_CONFIG_SOFTAP_BAND_2G
194 band = WifiEnums.WIFI_CONFIG_SOFTAP_BAND_5G
[all …]
DWifiWpaPersonalTest.py28 WifiEnums = wutils.WifiEnums variable
107 self.dut, self.wpa_psk_2g[WifiEnums.SSID_KEY])
122 self.dut, self.wpa_psk_5g[WifiEnums.SSID_KEY])
137 self.dut, self.wpa_psk_2g[WifiEnums.SSID_KEY])
152 self.dut, self.wpa_psk_5g[WifiEnums.SSID_KEY])
166 self.dut, self.wpa_psk_2g[WifiEnums.SSID_KEY])
182 self.dut, self.wpa_psk_5g[WifiEnums.SSID_KEY])
202 self.dut, self.wpa_psk_2g[WifiEnums.SSID_KEY])
212 self.wpa_psk_2g[WifiEnums.SSID_KEY])
230 self.dut, self.wpa_psk_2g[WifiEnums.SSID_KEY])
[all …]
DWifiCountrySoftApAcsTest.py34 WifiEnums = wutils.WifiEnums variable
78 ad, wutils.WifiEnums.CountryCode.US)
150 format(ap_freq, WifiEnums.freq_to_channel[ap_freq]))
176 bands=[WifiEnums.WIFI_CONFIG_SOFTAP_BAND_2G,
177 WifiEnums.WIFI_CONFIG_SOFTAP_BAND_2G_5G])
181 band = WifiEnums.WIFI_CONFIG_SOFTAP_BAND_2G
183 band = WifiEnums.WIFI_CONFIG_SOFTAP_BAND_5G
233 if self.softap_freq_1 in WifiEnums.ALL_2G_FREQUENCIES:
235 elif self.softap_freq_1 in WifiEnums.ALL_5G_FREQUENCIES:
237 if self.softap_freq_2 in WifiEnums.ALL_2G_FREQUENCIES:
[all …]
DWifiChannelSwitchStressTest.py33 WifiEnums = wutils.WifiEnums variable
59 wutils.set_wifi_country_code(ad, WifiEnums.CountryCode.US)
77 WifiEnums.ALL_2G_FREQUENCIES)
79 WifiEnums.NONE_DFS_5G_FREQUENCIES)
145 freq_to_chan = wutils.WifiEnums.freq_to_channel[int(channel)]
171 self.config[wutils.WifiEnums.SSID_KEY],
172 self.config[wutils.WifiEnums.PWD_KEY],
173 WifiEnums.WIFI_CONFIG_APBAND_2G)
212 self.config[wutils.WifiEnums.SSID_KEY],
213 self.config[wutils.WifiEnums.PWD_KEY],
[all …]
DWifiTetheringTest.py150 self.network[wutils.WifiEnums.SSID_KEY],
151 self.network[wutils.WifiEnums.PWD_KEY],
305 wifi_ap[wutils.WifiEnums.SSID_KEY] == config[
306 wutils.WifiEnums.SSID_KEY],
495 wifi_ap[wutils.WifiEnums.SSID_KEY] == \
496 self.network[wutils.WifiEnums.SSID_KEY],
503 config = {wutils.WifiEnums.SSID_KEY: self.new_ssid}
504 config[wutils.WifiEnums.PWD_KEY] = self.network[
505 wutils.WifiEnums.PWD_KEY]
506 config[wutils.WifiEnums.AP_BAND_KEY] = WIFI_CONFIG_APBAND_2G
[all …]
DWifiScannerScanTest.py93 "band": wutils.WifiEnums.WIFI_BAND_BOTH,
95 "reportEvents": wutils.WifiEnums.REPORT_EVENT_AFTER_EACH_SCAN
98 "band": wutils.WifiEnums.WIFI_BAND_BOTH,
100 "reportEvents": wutils.WifiEnums.REPORT_EVENT_AFTER_BUFFER_FULL
134 scan_types_setting = [wutils.WifiEnums.WIFI_BAND_BOTH]
143 [wutils.WifiEnums.WIFI_BAND_24_GHZ,
144 wutils.WifiEnums.WIFI_BAND_5_GHZ_WITH_DFS,
145 wutils.WifiEnums.WIFI_BAND_BOTH_WITH_DFS])
154 if report_result == wutils.WifiEnums.REPORT_EVENT_FULL_SCAN_RESULT:
359 if scan_setting_type == wutils.WifiEnums.SCAN_TYPE_LOW_LATENCY \
[all …]
DWifiNetworkRequestTest.py29 WifiEnums = wutils.WifiEnums variable
160 network_ssid = network_specifier.pop(WifiEnums.SSID_KEY)
163 network_specifier[WifiEnums.SSID_PATTERN_KEY] = network_ssid[:-1] + ".*"
291 {WifiEnums.SSID_KEY: self.wpa_psk_2g[WifiEnums.SSID_KEY]},
295 bssid = match_results[0][WifiEnums.BSSID_KEY]
298 network_specifier_with_bssid[WifiEnums.BSSID_KEY] = bssid
348 self.dut.droid.wifiUserDisconnectNetwork(self.wpa_psk_2g[WifiEnums.SSID_KEY])
363 {WifiEnums.SSID_KEY: self.wpa_psk_2g[WifiEnums.SSID_KEY]},
367 bssid = match_results[0][WifiEnums.BSSID_KEY]
370 network_specifier_with_bssid[WifiEnums.BSSID_KEY] = bssid
[all …]
DWifiPasspointTest.py31 WifiEnums = wutils.WifiEnums variable
106 WifiEnums.SSID_KEY in passpoint_config,
108 WifiEnums.SSID_KEY)
130 if not network_info or not network_info[WifiEnums.SSID_KEY] or \
131 network_info[WifiEnums.SSID_KEY] not in passpoint_network:
222 WifiEnums.SSID_KEY] not in osu_config["expected_ssids"]:
280 ssid = passpoint_config[WifiEnums.SSID_KEY]
300 ssid = passpoint_config[WifiEnums.SSID_KEY]
364 ssid = passpoint_config[WifiEnums.SSID_KEY]
384 passpoint_ssid.extend(passpoint_config[WifiEnums.SSID_KEY])
[all …]
DWifiBtStressCoexTest.py34 WifiEnums = wutils.WifiEnums variable
133 ssid = network[WifiEnums.SSID_KEY]
144 ssid = network[WifiEnums.SSID_KEY]
168 config = {wutils.WifiEnums.SSID_KEY: ap_ssid}
169 config[wutils.WifiEnums.PWD_KEY] = ap_password
186 wutils.start_wifi_tethering(self.dut, config[WifiEnums.SSID_KEY],
187 config[WifiEnums.PWD_KEY], band)
353 self.dut, softap_config[wutils.WifiEnums.SSID_KEY],
354 softap_config[wutils.WifiEnums.PWD_KEY],
355 wutils.WifiEnums.WIFI_CONFIG_APBAND_2G)
[all …]
DWifiSoftApTest.py29 WifiEnums = wutils.WifiEnums variable
30 WIFI_CONFIG_APBAND_2G = WifiEnums.WIFI_CONFIG_APBAND_2G
31 WIFI_CONFIG_APBAND_5G = WifiEnums.WIFI_CONFIG_APBAND_5G
32 WIFI_CONFIG_APBAND_AUTO = WifiEnums.WIFI_CONFIG_APBAND_AUTO
33 WPA3_SAE_TRANSITION_SOFTAP = WifiEnums.SoftApSecurityType.WPA3_SAE_TRANSITION
34 WPA3_SAE_SOFTAP = WifiEnums.SoftApSecurityType.WPA3_SAE
88 self.country_code = wutils.WifiEnums.CountryCode.US
119 ad, wutils.WifiEnums.CountryCode.AUSTRALIA)
141 config = {wutils.WifiEnums.SSID_KEY: ap_ssid}
142 config[wutils.WifiEnums.PWD_KEY] = ap_password
[all …]
DWifiCellStressTest.py31 WifiEnums = wutils.WifiEnums variable
141 config = {wutils.WifiEnums.SSID_KEY: ap_ssid}
142 config[wutils.WifiEnums.PWD_KEY] = ap_password
157 self.dut, softap_config[wutils.WifiEnums.SSID_KEY],
158 softap_config[wutils.WifiEnums.PWD_KEY], band)
160 "SSID": softap_config[wutils.WifiEnums.SSID_KEY],
161 "password": softap_config[wutils.WifiEnums.PWD_KEY]
171 softap_config[wutils.WifiEnums.SSID_KEY],
172 softap_config[wutils.WifiEnums.PWD_KEY],
175 "SSID": softap_config[wutils.WifiEnums.SSID_KEY],
[all …]
DWifiConnectedMacRandomizationTest.py30 WifiEnums = wutils.WifiEnums variable
156 ssid_id_dict[WifiEnums.NETID_KEY] = connect_data[WifiEnums.NETID_KEY]
157 ssid_id_dict[WifiEnums.SSID_KEY] = connect_data[WifiEnums.SSID_KEY]
204 self.dut, connect_data_2g[WifiEnums.NETID_KEY],
205 connect_data_2g[WifiEnums.SSID_KEY])
215 self.dut, connect_data_5g[WifiEnums.NETID_KEY],
216 connect_data_5g[WifiEnums.SSID_KEY])
238 config[wutils.WifiEnums.SSID_KEY],
239 config[wutils.WifiEnums.PWD_KEY],
DWifiCrashTest.py29 WifiEnums = wutils.WifiEnums variable
111 if wifi_info[WifiEnums.SSID_KEY] != self.network[WifiEnums.SSID_KEY]:
134 if wifi_info[WifiEnums.SSID_KEY] != self.network[WifiEnums.SSID_KEY]:
164 if wifi_info[WifiEnums.SSID_KEY] != self.network[WifiEnums.SSID_KEY]:
187 if wifi_info[WifiEnums.SSID_KEY] != self.network[WifiEnums.SSID_KEY]:
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/
Dwifi_test_utils.py72 class WifiEnums(): class
471 WifiEnums.WIFI_BAND_24_GHZ:
473 WifiEnums.WIFI_BAND_5_GHZ:
475 WifiEnums.WIFI_BAND_5_GHZ_DFS_ONLY:
477 WifiEnums.WIFI_BAND_5_GHZ_WITH_DFS:
479 WifiEnums.WIFI_BAND_BOTH:
481 WifiEnums.WIFI_BAND_BOTH_WITH_DFS:
812 if net_ssid in n[WifiEnums.SSID_KEY] and n['networkId'] not in removed:
823 def wifi_test_device_init(ad, country_code=WifiEnums.CountryCode.US):
871 ad.droid.wifiSetCountryCode(WifiEnums.CountryCode.US)
[all …]
/tools/test/connectivity/acts_tests/tests/google/wifi/wifi6/
DWifiEnterprise11axTest.py20 WifiEnums = wutils.WifiEnums variable
22 EAP = WifiEnums.Eap
23 EapPhase2 = WifiEnums.EapPhase2
24 Ent = WifiEnums.Enterprise
98 WifiEnums.SSID_KEY: self.ent_network_5g[WifiEnums.SSID_KEY],
102 self.config_peap1[WifiEnums.SSID_KEY] = self.ent_network_2g[
103 WifiEnums.SSID_KEY]
107 WifiEnums.SSID_KEY: self.ent_network_2g[WifiEnums.SSID_KEY],
119 WifiEnums.SSID_KEY: self.ent_network_2g[WifiEnums.SSID_KEY],
124 WifiEnums.SSID_KEY: self.ent_network_2g[WifiEnums.SSID_KEY],
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/cellular/
Dcellular_hotspot_traffic_power_test.py68 if not (wutils.WifiEnums.SSID_KEY in self.network
69 and wutils.WifiEnums.PWD_KEY in self.network):
73 self.CONFIG_KEY_WIFI, wutils.WifiEnums.SSID_KEY,
74 wutils.WifiEnums.PWD_KEY))
82 wutils.WifiEnums.SSID_KEY,
83 wutils.WifiEnums.PWD_KEY))
86 wutils.WifiEnums.SSID_KEY: "Pixel_1030",
87 wutils.WifiEnums.PWD_KEY: "1234567890"
110 self.network[wutils.WifiEnums.SSID_KEY],
111 self.network[wutils.WifiEnums.PWD_KEY],
/tools/test/connectivity/acts_tests/tests/google/power/wifi/
DPowerWiFiHotspotTest.py72 if not (wutils.WifiEnums.SSID_KEY in self.network
73 and wutils.WifiEnums.PWD_KEY in self.network):
77 self.CONFIG_KEY_WIFI, wutils.WifiEnums.SSID_KEY,
78 wutils.WifiEnums.PWD_KEY))
86 wutils.WifiEnums.SSID_KEY,
87 wutils.WifiEnums.PWD_KEY))
90 wutils.WifiEnums.SSID_KEY: 'Pixel_1030',
91 wutils.WifiEnums.PWD_KEY: '1234567890'
109 hotspot_cmd = "cmd wifi stop-softap " + str(self.network[wutils.WifiEnums.SSID_KEY]) + \
110 " wpa2 " + str(self.network[wutils.WifiEnums.PWD_KEY]) + " -b " + \
[all …]

1234