/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/ |
D | WlanRebootTest.py | 175 def setup_ap(self, ssid, band, ipv4=True, ipv6=False): argument 184 if band == BAND_2G: 189 elif band == BAND_5G: 204 if band == BAND_2G: 207 elif band == BAND_5G: 230 band, argument 242 self.setup_ap(ssid, band, ipv4, ipv6) 304 def setup_iperf_server_on_ap(self, band): argument 310 if band == BAND_2G: 315 elif band == BAND_5G: [all …]
|
D | WlanRvrTest.py | 237 band='2g', argument 255 if band == '2g': 257 elif band == '5g': 260 raise ValueError('Invalid WLAN band specified: %s' % band) 578 band='5g', 598 band='5g', 618 band='5g', 638 band='5g', 662 band='5g', 686 band='5g', [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
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/framework/acts/controllers/anritsu_lib/ |
D | md8475_cellular_simulator.py | 143 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 …]
|
D | md8475a.py | 1138 for band in result: 1139 bands.append(WCDMA_BANDS[band]) 1897 def band(self): member in _BaseTransceiverStation 1909 @band.setter 1910 def band(self, band): member in _BaseTransceiverStation 1919 cmd = "BAND {},{}".format(band, self._bts_number)
|
/tools/test/connectivity/acts_tests/tests/google/tel/lab/ |
D | TelLabMobilityTest.py | 176 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])]
|
D | TelLabNeighborCellTest.py | 235 def _setup_lte_neighbhor_cell_md8475a(self, bts, band, dl_power, cell_id, argument 238 bts.band = band 254 def _setup_wcdma_neighbhor_cell_md8475a(self, bts, band, dl_power, argument 257 bts.band = band 263 bts.band = params['band'] 280 bts.band = params['band'] 292 bts.band = params['band']
|
/tools/test/connectivity/acts/framework/acts/test_utils/power/tel_simulations/ |
D | BaseSimulation.py | 90 self.band = None 549 def calibrate(self, band): argument 768 band = self.primary_config.band 773 self.dl_path_loss = self.calibration_table[band]["dl"] 774 self.ul_path_loss = self.calibration_table[band]["ul"] 776 self.calibrate(band) 780 if band not in self.calibration_table: 781 self.calibration_table[band] = {} 783 if "dl" not in self.calibration_table[band] and self.dl_path_loss: 784 self.calibration_table[band]["dl"] = self.dl_path_loss [all …]
|
D | LteSimulation.py | 429 self.band = None 555 new_config.band = values[1] 558 if self.get_duplex_mode(new_config.band) == DuplexMode.TDD: 947 duplex_mode = self.get_duplex_mode(bts_config.band) 1062 duplex_mode = self.get_duplex_mode(bts_config.band) 1213 def calibrate(self, band): argument 1234 self.allowed_bandwidth_dictionary[int(band)]) 1238 super().calibrate(band) 1259 def get_duplex_mode(self, band): argument 1268 if 33 <= int(band) <= 46:
|
D | LteCaSimulation.py | 148 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)
|
/tools/test/connectivity/acts/framework/acts/test_utils/tel/ |
D | anritsu_utils.py | 381 bts.band = get_lte_band(user_params, cell_no, sim_card) 405 bts.band = get_wcdma_band(user_params, cell_no) 430 bts.band = get_gsm_band(user_params, cell_no, sim_card) 451 bts.band = get_1x_band(user_params, cell_no, sim_card) 471 bts.band = get_evdo_band(user_params, cell_no, sim_card) 2302 band = Fi_LTE_TMO_BAND[cell_no - 1] 2304 band = Fi_LTE_SPR_BAND[cell_no - 1] 2306 band = Fi_LTE_USCC_BAND[cell_no - 1] 2308 band = DEFAULT_LTE_BAND[cell_no - 1] 2309 return user_params.get(key, band) [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/ |
D | wifi_test_utils.py | 409 def band_to_freq(self, band): argument 420 return _band_to_frequencies[band] 908 def start_wifi_tethering(ad, ssid, password, band=None, hidden=None): argument 925 if band: 926 config[WifiEnums.APBAND_KEY] = band 946 def save_wifi_soft_ap_config(ad, wifi_config, band=None, hidden=None): argument 948 if band: 949 wifi_config[WifiEnums.APBAND_KEY] = band 2032 def start_softap_and_verify(ad, band): argument 2044 config[WifiEnums.PWD_KEY], band=band) [all …]
|
D | WifiBaseTest.py | 244 def update_bssid(self, ap_instance, ap, network, band): argument 254 bssid = ap.get_bssid_from_ssid(network["SSID"], band) 259 self.reference_networks[ap_instance][band]["bssid"] = bssid 261 self.wpa_networks[ap_instance][band]["bssid"] = bssid 263 self.wep_networks[ap_instance][band]["bssid"] = bssid 265 if "bssid" not in self.ent_networks[ap_instance][band]: 266 self.ent_networks[ap_instance][band]["bssid"] = bssid 268 self.ent_networks_pwd[ap_instance][band]["bssid"] = bssid 270 self.open_network[ap_instance][band]["bssid"] = bssid
|
/tools/test/connectivity/acts/framework/acts/controllers/rohdeschwarz_lib/ |
D | cmw500_cellular_simulator.py | 228 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:
|
D | cmw500.py | 483 def band(self): member in BaseStation 488 @band.setter 489 def band(self, band): member in BaseStation 495 cmd = 'CONFigure:LTE:SIGN:{}:BAND {}'.format(self._bts, band)
|
D | cmx500.py | 249 def band(self): member in BaseStation 253 @band.setter 254 def band(self, band): argument
|
/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/google/wifi/ |
D | WifiThroughputStabilityTest.py | 239 band = self.access_point.band_lookup_by_channel( 241 if '2G' in band: 251 self.access_point.set_channel(band, testcase_params['channel']) 252 self.access_point.set_bandwidth(band, testcase_params['mode']) 267 band = self.access_point.band_lookup_by_channel( 277 self.main_network[band]['channel'] = testcase_params['channel'] 399 band = self.access_point.band_lookup_by_channel( 401 testcase_params['test_network'] = self.main_network[band]
|
D | WifiChaosTest.py | 296 self.band = ssid_info[-1] 339 band = SINGLE_BAND 341 band = DUAL_BAND 342 if (band == SINGLE_BAND) or ( 343 band == DUAL_BAND and '5G' in ssid): 356 self.pcap.configure_monitor_mode(self.band, self.chan) 358 self.pcap, self.band.lower(), self.test_name)
|
D | WifiSensitivityTest.py | 351 band = self.access_point.band_lookup_by_channel( 353 if '2G' in band: 363 self.access_point.set_channel(band, testcase_params['channel']) 364 self.access_point.set_bandwidth(band, testcase_params['mode']) 365 self.access_point.set_power(band, testcase_params['ap_tx_power']) 366 self.access_point.set_rate(band, testcase_params['mode'], 481 band = self.access_point.band_lookup_by_channel( 483 testcase_params['test_network'] = self.main_network[band]
|
D | WifiPingTest.py | 364 band = self.access_point.band_lookup_by_channel( 366 if '2G' in band: 376 self.access_point.set_channel(band, testcase_params['channel']) 377 self.access_point.set_bandwidth(band, testcase_params['mode']) 381 band, self.testclass_params['low_ap_tx_power']) 451 band = self.access_point.band_lookup_by_channel( 453 testcase_params['test_network'] = self.main_network[band]
|
D | WifiSoftApAcsTest.py | 79 band = '2G' if self.chan_map[int(chan)] < 5000 else '5G' 80 self.packet_capture[0].configure_monitor_mode(band, int(chan)) 82 self.packet_capture[0], band, self.test_name) 131 def start_softap_and_verify(self, band): argument 141 config[wutils.WifiEnums.PWD_KEY], band=band)
|
D | WifiRvrTest.py | 457 band = self.access_point.band_lookup_by_channel( 459 if '2G' in band: 469 self.access_point.set_channel(band, testcase_params['channel']) 470 self.access_point.set_bandwidth(band, testcase_params['mode']) 542 band = self.access_point.band_lookup_by_channel( 544 testcase_params['test_network'] = self.main_network[band]
|
D | WifiScannerScanTest.py | 541 def check_get_available_channels_with_one_band(self, band): argument 550 r = self.dut.droid.wifiScannerGetAvailableChannels(band) 551 self.log.debug(band) 553 expected = self.wifi_chs.band_to_freq(band) 554 asserts.assert_equal(set(r), set(expected), "Band %s failed." % band)
|
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/p2p/ |
D | wifi_p2p_test_utils.py | 187 def p2p_connect_with_config(ad1, ad2, network_name, passphrase, band): argument 204 WifiP2PEnums.WifiP2pConfig.GROUP_BAND: band, 550 def p2p_create_group_with_config(ad, network_name, passphrase, band): argument 559 WifiP2PEnums.WifiP2pConfig.GROUP_BAND: band,
|