Home
last modified time | relevance | path

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

12

/tools/test/connectivity/acts/framework/acts/controllers/
Dpacket_capture.py208 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/tel/lab/
DTelLabMobilityTest.py176 band = []
178 band.append(self.anritsu.get_supported_bands(rat))
179 self.log.info("UE reported LTE bands are {}".format(band[0]))
180 self.log.info("UE reported WCDMA bands are {}".format(band[1]))
181 current_lte_band = bts[0].band
183 band[0].remove(current_lte_band)
184 band[0].append(current_lte_band)
185 n = max(len(band[0]), len(band[1]))
191 bts[1].band = band[1][i % len(band[1])]
224 bts[0].band = band[0][i % len(band[0])]
/tools/test/connectivity/acts/framework/acts/controllers/anritsu_lib/
Dmd8475_cellular_simulator.py143 band = ca[:-1]
147 if band in bands:
156 bands.append(band)
160 bands.append(band)
161 bands.append(band)
383 def set_band(self, bts_index, band): argument
396 if int(bts.band) == band:
398 bts.band = '1' if band != 1 else '2'
402 bts.duplex_mode = self.get_duplex_mode(band).value
403 bts.band = band
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/cellular_lib/
DBaseSimulation.py86 self.band = None
545 def calibrate(self, band): argument
745 band = self.primary_config.band
750 self.dl_path_loss = self.calibration_table[band]["dl"]
751 self.ul_path_loss = self.calibration_table[band]["ul"]
753 self.calibrate(band)
757 if band not in self.calibration_table:
758 self.calibration_table[band] = {}
760 if "dl" not in self.calibration_table[band] and self.dl_path_loss:
761 self.calibration_table[band]["dl"] = self.dl_path_loss
[all …]
DLteCaSimulation.py148 band = ca[:-1]
150 self.bts_configs[bts_index].band = band
155 self.bts_configs[bts_index].band = band
183 band = int(ca[:-1])
189 bw = max(self.allowed_bandwidth_dictionary[band])
201 self.LOWEST_DL_CN_DICTIONARY[int(band)] + bw * 10 - 2)
DLteSimulation.py429 self.band = None
551 new_config.band = values[1]
554 if self.get_duplex_mode(new_config.band) == DuplexMode.TDD:
943 duplex_mode = self.get_duplex_mode(bts_config.band)
1058 duplex_mode = self.get_duplex_mode(bts_config.band)
1209 def calibrate(self, band): argument
1230 self.allowed_bandwidth_dictionary[int(band)])
1234 super().calibrate(band)
1255 def get_duplex_mode(self, band): argument
1264 if 33 <= int(band) <= 46:
DGsmSimulation.py150 def set_band(self, bts, band): argument
158 bts.band = band
DUmtsSimulation.py290 def set_band(self, bts, band): argument
298 bts.band = band
/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/fuchsia/wlan/performance/
DWlanRvrTest.py237 band='2g', argument
255 if band == '2g':
257 elif band == '5g':
260 raise ValueError('Invalid WLAN band specified: %s' % band)
586 band='5g',
606 band='5g',
626 band='5g',
646 band='5g',
671 band='5g',
696 band='5g',
[all …]
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiCellCoexChannelAvoidTest.py167 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,
DWifiChaosTest.py298 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)
DWifiSoftApMultiCountryTest.py136 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)
DWifiIOTConnectionTest.py173 def start_packet_capture(self, band, channel): argument
181 result = self.packet_capture.configure_monitor_mode(band, channel)
184 "for {} band".format(band))
186 self.packet_capture, band, self.current_test_name)
280 self.band = test_item["band"]
283 self.start_packet_capture(self.band, self.channel)
DWifiThroughputStabilityTest.py243 band = self.access_point.band_lookup_by_channel(
245 if '2G' in band:
255 self.access_point.set_channel(band, testcase_params['channel'])
256 self.access_point.set_bandwidth(band, testcase_params['mode'])
271 band = self.access_point.band_lookup_by_channel(
281 self.main_network[band]['channel'] = testcase_params['channel']
403 band = self.access_point.band_lookup_by_channel(
405 testcase_params['test_network'] = self.main_network[band]
DWifiAutoUpdateTest.py133 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/wifi/p2p/performance/
DWifiP2pRvrTest.py409 band = testcase_params['concurrency_state'][0].split('_')[0]
414 band if band == '2G' else band + '_1',
416 band,
418 1 if band == '2G' else 36,
428 band = testcase_params['concurrency_state'][1].split('_')[0]
432 elif band == ap_networks[0]['band']:
442 band if band == '2G' else band + '_1',
444 band,
446 11 if band == '2G' else 149,
/tools/test/connectivity/acts/framework/acts/controllers/rohdeschwarz_lib/
Dcmw500_cellular_simulator.py228 def set_band(self, bts_index, band): argument
236 bts.duplex_mode = self.get_duplex_mode(band)
237 band = 'OB' + band
238 bts.band = band
239 self.log.debug('Band set to {}'.format(band))
241 def get_duplex_mode(self, band): argument
250 if 33 <= int(band) <= 46:
Dcmx500.py249 def band(self): member in BaseStation
253 @band.setter
254 def band(self, band): member in BaseStation
Dcmx500_cellular_simulator.py61 def set_band(self, bts_index, band): argument
70 def get_duplex_mode(self, band): argument
/tools/test/connectivity/acts/framework/acts/controllers/openwrt_lib/
Dwireless_config.py30 band, argument
43 self.band = band
Dwireless_settings_applier.py81 if config.band == hostapd_constants.BAND_2G:
89 elif config.band == hostapd_constants.BAND_5G:
100 if config.band == hostapd_constants.BAND_2G:
/tools/test/connectivity/acts_tests/tests/google/wifi/p2p/functional/
DWifiP2pMultiCoutryTest.py84 def conf_packet_capture(self, band, channel): argument
89 result = self.packet_capture.configure_monitor_mode(band, freq_to_chan)
92 "for {} band".format(band))
94 self.packet_capture, band, self.test_name)
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/
DWifiBaseTest.py334 def update_bssid(self, ap_instance, ap, network, band): argument
344 bssid = ap.get_bssid_from_ssid(network["SSID"], band)
349 self.reference_networks[ap_instance][band]["bssid"] = bssid
351 self.wpa_networks[ap_instance][band]["bssid"] = bssid
353 self.wep_networks[ap_instance][band]["bssid"] = bssid
355 if "bssid" not in self.ent_networks[ap_instance][band]:
356 self.ent_networks[ap_instance][band]["bssid"] = bssid
358 self.ent_networks_pwd[ap_instance][band]["bssid"] = bssid
360 self.open_network[ap_instance][band]["bssid"] = bssid
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/cellular/
Dcellular_power_base_test.py116 for band, pathloss in self.calibration_table[sim_type].items():
118 band, pathloss.get('dl', 'Error'),

12