Home
last modified time | relevance | path

Searched refs:wutils (Results 1 – 25 of 148) sorted by relevance

123456

/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiCrashStressTest.py19 import acts_contrib.test_utils.wifi.wifi_test_utils as wutils namespace
26 WifiEnums = wutils.WifiEnums
45 wutils.wifi_test_device_init(self.dut)
46 wutils.wifi_test_device_init(self.dut_client)
71 wutils.wifi_toggle_state(self.dut, True)
74 wutils.wifi_toggle_state(self.dut_client, True)
79 wutils.stop_wifi_tethering(self.dut)
82 wutils.reset_wifi(self.dut)
85 wutils.reset_wifi(self.dut_client)
115 wutils.wifi_toggle_state(self.dut, True)
[all …]
DWifiTetheringTest.py32 from acts_contrib.test_utils.wifi import wifi_test_utils as wutils unknown
56 wutils.wifi_test_device_init(ad)
65 wutils.stop_wifi_tethering(self.hotspot_device)
71 wutils.reset_wifi(ad)
149 wutils.start_wifi_tethering(self.hotspot_device,
150 self.network[wutils.WifiEnums.SSID_KEY],
151 self.network[wutils.WifiEnums.PWD_KEY],
165 wutils.wifi_forget_network(dut, self.network["SSID"])
167 wutils.wifi_connect(dut, self.network)
181 wutils.wifi_forget_network(ad, self.network["SSID"])
[all …]
DWifiWpaPersonalTest.py24 import acts_contrib.test_utils.wifi.wifi_test_utils as wutils namespace
28 WifiEnums = wutils.WifiEnums
58 wutils.wifi_toggle_state(ad, True)
65 wutils.reset_wifi(self.dut)
77 result = wutils.get_wlan0_link(self.dut)
106 wutils.start_wifi_connection_scan_and_ensure_network_found(
108 wutils.connect_to_wifi_network(self.dut, self.wpa_psk_2g)
121 wutils.start_wifi_connection_scan_and_ensure_network_found(
123 wutils.connect_to_wifi_network(self.dut, self.wpa_psk_5g)
136 wutils.start_wifi_connection_scan_and_ensure_network_found(
[all …]
DWifiBtStressCoexTest.py20 import acts_contrib.test_utils.wifi.wifi_test_utils as wutils namespace
34 WifiEnums = wutils.WifiEnums
69 wutils.wifi_test_device_init(self.dut)
105 wutils.wifi_toggle_state(self.dut_client, True)
110 wutils.stop_wifi_tethering(self.dut)
113 wutils.reset_wifi(self.dut)
114 wutils.reset_wifi(self.dut_client)
119 wutils.reset_wifi(self.dut)
134 wutils.start_wifi_connection_scan_and_ensure_network_found(ad, ssid)
135 wutils.wifi_connect(ad, network, num_of_tries=3)
[all …]
DWifiSoftApTest.py26 from acts_contrib.test_utils.wifi import wifi_test_utils as wutils unknown
29 WifiEnums = wutils.WifiEnums
75 wutils.wifi_toggle_state(self.dut, True)
76 wutils.wifi_toggle_state(self.dut_client, True)
88 self.country_code = wutils.WifiEnums.CountryCode.US
101 wutils.stop_wifi_tethering(self.dut)
102 wutils.reset_wifi(self.dut)
103 wutils.reset_wifi(self.dut_client)
111 wutils.wifi_toggle_state(ad, True)
118 wutils.set_wifi_country_code(
[all …]
DWifiBridgedApTest.py23 import acts_contrib.test_utils.wifi.wifi_test_utils as wutils namespace
31 WifiEnums = wutils.WifiEnums
72 wutils.reset_wifi(ad)
73 wutils.wifi_toggle_state(self.dut, False)
74 wutils.wifi_toggle_state(self.client1, True)
75 wutils.wifi_toggle_state(self.client2, True)
82 wutils.stop_wifi_tethering(self.dut)
84 wutils.reset_wifi(ad)
85 wutils.set_wifi_country_code(
86 ad, wutils.WifiEnums.CountryCode.US)
[all …]
DWifiWpa2PersonalTest.py18 import acts_contrib.test_utils.wifi.wifi_test_utils as wutils namespace
28 WifiEnums = wutils.WifiEnums
54 wutils.wifi_toggle_state(ad, True)
55 wutils.reset_wifi(self.dut)
62 wutils.reset_wifi(self.dut)
86 result = wutils.get_wlan0_link(self.dut)
117 wutils.connect_to_wifi_network(self.dut, self.wpa2_psk_2g)
129 wutils.connect_to_wifi_network(self.dut, self.wpa2_psk_5g)
141 wutils.connect_to_wifi_network(self.dut, self.wpa2_psk_2g)
153 wutils.connect_to_wifi_network(self.dut, self.wpa2_psk_5g)
[all …]
DWifiManagerTest.py26 import acts_contrib.test_utils.wifi.wifi_test_utils as wutils namespace
39 WifiEnums = wutils.WifiEnums
64 wutils.wifi_test_device_init(self.dut)
65 wutils.wifi_toggle_state(self.dut, True)
70 wutils.wifi_test_device_init(self.dut_client)
71 wutils.wifi_toggle_state(self.dut_client, True)
100 wutils.get_host_public_ipv4_address(),
102 self.iperf_server_address = wutils.get_host_public_ipv4_address()
103 self.iperf_server_port = wutils.get_iperf_server_port()
116 wutils.wifi_toggle_state(self.dut, True)
[all …]
DWifiChannelSwitchStressTest.py21 import acts_contrib.test_utils.wifi.wifi_test_utils as wutils namespace
33 WifiEnums = wutils.WifiEnums
57 wutils.wifi_test_device_init(ad)
59 wutils.set_wifi_country_code(ad, WifiEnums.CountryCode.US)
68 wutils.stop_wifi_tethering(self.dut)
71 wutils.wifi_toggle_state(self.dut_client, True)
75 self.config = wutils.create_softap_config()
86 wutils.reset_wifi(ad)
88 wutils.stop_wifi_tethering(self.dut)
94 wutils.stop_pcap(self.packet_capture, self.pcap_procs, False)
[all …]
DWifiWakeTest.py24 import acts_contrib.test_utils.wifi.wifi_test_utils as wutils namespace
27 WifiEnums = wutils.WifiEnums
54 wutils.wifi_test_device_init(self.dut)
127 wutils.reset_wifi(self.dut)
128 wutils.wifi_toggle_state(self.dut, new_state=True)
149 "band": wutils.WifiEnums.WIFI_BAND_BOTH,
151 "reportEvents": wutils.WifiEnums.REPORT_EVENT_AFTER_EACH_SCAN
154 wifi_chs = wutils.WifiChannelUS(self.dut.model)
160 data = wutils.start_wifi_single_scan(self.dut, scan_settings)
167 scan_time, scan_channels = wutils.get_scan_time_and_channels(
[all …]
DWifiCellStressTest.py20 import acts_contrib.test_utils.wifi.wifi_test_utils as wutils namespace
31 WifiEnums = wutils.WifiEnums
54 wutils.wifi_test_device_init(self.dut)
82 wutils.wifi_toggle_state(self.dut_client, True)
90 wutils.stop_wifi_tethering(self.dut)
93 wutils.reset_wifi(self.dut)
94 wutils.reset_wifi(self.dut_client)
101 wutils.reset_wifi(self.dut)
141 config = {wutils.WifiEnums.SSID_KEY: ap_ssid}
142 config[wutils.WifiEnums.PWD_KEY] = ap_password
[all …]
DWifiSoftApMultiCountryTest.py33 from acts_contrib.test_utils.wifi import wifi_test_utils as wutils unknown
37 WifiEnums = wutils.WifiEnums
111 wutils.wifi_toggle_state(self.dut, True)
112 wutils.wifi_toggle_state(self.dut_client, True)
119 wutils.stop_wifi_tethering(self.dut)
120 wutils.reset_wifi(self.dut)
121 wutils.reset_wifi(self.dut_client)
129 wutils.stop_wifi_tethering(self.dut)
135 freq_to_chan = wutils.WifiEnums.freq_to_channel[int(channel)]
142 self.pcap_procs = wutils.start_pcap(self.packet_capture, band,
[all …]
DWifiMacRandomizationTest.py23 import acts_contrib.test_utils.wifi.wifi_test_utils as wutils namespace
34 WifiEnums = wutils.WifiEnums
65 wutils.wifi_test_device_init(self.dut)
66 wutils.wifi_test_device_init(self.dut_client)
97 wutils.wifi_toggle_state(self.dut, True)
98 wutils.wifi_toggle_state(self.dut_client, True)
118 wutils.wifi_toggle_state(ad, True)
126 wutils.reset_wifi(self.dut)
127 wutils.reset_wifi(self.dut_client)
161 wutils.connect_to_wifi_network(self.dut, network)
[all …]
DWifiSoftApPerformanceTest.py26 from acts_contrib.test_utils.wifi import wifi_test_utils as wutils unknown
105 wutils.wifi_toggle_state(dev, True)
109 wutils.stop_wifi_tethering(self.android_devices[0])
111 wutils.wifi_toggle_state(dev, False)
120 wutils.stop_wifi_tethering(self.android_devices[0])
134 info['channel'] = wutils.WifiEnums.freq_to_channel[int(
160 wutils.reset_wifi(dev)
161 wutils.set_wifi_country_code(dev, wutils.WifiEnums.CountryCode.US)
168 wutils.wifi_connect(self.android_devices[connected_dut],
176 sap_config = wutils.create_softap_config()
[all …]
DWifiScannerScanTest.py26 from acts_contrib.test_utils.wifi import wifi_test_utils as wutils unknown
76 wutils.wifi_test_device_init(self.dut)
93 "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
103 self.wifi_chs = wutils.WifiChannelUS(self.dut.model, self.support_addition_channel)
104 self.attenuators = wutils.group_attenuators(self.attenuators)
134 scan_types_setting = [wutils.WifiEnums.WIFI_BAND_BOTH]
143 [wutils.WifiEnums.WIFI_BAND_24_GHZ,
[all …]
DWifiEnterpriseTest.py23 from acts_contrib.test_utils.wifi import wifi_test_utils as wutils unknown
26 WifiEnums = wutils.WifiEnums
144 wutils.reset_wifi(self.dut)
153 wutils.reset_wifi(self.dut)
163 wutils.set_attns(self.attenuators, "default")
178 verdict = wutils.wifi_connect(ad, config)
249 wutils.wifi_connect(ad, config)
250 wutils.verify_11ax_wifi_connection(
252 wutils.toggle_wifi_and_wait_for_reconnection(ad,
255 wutils.verify_11ax_wifi_connection(
[all …]
DWifiTetheringPowerTest.py26 from acts_contrib.test_utils.wifi import wifi_test_utils as wutils unknown
63 wutils.wifi_toggle_state(self.hotspot_device, False)
70 wutils.reset_wifi(ad)
74 wutils.wifi_toggle_state(self.hotspot_device, True)
108 wutils.start_wifi_tethering(self.hotspot_device,
155 wutils.stop_wifi_tethering(self.hotspot_device)
166 wutils.stop_wifi_tethering(self.hotspot_device)
176 wutils.wifi_connect(self.tethered_devices[0], self.network)
178 wutils.stop_wifi_tethering(self.hotspot_device)
188 wutils.wifi_connect(self.tethered_devices[0], self.network)
[all …]
DWifiWpa3OweTest.py17 import acts_contrib.test_utils.wifi.wifi_test_utils as wutils namespace
55 wutils.wifi_toggle_state(ad, True)
62 wutils.reset_wifi(self.dut)
68 wutils.connect_to_wifi_network(self.dut, self.owe_2g)
72 wutils.connect_to_wifi_network(self.dut, self.owe_5g)
76 wutils.connect_to_wifi_network(self.dut, self.wpa3_personal_2g)
77 wutils.verify_11ax_wifi_connection(
82 wutils.connect_to_wifi_network(self.dut, self.wpa3_personal_5g)
83 wutils.verify_11ax_wifi_connection(
97 wutils.connect_to_wifi_network(self.dut, self.wpa3_personal_2g)
[all …]
DWifiStressTest.py23 import acts_contrib.test_utils.wifi.wifi_test_utils as wutils namespace
35 WifiEnums = wutils.WifiEnums
71 wutils.wifi_test_device_init(self.dut)
97 wutils.get_host_public_ipv4_address(),
99 self.iperf_server_address = wutils.get_host_public_ipv4_address()
100 self.iperf_server_port = wutils.get_iperf_server_port()
116 wutils.stop_wifi_tethering(self.dut)
119 wutils.reset_wifi(self.dut)
126 wutils.reset_wifi(self.dut)
142 wutils.start_wifi_connection_scan_and_ensure_network_found(ad, ssid)
[all …]
DWifiConnectedMacRandomizationTest.py23 import acts_contrib.test_utils.wifi.wifi_test_utils as wutils namespace
30 WifiEnums = wutils.WifiEnums
58 wutils.wifi_test_device_init(self.dut)
59 wutils.wifi_test_device_init(self.dut_softap)
88 wutils.wifi_toggle_state(self.dut, True)
89 wutils.wifi_toggle_state(self.dut_softap, False)
95 wutils.reset_wifi(self.dut)
96 wutils.reset_wifi(self.dut_softap)
99 wutils.stop_wifi_tethering(self.dut_softap)
153 wutils.connect_to_wifi_network(ad, network)
[all …]
DWifiNetworkSuggestionTest.py23 import acts_contrib.test_utils.wifi.wifi_test_utils as wutils namespace
32 WifiEnums = wutils.WifiEnums
116 wutils.wifi_toggle_state(self.dut, True)
137 wutils.reset_wifi(self.dut)
138 wutils.wifi_toggle_state(self.dut, False)
201 wutils.start_wifi_connection_scan_and_return_status(self.dut)
205 wutils.wait_for_connect(self.dut, expected_ssid)
232 wutils.wait_for_disconnect(self.dut)
237 wutils.wait_for_connect(self.dut,
253 wutils.verify_11ax_wifi_connection(self.dut, self.wifi6_models,
[all …]
DWifiAutoUpdateTest.py24 import acts_contrib.test_utils.wifi.wifi_test_utils as wutils namespace
28 WifiEnums = wutils.WifiEnums
67 wutils.wifi_test_device_init(self.dut)
68 wutils.wifi_toggle_state(self.dut, True)
156 wutils.save_wifi_soft_ap_config(self.dut, self.wifi_hotspot, band)
160 wutils.start_wifi_tethering_saved_config(self.dut)
161 wutils.connect_to_wifi_network(self.dut_client,
164 wutils.stop_wifi_tethering(self.dut)
175 wutils.start_wifi_connection_scan_and_ensure_network_found(
177 wutils.wifi_connect(self.dut, network, num_of_tries=6)
[all …]
/tools/test/connectivity/acts_tests/tests/google/power/wifi/
DPowerWiFiHotspotTest.py22 from acts_contrib.test_utils.wifi import wifi_test_utils as wutils unknown
72 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'
96 wutils.set_wifi_country_code(self.android_devices[0], 'US')
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/cellular/
Dcellular_hotspot_traffic_power_test.py20 from acts_contrib.test_utils.wifi import wifi_test_utils as wutils unknown
68 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"
106 wutils.set_wifi_country_code(dut, country_code)
[all …]
/tools/test/connectivity/acts_tests/tests/google/wifi/wifi6e/
DWifi6eMultiChannelTest.py17 import acts_contrib.test_utils.wifi.wifi_test_utils as wutils namespace
42 wutils.reset_wifi(self.dut)
50 wutils.connect_to_wifi_network(self.dut, self.wifi_network)
56 wutils.connect_to_wifi_network(self.dut, self.wifi_network)
62 wutils.connect_to_wifi_network(self.dut, self.wifi_network)
68 wutils.connect_to_wifi_network(self.dut, self.wifi_network)
74 wutils.connect_to_wifi_network(self.dut, self.wifi_network)
80 wutils.connect_to_wifi_network(self.dut, self.wifi_network)
86 wutils.connect_to_wifi_network(self.dut, self.wifi_network)
92 wutils.connect_to_wifi_network(self.dut, self.wifi_network)
[all …]

123456