/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 | 212 def configure_monitor_mode(self, band, channel, bandwidth=20): argument 225 band = band.upper() 226 if band not in BAND_IFACE: 230 iface = BAND_IFACE[band] 249 self.log.error("Failed to configure monitor mode for %s" % band) 253 def start_packet_capture(self, band, log_path, pcap_fname): argument 267 band = band.upper() 268 if band not in BAND_IFACE.keys() or band in self.pcap_properties: 272 pcap_name = '%s_%s.pcap' % (pcap_fname, band) 276 tcpdump_cmd = 'tcpdump -i %s -w - -U 2>/dev/null' % (BAND_IFACE[band]) [all …]
|
D | handover_simulator.py | 31 def nr5g_sa_handover(self, band, channel, bandwidth, source_technology): argument 42 def nr5g_nsa_handover(self, band, channel, bandwidth, secondary_band, argument 62 def lte_handover(self, band, channel, bandwidth, source_technology): argument 73 def wcdma_handover(self, band, channel, source_technology): argument
|
/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 | 173 band, argument 191 if band == BAND_2G: 197 elif band == BAND_5G: 207 if band == BAND_2G: 210 elif band == BAND_5G: 218 def setup_iperf_server_on_ap(self, band): argument 224 if band == BAND_2G: 229 elif band == BAND_5G: 476 band = settings['band'] 505 if band != BAND_2G and band != BAND_5G: [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/rohdeschwarz_lib/ |
D | cmx500_handover_simulator.py | 33 def lte_handover(self, band, channel, bandwidth, source_technology): argument 42 new_primary = self._get_free_lte_cell(band, channel, bandwidth) 51 self._configure_cell(self.cmx.primary_lte_cell, band, channel, 61 self._configure_cell(self.cmx.primary_lte_cell, band, channel, 70 def nr5g_nsa_handover(self, band, channel, bandwidth, secondary_band, argument 88 new_primary = self._get_free_lte_cell(band, channel, bandwidth) 114 self._configure_cell(self.cmx.primary_lte_cell, band, 130 def nr5g_sa_handover(self, band, channel, bandwidth, source_technology): argument 139 new_primary = self._get_free_nr_cell(band, channel, bandwidth) 151 self._configure_cell(self.cmx.primary_nr_cell, band, channel, [all …]
|
D | cmw500_handover_simulator.py | 48 def lte_handover(self, band, channel, bandwidth, source_technology): argument 58 band) <= 46 else cmw500.DuplexMode.FDD 59 band = 'OB{}'.format(band) 64 self._lte.configure_incoming_handover_lte(mode, band, channel, 68 def wcdma_handover(self, band, channel, source_technology): argument 76 band = 'OB{}'.format(band) 80 self._wcdma.configure_incoming_handover_wcdma(band, channel) 261 def configure_incoming_handover_lte(self, mode, band, channel, bandwidth): argument 271 self.configure_handover(mode, band, channel, bandwidth) 275 bts.band = band [all …]
|
D | cmw500_cellular_simulator.py | 227 return [int(bts.band.strip('OB')) for bts in self.bts] 242 def set_band(self, bts_index, band): argument 250 bts.duplex_mode = self.get_duplex_mode(band) 251 band = 'OB' + band 252 bts.band = band 253 self.log.debug('Band set to {}'.format(band)) 255 def get_duplex_mode(self, band): argument 264 if 33 <= int(band) <= 46: 421 for i, band in enumerate(bands): 422 self.set_band(i, str(band))
|
D | cmx500.py | 197 for band in bands: 198 if isinstance(band, str) and band[0] == 'n': 200 nr_bts.set_band(int(band[1:])) 208 lte_bts.set_band(int(band)) 660 def band(self): member in BaseStation 681 band = self._cell.get_band() 682 if band.is_fdd(): 684 if band.is_tdd(): 686 if band.is_dl_only(): 701 def set_band(self, band): argument [all …]
|
/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/framework/acts/controllers/cellular_lib/ |
D | LteSimulation.py | 501 band = cell[LteCellConfig.PARAM_BAND] 503 if isinstance(band, str) and not band.isdigit(): 505 if band[0] == 'n' and band[1:].isdigit(): 511 ca_class = band[-1].upper() 512 band_num = band[:-1] 521 raise ValueError('Invalid band value: ' + band) 560 band = new_cell_list[i][LteCellConfig.PARAM_BAND] 561 if isinstance(band, str) and band[0] == 'n': 874 def calibrate(self, band): argument 896 self.allowed_bandwidth_dictionary[int(band)]) [all …]
|
D | BaseSimulation.py | 502 def calibrate(self, band): argument 702 band = self.cell_configs[0].band 707 self.dl_path_loss = self.calibration_table[band]["dl"] 708 self.ul_path_loss = self.calibration_table[band]["ul"] 710 self.calibrate(band) 714 if band not in self.calibration_table: 715 self.calibration_table[band] = {} 717 if "dl" not in self.calibration_table[band] and self.dl_path_loss: 718 self.calibration_table[band]["dl"] = self.dl_path_loss 720 if "ul" not in self.calibration_table[band] and self.ul_path_loss: [all …]
|
/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 | WifiCellCoexChannelAvoidTest.py | 168 def enable_softap(self, ad, band=None): argument 192 band = WifiEnums.WIFI_CONFIG_SOFTAP_BAND_2G 194 band = WifiEnums.WIFI_CONFIG_SOFTAP_BAND_5G 195 wutils.save_wifi_soft_ap_config(ad, config, band=band) 239 self.band = test_item["band"] 249 self.radio, self.band, self.cellchannels)) 251 (self.radio, self.band, self.cellchannels))
|
D | WifiTxPowerCheckTest.py | 327 sar_config['band'] = next(band for band in list_of_bands 328 if band in sar_line.split('=')[0]) 366 for band, channels in self.BAND_TO_CHANNEL_MAP.items(): 368 current_band = band[0] 369 sub_band_idx = band[1] 400 for band, channels in self.BAND_TO_CHANNEL_MAP.items(): 402 current_band = band[0] 403 sub_band_idx = band[1] 794 band = self.access_point.band_lookup_by_channel( 796 if '6G' in band: [all …]
|
D | WifiSoftApMultiCountryTest.py | 133 def conf_packet_capture(self, band, channel): argument 138 result = self.packet_capture.configure_monitor_mode(band, freq_to_chan) 141 "for {} band".format(band)) 142 self.pcap_procs = wutils.start_pcap(self.packet_capture, band, 157 def validate_full_tether_startup(self, band=None, test_ping=False): argument 172 band=band)
|
D | WifiChaosTest.py | 299 self.band = ssid_info[-1] 342 band = SINGLE_BAND 344 band = DUAL_BAND 345 if (band == SINGLE_BAND) or (band == DUAL_BAND and '5G' in ssid): 358 self.pcap.configure_monitor_mode(self.band, self.chan) 359 self.pcap_procs = wutils.start_pcap(self.pcap, self.band.lower(),
|
D | WifiThroughputStabilityTest.py | 227 band = self.access_point.band_lookup_by_channel( 229 if '6G' in band: 243 self.access_point.set_channel(band, testcase_params['channel']) 244 self.access_point.set_bandwidth(band, testcase_params['mode']) 261 band = self.access_point.band_lookup_by_channel( 273 self.main_network[band]['channel'] = testcase_params['channel'] 460 band = self.access_point.band_lookup_by_channel( 462 testcase_params['test_network'] = self.main_network[band] 622 band = wputils.CHANNEL_TO_BAND_MAP[testcase_params['channel']] 624 test_atten = self.testclass_params['ota_atten_levels'][band][0] [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/fuchsia/wlan/performance/ |
D | WlanRvrTest.py | 327 band='2g', argument 344 if band == '2g': 346 elif band == '5g': 349 raise ValueError('Invalid WLAN band specified: %s' % band) 630 band='5g', 650 band='5g', 670 band='5g', 690 band='5g', 715 band='5g', 740 band='5g', [all …]
|
/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_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/cellular/performance/ |
D | CellularFr2PeakThroughputTest.py | 354 … for orientation, band, channel, num_ul_cells, num_dl_cells, nr_mcs_pair in itertools.product( 359 if channel not in cputils.PCC_PRESET_MAPPING[band]: 362 'nr_band': band, 366 'nr_channel': cputils.PCC_PRESET_MAPPING[band][channel], 374 orientation, band, channel, num_dl_cells, nr_mcs_pair[0], 569 for band, channel, num_ul_cells, num_dl_cells, nr_mcs_pair in itertools.product( 574 if channel not in cputils.PCC_PRESET_MAPPING[band]: 577 'nr_band': band, 588 band, channel, num_dl_cells, nr_mcs_pair[0], dl_mimo_config,
|
/tools/test/connectivity/acts/framework/acts/controllers/spirent_lib/ |
D | gss7000.py | 336 def power_lev_offset_cal(self, power_level=-130, sat='GPS', band='L1'): argument 380 def sat_band_convert(self, sat, band): argument 401 if band == '': 404 band = 'L1' 460 sat, band = self.sat_band_convert(sat_system, freq_band) 462 band_cmd = band_dict.get(band, 1) 472 power_offset = self.power_lev_offset_cal(power_level, sat, band)
|
/tools/test/connectivity/acts/framework/acts/controllers/anritsu_lib/ |
D | md8475_cellular_simulator.py | 326 def set_band(self, bts_index, band): argument 339 if int(bts.band) == band: 341 bts.band = '1' if band != 1 else '2' 345 bts.duplex_mode = self.get_duplex_mode(band).value 346 bts.band = band 349 def get_duplex_mode(self, band): argument 358 if 33 <= int(band) <= 46:
|