/tools/test/connectivity/acts/framework/acts/controllers/ |
D | asus_axe11000_ap.py | 249 channel_field = self._get_webdriver_elements_for_channels(band) 287 channel_field = self._get_webdriver_elements_for_channels(band) 315 channel_field = self._get_webdriver_elements_for_channels(band) 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) [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/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])]
|
/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 …]
|
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/performance/ |
D | WlanRvrTest.py | 237 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/ |
D | WifiSoftApPerformanceTest.py | 240 band = testcase_params['dut_connected'][0].split('_')[0] 245 band if band == '2G' else band + '_1', 247 band, 249 1 if band == '2G' else 36, 259 band = testcase_params['dut_connected'][1].split('_')[0] 269 band if band == '2G' else band + '_1', 271 band, 273 11 if band == '2G' else 149,
|
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 | 173 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)
|
D | WifiThroughputStabilityTest.py | 243 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]
|
D | WifiAutoUpdateTest.py | 126 band = WIFI_CONFIG_APBAND_5G 128 band = WifiEnums.WIFI_CONFIG_SOFTAP_BAND_5G 129 self.wifi_hotspot[WifiEnums.AP_BAND_KEY] = band 139 band = WifiEnums.WIFI_CONFIG_APBAND_5G_OLD 140 self.wifi_hotspot[WifiEnums.AP_BAND_KEY] = band 149 wutils.save_wifi_soft_ap_config(self.dut, self.wifi_hotspot, band)
|
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]
|
/tools/test/connectivity/acts_tests/tests/google/wifi/aware/performance/ |
D | WifiAwareRvrTest.py | 348 band = testcase_params['concurrency_state'][0].split('_')[0] 353 band if band == '2G' else band + '_1', 355 band, 357 1 if band == '2G' else 36, 367 band = testcase_params['concurrency_state'][1].split('_')[0] 371 elif band == ap_networks[0]['band']: 381 band if band == '2G' else band + '_1', 383 band, 385 11 if band == '2G' else 149,
|
/tools/test/connectivity/acts/framework/acts/controllers/cellular_lib/ |
D | BaseSimulation.py | 86 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 …]
|
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)
|
D | LteSimulation.py | 429 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:
|
/tools/test/connectivity/acts_tests/tests/google/wifi/p2p/performance/ |
D | WifiP2pRvrTest.py | 409 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_tests/tests/google/fuchsia/wlan/functional/ |
D | WlanRebootTest.py | 78 def create_custom_test_name(reboot_device, reboot_type, band, ip_version, argument 83 (reboot_device, reboot_type, band, ip_version, 187 band, argument 205 if band == BAND_2G: 211 elif band == BAND_5G: 227 if band == BAND_2G: 230 elif band == BAND_5G: 296 def setup_iperf_server_on_ap(self, band): argument 302 if band == BAND_2G: 307 elif band == 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/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 | cmx500.py | 249 def band(self): member in BaseStation 253 @band.setter 254 def band(self, band): argument
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/tel/ |
D | anritsu_utils.py | 367 bts.band = get_lte_band(user_params, cell_no, sim_card) 391 bts.band = get_wcdma_band(user_params, cell_no) 416 bts.band = get_gsm_band(user_params, cell_no, sim_card) 437 bts.band = get_1x_band(user_params, cell_no, sim_card) 457 bts.band = get_evdo_band(user_params, cell_no, sim_card) 2288 band = Fi_LTE_TMO_BAND[cell_no - 1] 2290 band = Fi_LTE_SPR_BAND[cell_no - 1] 2292 band = Fi_LTE_USCC_BAND[cell_no - 1] 2294 band = DEFAULT_LTE_BAND[cell_no - 1] 2295 return user_params.get(key, band) [all …]
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/ |
D | WifiBaseTest.py | 334 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
|
D | wifi_test_utils.py | 450 def band_to_freq(self, band): argument 465 return _band_to_frequencies[band] 980 def start_wifi_tethering(ad, ssid, password, band=None, hidden=None, argument 999 if band: 1000 config[WifiEnums.AP_BAND_KEY] = band 1023 band=None, argument 1091 elif band is not None: 1093 wifi_config[WifiEnums.AP_BAND_KEY] = band 1096 wifi_config[WifiEnums.AP_BAND_KEY] = band 2297 def start_softap_and_verify(ad, band): argument [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/openwrt_lib/ |
D | wireless_config.py | 30 band, argument 43 self.band = band
|