/tools/test/connectivity/acts_tests/tests/google/wifi/ |
D | WifiRssiTest.py | 102 def pass_fail_check_rssi_stability(self, testcase_params, argument 148 def pass_fail_check_rssi_accuracy(self, testcase_params, argument 168 if testcase_params['absolute_accuracy']: 180 if testcase_params['absolute_accuracy']: 199 if rssi_failure and key in testcase_params['rssi_under_test']: 436 def run_rssi_test(self, testcase_params): argument 451 rssi_result['testcase_params'] = testcase_params 453 rssi_result['attenuation'] = list(testcase_params['rssi_atten_range']) 455 testcase_params['band']].get('BSSID', '00:00:00:00') 456 channel_mode_combo = '{}_{}'.format(str(testcase_params['channel']), [all …]
|
D | WifiSoftApPerformanceTest.py | 139 def setup_aps(self, testcase_params): argument 140 for network in testcase_params['ap_networks']: 146 def setup_duts(self, testcase_params): argument 163 for network in testcase_params['ap_networks']: 174 def setup_sap_connection(self, testcase_params): argument 181 testcase_params['sap_band_enum']) 183 testcase_params['test_network'] = { 188 testcase_params['test_network'], 194 testcase_params['channel'] = sap_info['channel'] 195 if testcase_params['channel'] < 13: [all …]
|
D | WifiThroughputStabilityTest.py | 91 testcase_params = collections.OrderedDict( 103 partial(self._test_throughput_stability, testcase_params)) 221 def setup_ap(self, testcase_params): argument 228 testcase_params['channel']) 231 testcase_params['channel'].strip('6g'))] 233 if testcase_params['channel'] < 13: 235 testcase_params['channel']] 238 testcase_params['channel']] 243 self.access_point.set_channel(band, testcase_params['channel']) 244 self.access_point.set_bandwidth(band, testcase_params['mode']) [all …]
|
D | WifiRoamingPerformanceTest.py | 172 def process_traffic_continuity_results(self, testcase_params, result): argument 188 self.plot_ping_result(testcase_params, 193 self.plot_iperf_result(testcase_params, 202 def process_consistency_results(self, testcase_params, results_dict): argument 237 plot_result(testcase_params, result, figure=figure) 371 testcase_params, argument 406 testcase_params, argument 442 def setup_ap(self, testcase_params): argument 460 def setup_dut(self, testcase_params): argument 484 if testcase_params['screen_on']: [all …]
|
D | WifiPingTest.py | 221 def process_ping_results(self, testcase_params, ping_range_result): argument 242 ping_range_result['atten_at_range'] = testcase_params['atten_range'][ 248 for att in testcase_params['atten_range'] 289 def run_ping_test(self, testcase_params): argument 304 test_result['testcase_params'] = testcase_params.copy() 307 test_result['attenuation'] = testcase_params['atten_range'] 309 'fixed_attenuation'][str(testcase_params['channel'])] 316 testcase_params['test_network'], 317 chan=testcase_params['channel'], 318 bw=testcase_params['bandwidth'], [all …]
|
D | WifiTdlsRvrTest.py | 171 def setup_aps(self, testcase_params): argument 173 testcase_params['channel'], testcase_params['bandwidth'])) 174 self.access_point.set_channel(testcase_params['interface_id'], 175 testcase_params['channel']) 176 self.access_point.set_bandwidth(testcase_params['interface_id'], 177 testcase_params['bandwidth']) 179 def setup_duts(self, testcase_params): argument 190 self.ap_networks[0][testcase_params['interface_id']], 194 def setup_tdls_connection(self, testcase_params): argument 209 testcase_params['iperf_server_address'] = tdls_config[0]['ip_address'] [all …]
|
D | WifiSensitivityTest.py | 230 testcase_params = result['testcase_params'] 231 plot_id = self.extract_test_id(testcase_params, id_fields) 262 testcase_params = result['testcase_params'] 263 test_id = self.extract_test_id(testcase_params, id_fields) 267 channel = testcase_params['channel'] 329 def process_rvr_test_results(self, testcase_params, rvr_result): argument 358 testcase_params['channel'])] - rvr_result['range']) 361 def process_ping_test_results(self, testcase_params, ping_result): argument 373 WifiPingTest.process_ping_results(self, testcase_params, ping_result) 376 testcase_params['channel'])] - ping_result['range']) [all …]
|
D | WifiTxPowerCheckTest.py | 344 def get_sar_power_from_nvram(self, testcase_params): argument 358 if testcase_params['country_code'] == 'US': 360 elif testcase_params['country_code'] == 'JP': 362 elif testcase_params['country_code'] == 'CA': 367 if testcase_params['channel'] in channels: 372 testcase_params['sar_state']]['brcm_index'][0], current_band, 374 testcase_params['sar_state']]['brcm_index'][1]) 378 def get_sar_power_from_csv(self, testcase_params): argument 392 if testcase_params['country_code'] == 'US': 394 elif testcase_params['country_code'] == 'JP': [all …]
|
D | WifiRvrTest.py | 401 def run_rvr_test(self, testcase_params): argument 424 for atten in testcase_params['atten_range']: 436 network=testcase_params['test_network'], 437 chan=testcase_params['channel'], 438 bw=testcase_params['bandwidth'], 450 testcase_params['iperf_server_address'], 451 testcase_params['iperf_args'], str(atten), 473 if testcase_params['use_client_output']: 508 testcase_params['atten_range']) - len(throughput) 518 rvr_result['testcase_params'] = testcase_params.copy() [all …]
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/cellular/performance/ |
D | CellularThroughputBaseTest.py | 203 def get_per_cell_power_sweeps(self, testcase_params): argument 207 def compile_test_params(self, testcase_params): argument 214 testcase_params['bler_measurement_length'] = int( 218 testcase_params['cell_power_sweep'] = self.get_per_cell_power_sweeps( 219 testcase_params) 222 return testcase_params 224 testcase_params['iperf_socket_size'] = self.testclass_params.get( 226 testcase_params['iperf_processes'] = self.testclass_params.get( 229 testcase_params['iperf_socket_size'] = self.testclass_params.get( 231 testcase_params['iperf_processes'] = self.testclass_params.get( [all …]
|
D | cellular_performance_test_utils.py | 97 def extract_test_id(testcase_params, id_fields): argument 99 (param, testcase_params[param]) for param in id_fields)
|
/tools/test/connectivity/acts_tests/tests/google/wifi/aware/performance/ |
D | WifiAwareRvrTest.py | 199 def setup_aps(self, testcase_params): argument 200 for network in testcase_params['ap_networks']: 206 def setup_duts(self, testcase_params): argument 214 for network in testcase_params['ap_networks']: 225 def setup_aware_connection(self, testcase_params): argument 268 testcase_params['aware_config'] = { 276 testcase_params['iperf_server_address'] = init_ipv6 285 testcase_params['channel'] = wutils.WifiEnums.freq_to_channel[ 289 testcase_params['channel'] = 149 290 if testcase_params['channel'] < 13: [all …]
|
/tools/test/connectivity/acts_tests/tests/google/wifi/p2p/performance/ |
D | WifiP2pRvrTest.py | 217 def setup_aps(self, testcase_params): argument 218 for network in testcase_params['ap_networks']: 224 def setup_duts(self, testcase_params): argument 238 for network in testcase_params['ap_networks']: 254 def _setup_p2p_connection_join_group(self, testcase_params): argument 283 def _setup_p2p_connection_negotiation(self, testcase_params): argument 329 def setup_p2p_connection(self, testcase_params): argument 333 self._setup_p2p_connection_negotiation(testcase_params) 335 self._setup_p2p_connection_join_group(testcase_params) 339 testcase_params['iperf_server_address'] = wp2putils.p2p_go_ip( [all …]
|
/tools/test/connectivity/acts_tests/tests/google/cellular/performance/ |
D | CellularPageDecodeTest.py | 53 def _test_page_decode(self, testcase_params): argument 66 testcase_params = self.compile_test_params(testcase_params) 68 testcase_results['testcase_params'] = testcase_params 73 'keysight_chamber') and 'orientation' in testcase_params: 76 testcase_params['orientation']]['theta'], 78 testcase_params['orientation']]['phi']) 81 self.setup_tester(testcase_params) 82 test_cell = testcase_params['endc_combo_config']['cell_list'][0] 94 for power_idx in range(len(testcase_params['cell_power_sweep'][0])): 98 testcase_params['endc_combo_config']['cell_list']): [all …]
|
D | CellularFr2UplinkPowerSweepTest.py | 75 def get_per_cell_power_sweeps(self, testcase_params): argument 77 for cell in testcase_params['endc_combo_config']['cell_list']: 165 def _test_throughput_bler_sweep_ul_power(self, testcase_params): argument 178 testcase_params = self.compile_test_params(testcase_params) 179 testcase_params['nr_target_power_sweep'] = list( 185 testcase_results['testcase_params'] = testcase_params 190 'keysight_chamber') and 'orientation' in testcase_params: 193 testcase_params['orientation']]['theta'], 195 testcase_params['orientation']]['phi']) 198 self.setup_tester(testcase_params) [all …]
|
D | CellularRxPowerTest.py | 150 def _test_nr_rsrp(self, testcase_params): argument 161 testcase_params['power_range_vector'] = list( 173 for cell in testcase_params['dl_cell_list']: 175 testcase_params['band']) 178 testcase_params['dl_cell_list'][0], 'BASIC') 179 self.keysight_test_app.set_dl_carriers(testcase_params['dl_cell_list']) 181 testcase_params['dl_cell_list'][0]) 189 'NR5G', testcase_params['dl_cell_list'][-1], ['ACT', 'CONN'], 60) 192 for cell_power in testcase_params['power_range_vector']: 194 for cell in testcase_params['dl_cell_list']: [all …]
|
D | CellularLteFr1EndcSensitivityTest.py | 150 def get_per_cell_power_sweeps(self, testcase_params): argument 153 … test_cell = testcase_params['endc_combo_config']['cell_list'][testcase_params['test_cell_idx']] 165 for cell_idx, cell_config in enumerate(testcase_params['endc_combo_config']['cell_list']): 166 if cell_idx == testcase_params['test_cell_idx']:
|
D | CellularFr1SensitivityTest.py | 202 def get_per_cell_power_sweeps(self, testcase_params): argument 204 nr_cell_index = testcase_params['endc_combo_config']['lte_cell_count'] 205 current_band = testcase_params['endc_combo_config']['cell_list'][
|
D | CellularFr2SensitivityTest.py | 204 def get_per_cell_power_sweeps(self, testcase_params): argument 206 current_band = testcase_params['endc_combo_config']['cell_list'][1][ 236 testcase_params['endc_combo_config']['nr_cell_count'])
|
D | CellularFr1RvRTest.py | 108 def get_per_cell_power_sweeps(self, testcase_params): argument 109 nr_cell_index = testcase_params['endc_combo_config']['lte_cell_count']
|
D | CellularLtePlusFr1PeakThroughputTest.py | 229 def get_per_cell_power_sweeps(self, testcase_params): argument 238 for cell in testcase_params['endc_combo_config']['cell_list']:
|
D | CellularLteSensitivityTest.py | 198 def get_per_cell_power_sweeps(self, testcase_params): argument 200 current_band = testcase_params['endc_combo_config']['cell_list'][0][
|
D | CellularFr2PeakThroughputTest.py | 251 def get_per_cell_power_sweeps(self, testcase_params): argument 260 for cell in testcase_params['endc_combo_config']['cell_list']:
|
D | CellularLteRvrTest.py | 179 def get_per_cell_power_sweeps(self, testcase_params): argument
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/wifi_performance_test_utils/ |
D | __init__.py | 174 def check_skip_conditions(testcase_params, dut, access_point, argument 180 if not access_point.band_lookup_by_channel(testcase_params['channel']): 183 testcase_params['channel']] not in ota_chamber.SUPPORTED_BANDS: 191 if testcase_params.get('bandwidth', 20) == 160 and not supports_160mhz: 193 if testcase_params.get('channel',
|