/external/autotest/server/cros/ |
D | ap_config.py | 31 ap_config = six.moves.configparser.RawConfigParser( 40 ap_config.read(path) 41 for bss in ap_config.sections(): 42 aps.append(AP(bss, ap_config)) 98 self.ap_config = config 103 return self.ap_config.get(self.bss, self.CONF_SSID) 108 return self.ap_config.get(self.bss, self.CONF_BRAND) 113 return self.ap_config.get(self.bss, self.CONF_MODEL) 118 return self.ap_config.get(self.bss, self.CONF_WAN_MAC) 123 return self.ap_config.get(self.bss, self.CONF_WAN_HOST) [all …]
|
D | ap_config_unittest.py | 11 from autotest_lib.server.cros import ap_config 21 ap = ap_config.AP('test_bss', conf) 31 ap = ap_config.AP('test_bss', conf) 38 self.assertGreater(len(ap_config.get_ap_list()), 0)
|
/external/autotest/server/cros/ap_configurators/ |
D | static_ap_configurator.py | 33 def __init__(self, ap_config): argument 45 self.class_name = ap_config.get_class() 46 self._short_name = ap_config.get_model() 47 self.mac_address = ap_config.get_wan_mac() 48 self.host_name = ap_config.get_wan_host() 51 self.channel = ap_config.get_channel() 52 self.band = ap_config.get_band() 53 self.current_band = ap_config.get_band() 54 self.security = ap_config.get_security() 60 self.psk = ap_config.get_psk() [all …]
|
/external/autotest/server/cros/network/ |
D | tunneled_1x_tests.py | 30 ap_config = hostap_config.HostapConfig( 36 configurations.append((ap_config, assoc_params)) 59 ap_config = hostap_config.HostapConfig( 65 configurations.append((ap_config, assoc_params)) 90 ap_config = hostap_config.HostapConfig( 96 configurations.append((ap_config, assoc_params)) 125 ap_config = hostap_config.HostapConfig( 132 configurations.append((ap_config, assoc_params)) 143 ap_config = hostap_config.HostapConfig( 150 configurations.append((ap_config, assoc_params)) [all …]
|
D | wifi_test_context_manager.py | 150 def configure(self, ap_config, multi_interface=None, is_ibss=None, argument 168 if not self.client.is_frequency_supported(ap_config.frequency): 170 ap_config.frequency) 171 if ap_config.require_vht: 177 ap_config.security_config.install_router_credentials(router.host, 185 router.ibss_configure(ap_config) 187 router.hostap_configure(ap_config, multi_interface=multi_interface) 189 self.client.start_capture(ap_config.frequency, 192 self.capture_host.start_capture(ap_config.frequency, 193 width_type=ap_config.packet_capture_mode,
|
/external/autotest/server/site_tests/network_WiFi_ProfileGUID/ |
D | network_WiFi_ProfileGUID.py | 73 get_client_config = lambda ap_config: \ argument 76 security_config=ap_config.security_config, 79 ap_config = get_ap_config(None, self.TEST_PASSWORD0) 80 self.context.configure(ap_config) 81 assoc_params = get_client_config(ap_config) 96 ap_config = get_ap_config(assoc_params.ssid, self.TEST_PASSWORD1) 97 self.context.configure(ap_config) 98 assoc_params = get_client_config(ap_config) 104 ap_config = get_ap_config(assoc_params.ssid, self.TEST_PASSWORD2) 105 self.context.configure(ap_config)
|
/external/autotest/server/site_tests/network_WiFi_SimpleConnect/ |
D | control.wifi_check1x_WPA | 34 ap_config = hostap_config.HostapConfig( 40 configurations.append((ap_config, assoc_params)) 49 ap_config = hostap_config.HostapConfig( 56 configurations.append((ap_config, assoc_params)) 65 ap_config = hostap_config.HostapConfig( 72 configurations.append((ap_config, assoc_params)) 82 ap_config = hostap_config.HostapConfig( 88 configurations.append((ap_config, assoc_params)) 97 ap_config = hostap_config.HostapConfig( 104 configurations.append((ap_config, assoc_params)) [all …]
|
/external/autotest/server/site_tests/network_WiFi_AssocConfigPerformance/ |
D | network_WiFi_AssocConfigPerformance.py | 54 def _connect_disconnect_performance(self, ap_config): argument 63 self.context.configure(ap_config) 78 def _suspend_resume_performance(self, ap_config, suspend_duration): argument 92 self.context.configure(ap_config) 124 for ap_config in self._ap_configs: 130 self._connect_disconnect_performance(ap_config)) 133 ap_config, suspend_duration)) 135 graph_descript = ap_config.perf_loggable_description
|
/external/autotest/server/site_tests/network_WiFi_APSupportedRates/ |
D | network_WiFi_APSupportedRates.py | 87 ap_config = self._ap_config 91 if (ap_config.frequency < 5000 and 96 self.context.configure(ap_config) 98 ap_config.frequency, 99 width_type=ap_config.packet_capture_mode) 110 ap_config.supported_rates)
|
/external/autotest/server/site_tests/network_WiFi_DarkResumeActiveScans/ |
D | network_WiFi_DarkResumeActiveScans.py | 53 ap_config = hostap_config.HostapConfig(channel=1) 54 self.configure_and_connect_to_ap(ap_config) 80 ap_config.frequency, 81 width_type=ap_config.packet_capture_mode) 119 ap_config.frequency, 120 width_type=ap_config.packet_capture_mode)
|
/external/autotest/server/site_tests/network_WiFi_Perf/ |
D | network_WiFi_Perf.py | 60 def do_run(self, ap_config, session, power_save, governor): argument 105 ap_config_tag = '_'.join([ap_config.perf_loggable_description, 133 for ap_config in self._ap_configs: 135 self.context.configure(ap_config) 142 if ap_config.is_11ac and not self.context.client.is_vht_supported(): 146 security_config=ap_config.security_config) 156 self.do_run(ap_config, session, power_save, governor)
|
/external/autotest/server/site_tests/network_WiFi_VisibleScan/ |
D | network_WiFi_VisibleScan.py | 32 for ap_config in self._ap_configs: 35 ap_config.frequency, 36 width_type=ap_config.packet_capture_mode, 42 self.context.configure(ap_config)
|
/external/autotest/server/site_tests/network_WiFi_HiddenScan/ |
D | network_WiFi_HiddenScan.py | 22 ap_config = hostap_config.HostapConfig(channel=1, hide_ssid=True) 26 ap_config.frequency, 27 width_type=ap_config.packet_capture_mode, 33 self.context.configure(ap_config)
|
/external/autotest/server/site_tests/network_WiFi_HiddenRemains/ |
D | network_WiFi_HiddenRemains.py | 59 for ap_config in ap_configs: 60 self.context.configure(ap_config) 63 is_hidden=ap_config.hide_ssid) 68 ap_config.hide_ssid is True)
|
/external/autotest/server/site_tests/network_WiFi_SecChange/ |
D | network_WiFi_SecChange.py | 27 ap_config = hostap_config.HostapConfig( 32 self.context.configure(ap_config) 42 ap_config = hostap_config.HostapConfig( 46 self.context.configure(ap_config)
|
/external/autotest/server/site_tests/network_WiFi_ChannelHop/ |
D | network_WiFi_ChannelHop.py | 22 ap_config = hostap_config.HostapConfig( 27 self.context.configure(ap_config) 55 ap_config = hostap_config.HostapConfig( 60 self.context.configure(ap_config)
|
/external/autotest/server/site_tests/network_WiFi_RateControl/ |
D | network_WiFi_RateControl.py | 130 for _, ap_config in enumerate([get_config(1), get_config(157)]): 132 self.context.configure(ap_config) 134 ap_config.frequency, 135 width_type=ap_config.packet_capture_mode, 152 max_mcs_index = self.get_highest_mcs_rate(ap_config.frequency)
|
/external/autotest/server/site_tests/network_WiFi_BluetoothScanPerf/ |
D | network_WiFi_BluetoothScanPerf.py | 101 for ap_config in self._ap_configs: 103 self.context.configure(ap_config) 104 if ap_config.is_11ac and not self.context.client.is_vht_supported(): 108 security_config=ap_config.security_config) 115 ap_config_tag = ap_config.perf_loggable_description
|
/external/autotest/server/site_tests/network_WiFi_SSIDSwitchBack/ |
D | network_WiFi_SSIDSwitchBack.py | 39 ap_config = hostap_config.HostapConfig(ssid=ssid, frequency=freq, 41 self.context.configure(ap_config) 75 ap_config = hostap_config.HostapConfig( 80 self.context.configure(ap_config)
|
/external/autotest/server/site_tests/policy_WiFiTypesServer/ |
D | control.open | 24 ap_config = hostap_config.HostapConfig(channel=6, mode=n_mode) 31 ap_config=ap_config,
|
D | control.wpa_psk | 29 ap_config = hostap_config.HostapConfig( 40 ap_config=ap_config,
|
D | control.wpa_eap_ttls | 39 ap_config = hostap_config.HostapConfig( 54 ap_config=ap_config,
|
D | control.wpa_peap | 39 ap_config = hostap_config.HostapConfig( 54 ap_config=ap_config,
|
D | control.wpa_eap_tls | 32 ap_config = hostap_config.HostapConfig( 47 ap_config=ap_config,
|
/external/autotest/server/site_tests/network_WiFi_PTK/ |
D | network_WiFi_PTK.py | 35 ap_config = hostap_config.HostapConfig( 41 self.context.capture_host.start_capture(ap_config.frequency) 42 self.context.configure(ap_config)
|