Home
last modified time | relevance | path

Searched refs:band (Results 1 – 25 of 81) sorted by relevance

1234

/tools/test/connectivity/acts/framework/acts/controllers/
Dasus_axe11000_ap.py337 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 …]
Dpacket_capture.py212 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 …]
Dhandover_simulator.py31 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/
DChannelSwitchTest.py72 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 …]
DWlanRebootTest.py173 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/
Dcmx500_handover_simulator.py33 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 …]
Dcmw500_handover_simulator.py48 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 …]
Dcmw500_cellular_simulator.py227 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))
Dcmx500.py197 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/
DTelLabMobilityTest.py167 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/
DLteSimulation.py501 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 …]
DBaseSimulation.py502 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/
DWifiSoftApPerformanceTest.py261 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,
DWifiCellCoexChannelAvoidTest.py168 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))
DWifiTxPowerCheckTest.py327 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 …]
DWifiSoftApMultiCountryTest.py133 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)
DWifiChaosTest.py299 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(),
DWifiThroughputStabilityTest.py227 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/
DWifiAwareRvrTest.py361 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/
DWlanRvrTest.py327 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/
DHotspotWiFiChannelTest.py128 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/
DWifiP2pRvrTest.py421 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/
DCellularFr2PeakThroughputTest.py354 … 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/
Dgss7000.py336 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/
Dmd8475_cellular_simulator.py326 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:

1234