/tools/test/connectivity/acts/framework/acts/controllers/ |
D | asus_axe11000_ap.py | 337 def _get_webdriver_elements_for_channels(self, band): argument 347 if band == "5g": 349 elif band == "6g": 353 def _set_channel(self, band, channel): argument 363 band = band.lower() 364 if band not in VALID_BANDS: 365 raise ValueError("Band %s is not valid" % band) 366 if (band == "2g" and channel not in CHANNELS_2G) or ( 367 band == "5g" and 368 channel not in CHANNELS_5G) or (band == "6g" and [all …]
|
D | packet_capture.py | 208 def configure_monitor_mode(self, band, channel, bandwidth=20): argument 221 band = band.upper() 222 if band not in BAND_IFACE: 226 iface = BAND_IFACE[band] 244 self.log.error("Failed to configure monitor mode for %s" % band) 248 def start_packet_capture(self, band, log_path, pcap_fname): argument 262 band = band.upper() 263 if band not in BAND_IFACE.keys() or band in self.pcap_properties: 267 pcap_name = '%s_%s.pcap' % (pcap_fname, band) 271 tcpdump_cmd = 'tcpdump -i %s -w - -U 2>/dev/null' % (BAND_IFACE[band]) [all …]
|
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/functional/ |
D | ChannelSwitchTest.py | 72 band: str, 97 band in [hostapd_constants.BAND_2G, hostapd_constants.BAND_5G], 98 'Failed to setup AP, invalid band {}'.format(band)) 101 if band == hostapd_constants.BAND_5G: 103 elif band == hostapd_constants.BAND_2G: 106 self._channels_valid_for_band([self.current_channel_num], band), 108 self.current_channel_num, band)) 123 self._channels_valid_for_band(channel_switches, band), 125 channel_switches, band)) 162 band=hostapd_constants.BAND_2G, [all …]
|
D | WlanRebootTest.py | 79 def create_custom_test_name(reboot_device, reboot_type, band, ip_version, argument 84 (reboot_device, reboot_type, band, ip_version, 190 band, argument 208 if band == BAND_2G: 214 elif band == BAND_5G: 230 if band == BAND_2G: 233 elif band == BAND_5G: 299 def setup_iperf_server_on_ap(self, band): argument 305 if band == BAND_2G: 310 elif band == BAND_5G: [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/cellular_lib/ |
D | LteSimulation.py | 488 band = cell[LteCellConfig.PARAM_BAND] 490 if isinstance(band, str) and not band.isdigit(): 492 if band[0] == 'n' and band[1:].isdigit(): 498 ca_class = band[-1].upper() 499 band_num = band[:-1] 508 raise ValueError('Invalid band value: ' + band) 532 band = new_cell_list[i][LteCellConfig.PARAM_BAND] 533 if isinstance(band, str) and band[0] == 'n': 833 def calibrate(self, band): argument 855 self.allowed_bandwidth_dictionary[int(band)]) [all …]
|
D | BaseSimulation.py | 498 def calibrate(self, band): argument 698 band = self.cell_configs[0].band 703 self.dl_path_loss = self.calibration_table[band]["dl"] 704 self.ul_path_loss = self.calibration_table[band]["ul"] 706 self.calibrate(band) 710 if band not in self.calibration_table: 711 self.calibration_table[band] = {} 713 if "dl" not in self.calibration_table[band] and self.dl_path_loss: 714 self.calibration_table[band]["dl"] = self.dl_path_loss 716 if "ul" not in self.calibration_table[band] and self.ul_path_loss: [all …]
|
D | LteCellConfig.py | 91 self.band = None 128 self.band = parameters[self.PARAM_BAND] 131 band = int(self.band) 132 channel = int(lte_sim.LteSimulation.LOWEST_DL_CN_DICTIONARY[band] + 133 lte_sim.LteSimulation.LOWEST_DL_CN_DICTIONARY[band + 383 if 33 <= int(self.band) <= 46:
|
/tools/test/connectivity/acts_tests/tests/google/tel/lab/ |
D | TelLabMobilityTest.py | 167 band = [] 169 band.append(self.anritsu.get_supported_bands(rat)) 170 self.log.info("UE reported LTE bands are {}".format(band[0])) 171 self.log.info("UE reported WCDMA bands are {}".format(band[1])) 172 current_lte_band = bts[0].band 174 band[0].remove(current_lte_band) 175 band[0].append(current_lte_band) 176 n = max(len(band[0]), len(band[1])) 182 bts[1].band = band[1][i % len(band[1])] 215 bts[0].band = band[0][i % len(band[0])]
|
/tools/test/connectivity/acts_tests/tests/google/wifi/ |
D | WifiSoftApPerformanceTest.py | 261 band = testcase_params['dut_connected'][0].split('_')[0] 266 band if band == '2G' else band + '_1', 268 band, 270 1 if band == '2G' else 36, 280 band = testcase_params['dut_connected'][1].split('_')[0] 290 band if band == '2G' else band + '_1', 292 band, 294 11 if band == '2G' else 149,
|
D | WifiTxPowerCheckTest.py | 322 sar_config['band'] = next(band for band in list_of_bands 323 if band in sar_line) 358 for band, channels in self.BAND_TO_CHANNEL_MAP.items(): 360 current_band = band[0] 361 sub_band_idx = band[1] 390 for band, channels in self.BAND_TO_CHANNEL_MAP.items(): 392 current_band = band[0] 393 sub_band_idx = band[1] 773 band = self.access_point.band_lookup_by_channel( 775 if '6G' in band: [all …]
|
D | WifiCellCoexChannelAvoidTest.py | 167 def enable_softap(self, ad, band=None): argument 189 band = WifiEnums.WIFI_CONFIG_SOFTAP_BAND_2G 191 band = WifiEnums.WIFI_CONFIG_SOFTAP_BAND_5G 194 band=band) 236 self.band = test_item["band"] 245 .format(self.radio, self.band, self.cellchannels)) 246 self.dut.adb.shell('cmd wifi set-coex-cell-channels %s %s %s' % (self.radio, self.band,
|
D | WifiThroughputStabilityTest.py | 255 band = self.access_point.band_lookup_by_channel( 257 if '6G' in band: 271 self.access_point.set_channel(band, testcase_params['channel']) 272 self.access_point.set_bandwidth(band, testcase_params['mode']) 289 band = self.access_point.band_lookup_by_channel( 301 self.main_network[band]['channel'] = testcase_params['channel'] 440 band = self.access_point.band_lookup_by_channel( 442 testcase_params['test_network'] = self.main_network[band] 601 band = wputils.CHANNEL_TO_BAND_MAP[testcase_params['channel']] 603 test_atten = self.testclass_params['ota_atten_levels'][band][0] [all …]
|
D | WifiChaosTest.py | 298 self.band = ssid_info[-1] 341 band = SINGLE_BAND 343 band = DUAL_BAND 344 if (band == SINGLE_BAND) or ( 345 band == DUAL_BAND and '5G' in ssid): 358 self.pcap.configure_monitor_mode(self.band, self.chan) 360 self.pcap, self.band.lower(), self.test_name)
|
D | WifiSoftApMultiCountryTest.py | 136 def conf_packet_capture(self, band, channel): argument 141 result = self.packet_capture.configure_monitor_mode(band, freq_to_chan) 144 "for {} band".format(band)) 146 self.packet_capture, band, self.test_name) 160 def validate_full_tether_startup(self, band=None, test_ping=False): argument 176 band=band)
|
D | WifiIOTConnectionTest.py | 169 def start_packet_capture(self, band, channel): argument 177 result = self.packet_capture.configure_monitor_mode(band, channel) 180 "for {} band".format(band)) 182 self.packet_capture, band, self.current_test_name) 278 self.band = test_item["band"] 281 self.start_packet_capture(self.band, self.channel)
|
D | WifiAutoUpdateTest.py | 133 band = WIFI_CONFIG_APBAND_5G 135 band = WifiEnums.WIFI_CONFIG_SOFTAP_BAND_5G 136 self.wifi_hotspot[WifiEnums.AP_BAND_KEY] = band 146 band = WifiEnums.WIFI_CONFIG_APBAND_5G_OLD 147 self.wifi_hotspot[WifiEnums.AP_BAND_KEY] = band 156 wutils.save_wifi_soft_ap_config(self.dut, self.wifi_hotspot, band)
|
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/performance/ |
D | WlanRvrTest.py | 330 band='2g', argument 347 if band == '2g': 349 elif band == '5g': 352 raise ValueError('Invalid WLAN band specified: %s' % band) 633 band='5g', 653 band='5g', 673 band='5g', 693 band='5g', 718 band='5g', 743 band='5g', [all …]
|
/tools/test/connectivity/acts_tests/tests/google/wifi/aware/performance/ |
D | WifiAwareRvrTest.py | 361 band = testcase_params['concurrency_state'][0].split('_')[0] 366 band if band == '2G' else band + '_1', 368 band, 370 1 if band == '2G' else 36, 380 band = testcase_params['concurrency_state'][1].split('_')[0] 384 elif band == ap_networks[0]['band']: 394 band if band == '2G' else band + '_1', 396 band, 398 11 if band == '2G' else 149,
|
/tools/test/connectivity/acts_tests/tests/google/wifi/p2p/performance/ |
D | WifiP2pRvrTest.py | 421 band = testcase_params['concurrency_state'][0].split('_')[0] 426 band if band == '2G' else band + '_1', 428 band, 430 1 if band == '2G' else 36, 440 band = testcase_params['concurrency_state'][1].split('_')[0] 444 elif band == ap_networks[0]['band']: 454 band if band == '2G' else band + '_1', 456 band, 458 11 if band == '2G' else 149,
|
/tools/test/connectivity/acts_tests/tests/google/coex/hotspot_tests/ |
D | HotspotWiFiChannelTest.py | 128 band = test_params['hotspot_mode'].lower() 129 self.initiate_wifi_tethering_and_connect(band) 141 def setup_lte_and_attach(self, band, channel): argument 153 if band in tdd_band_list: 163 self.bts.band = band 168 'dl_channel: {}, '.format(self.bts.band, 199 self.network['password'], band=wband)
|
/tools/test/connectivity/acts/framework/acts/controllers/rohdeschwarz_lib/ |
D | cmw500_cellular_simulator.py | 216 def set_band(self, bts_index, band): argument 224 bts.duplex_mode = self.get_duplex_mode(band) 225 band = 'OB' + band 226 bts.band = band 227 self.log.debug('Band set to {}'.format(band)) 229 def get_duplex_mode(self, band): argument 238 if 33 <= int(band) <= 46:
|
D | cmx500.py | 447 def band(self): member in BaseStation 468 band = self._cell.get_band() 469 if band.is_fdd(): 471 if band.is_tdd(): 473 if band.is_dl_only(): 484 def set_band(self, band): argument 490 self._cell.set_band(band) 961 def set_band(self, band, frequency_range=None): argument 978 self._cell.set_dl_ref_a_offset(band, frequency_range) 980 band, self.band)) [all …]
|
D | cmx500_cellular_simulator.py | 106 def set_band(self, bts_index, band, frequency_range=None): argument 113 self.log.info('set band to {}'.format(band)) 116 int(band), frequency_range=frequency_range) 118 self.bts[bts_index].set_band(int(band)) 120 def get_duplex_mode(self, band): argument 129 if 33 <= int(band) <= 46:
|
/tools/test/connectivity/acts/framework/acts/controllers/anritsu_lib/ |
D | md8475_cellular_simulator.py | 325 def set_band(self, bts_index, band): argument 338 if int(bts.band) == band: 340 bts.band = '1' if band != 1 else '2' 344 bts.duplex_mode = self.get_duplex_mode(band).value 345 bts.band = band 348 def get_duplex_mode(self, band): argument 357 if 33 <= int(band) <= 46:
|
/tools/test/connectivity/acts/framework/acts/controllers/spirent_lib/ |
D | gss7000.py | 338 def power_lev_offset_cal(self, power_level=-130, sat='GPS', band='L1'): argument 382 def sat_band_convert(self, sat, band): argument 403 if band == '': 406 band = 'L1' 463 sat, band = self.sat_band_convert(sat_system, freq_band) 465 band_cmd = band_dict.get(band, 1) 474 power_offset = self.power_lev_offset_cal(power_level, sat, band)
|