/external/autotest/server/cros/ap_configurators/ |
D | ap_spec_unittest.py | 11 ap_spec 18 spec = ap_spec.APSpec() 20 self.assertEquals(spec.security, ap_spec.DEFAULT_SECURITY_TYPE) 21 self.assertEquals(spec.band, ap_spec.DEFAULT_BAND) 22 self.assertEquals(spec.mode, ap_spec.DEFAULT_2GHZ_MODE) 23 self.assertEquals(spec.channel, ap_spec.DEFAULT_2GHZ_CHANNEL) 29 spec = ap_spec.APSpec(band=ap_spec.BAND_2GHZ) 30 self.assertEquals(spec.channel, ap_spec.DEFAULT_2GHZ_CHANNEL) 31 self.assertEquals(spec.mode, ap_spec.DEFAULT_2GHZ_MODE) 36 spec = ap_spec.APSpec(band=ap_spec.BAND_5GHZ) [all …]
|
D | asus_ap_configurator.py | 13 import ap_spec 29 if self.current_band == ap_spec.BAND_5GHZ: 50 return [{'band': ap_spec.BAND_2GHZ, 52 {'band': ap_spec.BAND_5GHZ, 57 return [{'band': ap_spec.BAND_2GHZ, 58 'modes': [ap_spec.MODE_B, ap_spec.MODE_N, ap_spec.MODE_B | 59 ap_spec.MODE_G, ap_spec.MODE_B]}, 60 {'band': ap_spec.BAND_5GHZ, 61 'modes': [ap_spec.MODE_N, ap_spec.MODE_A]}] 73 return security_mode in (ap_spec.SECURITY_TYPE_DISABLED, [all …]
|
D | asus_rtac68u_ap_configurator.py | 9 import ap_spec 40 return [{'band': ap_spec.BAND_2GHZ, 42 {'band': ap_spec.BAND_5GHZ, 48 return [{'band': ap_spec.BAND_2GHZ, 49 'modes': [ap_spec.MODE_N]}, 50 {'band': ap_spec.BAND_5GHZ, 51 'modes': [ap_spec.MODE_N, ap_spec.MODE_N|ap_spec.MODE_AC]}] 61 return {ap_spec.BAND_2GHZ: {ap_spec.MODE_N: [20]}, 62 ap_spec.BAND_5GHZ: {ap_spec.MODE_N: [20], 63 ap_spec.MODE_N|ap_spec.MODE_AC: [20]}} [all …]
|
D | ap_configurator_test.py | 20 import ap_spec 45 AP_SPEC = ap_spec.APSpec(hostnames=['chromeos3-row4-rack1-host9']) 104 if (mode_type & ap_spec.MODE_N) != ap_spec.MODE_N: 156 if band == ap_spec.BAND_5GHZ: 166 self.ap.set_band(ap_spec.BAND_2GHZ) 168 self.ap.set_band(ap_spec.BAND_5GHZ) 182 if self.ap.is_security_mode_supported(ap_spec.SECURITY_TYPE_WEP): 184 ap_spec.WEP_AUTHENTICATION_OPEN) 192 if not ap_spec.MODE_N in mode['modes']: 194 if not self.ap.is_security_mode_supported(ap_spec.SECURITY_TYPE_WEP): [all …]
|
D | asus_qis_ap_configurator.py | 7 import ap_spec 50 return [{'band': ap_spec.BAND_2GHZ, 52 {'band': ap_spec.BAND_5GHZ, 57 return [{'band': ap_spec.BAND_2GHZ, 58 'modes': [ap_spec.MODE_N, ap_spec.MODE_AUTO]}, 59 {'band': ap_spec.BAND_5GHZ, 60 'modes': [ap_spec.MODE_N, ap_spec.MODE_AUTO]}] 72 if mode == ap_spec.MODE_AUTO: 74 elif mode == ap_spec.MODE_N: 103 if self.current_band == ap_spec.BAND_5GHZ: [all …]
|
D | static_ap_configurator.py | 15 from autotest_lib.server.cros.ap_configurators import ap_spec 55 if self.security == ap_spec.SECURITY_TYPE_MIXED: 56 self.security = [ap_spec.SECURITY_TYPE_WPA2PSK, 57 ap_spec.SECURITY_TYPE_WPAPSK] 203 'modes' : [ap_spec.DEFAULT_5GHZ_MODE 204 if self.channel in ap_spec.VALID_5GHZ_CHANNELS 205 else ap_spec.DEFAULT_2GHZ_MODE]}] 262 if (ap_spec.SECURITY_TYPE_WPAPSK in self.security or 263 ap_spec.SECURITY_TYPE_WPA2PSK in self.security):
|
D | asus_ac66r_ap_configurator.py | 7 import ap_spec 22 if mode == ap_spec.MODE_AUTO: 24 elif mode == ap_spec.MODE_N: 42 if self.current_band == ap_spec.BAND_5GHZ:
|
D | ap_batch_locker.py | 51 def construct_ap_lockers(ap_spec, retries, hostname_matching_only=False, argument 67 ap_spec) 69 for ap in factory.get_aps_by_hostnames(ap_spec.hostnames): 72 for ap in factory.get_ap_configurators_by_spec(ap_spec): 76 logging.error('Found no matching APs to test against for %s', ap_spec) 99 def __init__(self, lock_manager, ap_spec, retries=MAX_RETRIES, argument 113 self.aps_to_lock = construct_ap_lockers(ap_spec, retries,
|
/external/autotest/server/site_tests/network_WiFi_ChaosConnectDisconnect/ |
D | control.static_5Ghz | 17 from autotest_lib.server.cros.ap_configurators import ap_spec 23 ap_specs = [ap_spec.APSpec(band=ap_spec.BAND_5GHZ, 25 configurator_type=ap_spec.CONFIGURATOR_STATIC), 26 ap_spec.APSpec(band=ap_spec.BAND_5GHZ, 28 configurator_type=ap_spec.CONFIGURATOR_STATIC), 29 ap_spec.APSpec(band=ap_spec.BAND_5GHZ, 31 configurator_type=ap_spec.CONFIGURATOR_STATIC), 32 ap_spec.APSpec(band=ap_spec.BAND_5GHZ, 34 configurator_type=ap_spec.CONFIGURATOR_STATIC), 35 ap_spec.APSpec(band=ap_spec.BAND_5GHZ, [all …]
|
D | control.static | 17 from autotest_lib.server.cros.ap_configurators import ap_spec 23 ap_specs = [ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_DISABLED, 24 band=ap_spec.BAND_2GHZ, 25 configurator_type=ap_spec.CONFIGURATOR_STATIC), 26 ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_DISABLED, 27 band=ap_spec.BAND_5GHZ, 28 configurator_type=ap_spec.CONFIGURATOR_STATIC), 29 ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 30 band=ap_spec.BAND_2GHZ, 31 configurator_type=ap_spec.CONFIGURATOR_STATIC), [all …]
|
D | control.wpapsk | 16 from autotest_lib.server.cros.ap_configurators import ap_spec 22 ap_specs = [ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPAPSK, 23 band=ap_spec.BAND_2GHZ), 24 ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPAPSK, 25 band=ap_spec.BAND_5GHZ), 27 ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPAPSK, 28 band=ap_spec.BAND_5GHZ, 30 configurator_type=ap_spec.CONFIGURATOR_STATIC)]
|
D | control.wpa2psk | 19 from autotest_lib.server.cros.ap_configurators import ap_spec 25 ap_specs = [ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 26 band=ap_spec.BAND_2GHZ), 27 ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 28 band=ap_spec.BAND_5GHZ), 30 ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 31 band=ap_spec.BAND_5GHZ, 33 configurator_type=ap_spec.CONFIGURATOR_STATIC)]
|
D | control.static_2Ghz | 17 from autotest_lib.server.cros.ap_configurators import ap_spec 23 ap_specs = [ap_spec.APSpec(band=ap_spec.BAND_2GHZ, 25 configurator_type=ap_spec.CONFIGURATOR_STATIC), 26 ap_spec.APSpec(band=ap_spec.BAND_2GHZ, 28 configurator_type=ap_spec.CONFIGURATOR_STATIC), 29 ap_spec.APSpec(band=ap_spec.BAND_2GHZ, 31 configurator_type=ap_spec.CONFIGURATOR_STATIC)]
|
D | control.open_n | 18 from autotest_lib.server.cros.ap_configurators import ap_spec 24 ap_specs = [ap_spec.APSpec(mode=ap_spec.MODE_N, 25 security=ap_spec.SECURITY_TYPE_DISABLED, 26 band=ap_spec.BAND_2GHZ), 27 ap_spec.APSpec(mode=ap_spec.MODE_N, 28 security=ap_spec.SECURITY_TYPE_DISABLED, 29 band=ap_spec.BAND_5GHZ)]
|
D | control.open | 16 from autotest_lib.server.cros.ap_configurators import ap_spec 22 ap_specs = [ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_DISABLED, 23 band=ap_spec.BAND_2GHZ), 24 ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_DISABLED, 25 band=ap_spec.BAND_5GHZ)]
|
D | control.debug | 16 from autotest_lib.server.cros.ap_configurators import ap_spec 23 ap_specs = [ap_spec.APSpec(band=ap_spec.BAND_2GHZ, hostnames=debug_aps), 24 ap_spec.APSpec(band=ap_spec.BAND_5GHZ, hostnames=debug_aps)]
|
D | control.jetstream | 16 from autotest_lib.server.cros.ap_configurators import ap_spec 23 ap_specs = [ap_spec.APSpec(channel=5, hostnames=jetstream_ap, 24 security=ap_spec.SECURITY_TYPE_WPA2PSK), 25 ap_spec.APSpec(channel=48, hostnames=jetstream_ap, 26 security=ap_spec.SECURITY_TYPE_WPA2PSK)]
|
/external/autotest/server/site_tests/network_WiFi_ChaosLongConnect/ |
D | control.suspend | 18 from autotest_lib.server.cros.ap_configurators import ap_spec 25 ap_specs = [ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 26 band=ap_spec.BAND_2GHZ), 27 ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 28 band=ap_spec.BAND_5GHZ), 30 ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 31 band=ap_spec.BAND_5GHZ, 33 configurator_type=ap_spec.CONFIGURATOR_STATIC)]
|
D | control.netperf_udp_downstream | 17 from autotest_lib.server.cros.ap_configurators import ap_spec 26 ap_specs = [ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 27 band=ap_spec.BAND_2GHZ), 28 ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 29 band=ap_spec.BAND_5GHZ), 31 ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 32 band=ap_spec.BAND_5GHZ, 34 configurator_type=ap_spec.CONFIGURATOR_STATIC)]
|
D | control.netperf_udp_upstream | 17 from autotest_lib.server.cros.ap_configurators import ap_spec 26 ap_specs = [ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 27 band=ap_spec.BAND_2GHZ), 28 ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 29 band=ap_spec.BAND_5GHZ), 31 ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 32 band=ap_spec.BAND_5GHZ, 34 configurator_type=ap_spec.CONFIGURATOR_STATIC)]
|
D | control.long | 17 from autotest_lib.server.cros.ap_configurators import ap_spec 24 ap_specs = [ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 25 band=ap_spec.BAND_2GHZ), 26 ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 27 band=ap_spec.BAND_5GHZ), 29 ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 30 band=ap_spec.BAND_5GHZ, 32 configurator_type=ap_spec.CONFIGURATOR_STATIC)]
|
D | control.debug | 17 from autotest_lib.server.cros.ap_configurators import ap_spec 30 ap_specs = [ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 31 band=ap_spec.BAND_2GHZ, 33 ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 34 band=ap_spec.BAND_5GHZ,
|
/external/autotest/server/site_tests/network_WiFi_CliqueConnectDisconnect/ |
D | control.debug | 15 from autotest_lib.server.cros.ap_configurators import ap_spec 24 ap_specs = [ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 25 band=ap_spec.BAND_2GHZ, 27 ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 28 band=ap_spec.BAND_5GHZ,
|
/external/autotest/server/site_tests/network_WiFi_CliqueLongConnect/ |
D | control.debug | 15 from autotest_lib.server.cros.ap_configurators import ap_spec 24 ap_specs = [ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 25 band=ap_spec.BAND_2GHZ, 27 ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 28 band=ap_spec.BAND_5GHZ,
|
/external/autotest/server/cros/network/ |
D | chaos_clique_utils.py | 21 from autotest_lib.server.cros.ap_configurators import ap_spec as ap_spec_module 66 def configure_aps(aps, ap_spec, broken_pdus=[]): argument 75 ap.set_using_ap_spec(ap_spec) 211 def scan_for_networks(ssid, capturer, ap_spec): argument 223 freq = ap_spec_module.FREQUENCY_TABLE[ap_spec.channel] 246 def return_available_networks(ap, capturer, job, ap_spec): argument 257 networks = scan_for_networks(ap.ssid, capturer, ap_spec) 268 if ap_spec.security in security: 274 if ap_spec.security not in security: 276 ap_spec.security,
|