Home
last modified time | relevance | path

Searched refs:ap_config (Results 1 – 25 of 85) sorted by relevance

1234

/external/autotest/server/cros/
Dap_config.py33 ap_config = ConfigParser.RawConfigParser(
42 ap_config.read(path)
43 for bss in ap_config.sections():
44 aps.append(AP(bss, ap_config))
96 self.ap_config = config
101 return self.ap_config.get(self.bss, self.CONF_SSID)
106 return self.ap_config.get(self.bss, self.CONF_BRAND)
111 return self.ap_config.get(self.bss, self.CONF_MODEL)
116 return self.ap_config.get(self.bss, self.CONF_WAN_MAC)
121 return self.ap_config.get(self.bss, self.CONF_WAN_HOST)
[all …]
/external/autotest/server/cros/ap_configurators/
Dstatic_ap_configurator.py31 def __init__(self, ap_config): argument
43 self.class_name = ap_config.get_class()
44 self._short_name = ap_config.get_model()
45 self.mac_address = ap_config.get_wan_mac()
46 self.host_name = ap_config.get_wan_host()
49 self.channel = ap_config.get_channel()
50 self.band = ap_config.get_band()
51 self.current_band = ap_config.get_band()
52 self.security = ap_config.get_security()
58 self.psk = ap_config.get_psk()
[all …]
Ddynamic_ap_configurator.py39 def __init__(self, ap_config): argument
56 self.admin_interface_url = ap_config.get_admin_ip()
57 self.class_name = ap_config.get_class()
58 self._short_name = ap_config.get_model()
59 self.mac_address = ap_config.get_wan_mac()
60 self.host_name = ap_config.get_wan_host()
63 self.config_data = ap_config
67 '2.4 GHz MAC Address': ap_config.get_bss(),
68 '5 GHz MAC Address': ap_config.get_bss5(),
69 'Hostname': ap_config.get_wan_host()}
/external/autotest/server/site_tests/network_WiFi_ProfileGUID/
Dnetwork_WiFi_ProfileGUID.py73 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/cros/network/
Dtunneled_1x_tests.py31 ap_config = hostap_config.HostapConfig(
37 return [(ap_config, assoc_params)]
63 ap_config = hostap_config.HostapConfig(
70 configurations.append((ap_config, assoc_params))
81 ap_config = hostap_config.HostapConfig(
88 configurations.append((ap_config, assoc_params))
99 ap_config = hostap_config.HostapConfig(
106 configurations.append((ap_config, assoc_params))
Dwifi_test_context_manager.py149 def configure(self, ap_config, multi_interface=None, is_ibss=None): argument
162 if not self.client.is_frequency_supported(ap_config.frequency):
164 ap_config.frequency)
165 if ap_config.require_vht:
168 ap_config.security_config.install_router_credentials(self.router.host)
175 self.router.ibss_configure(ap_config)
177 self.router.hostap_configure(ap_config,
180 self.client.start_capture(ap_config.frequency,
183 self.capture_host.start_capture(ap_config.frequency,
184 ht_type=ap_config.ht_packet_capture_mode,
/external/autotest/server/site_tests/network_WiFi_SimpleConnect/
Dcontrol.wifi_check1x_WPA34 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/
Dnetwork_WiFi_AssocConfigPerformance.py54 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_Perf/
Dnetwork_WiFi_Perf.py60 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_DarkResumeActiveScans/
Dnetwork_WiFi_DarkResumeActiveScans.py53 ap_config = hostap_config.HostapConfig(channel=1)
54 self.configure_and_connect_to_ap(ap_config)
80 ap_config.frequency,
81 ht_type=ap_config.ht_packet_capture_mode)
119 ap_config.frequency,
120 ht_type=ap_config.ht_packet_capture_mode)
/external/autotest/server/site_tests/network_WiFi_HiddenScan/
Dnetwork_WiFi_HiddenScan.py22 ap_config = hostap_config.HostapConfig(channel=1, hide_ssid=True)
26 ap_config.frequency,
27 ht_type=ap_config.ht_packet_capture_mode,
33 self.context.configure(ap_config)
/external/autotest/server/site_tests/network_WiFi_VisibleScan/
Dnetwork_WiFi_VisibleScan.py33 ap_config = hostap_config.HostapConfig(channel=1)
37 ap_config.frequency,
38 ht_type=ap_config.ht_packet_capture_mode,
44 self.context.configure(ap_config)
/external/autotest/server/site_tests/network_WiFi_HiddenRemains/
Dnetwork_WiFi_HiddenRemains.py59 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/
Dnetwork_WiFi_SecChange.py27 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/
Dnetwork_WiFi_ChannelHop.py22 ap_config = hostap_config.HostapConfig(
27 self.context.configure(ap_config)
52 ap_config = hostap_config.HostapConfig(
57 self.context.configure(ap_config)
/external/autotest/server/site_tests/network_WiFi_BluetoothScanPerf/
Dnetwork_WiFi_BluetoothScanPerf.py101 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_RateControl/
Dnetwork_WiFi_RateControl.py131 for _, ap_config in enumerate([get_config(1), get_config(157)]):
133 self.context.configure(ap_config)
135 ap_config.frequency,
136 ht_type=ap_config.ht_packet_capture_mode,
153 max_mcs_index = self.get_highest_mcs_rate(ap_config.frequency)
/external/autotest/server/site_tests/network_WiFi_LowInitialBitrates/
Dnetwork_WiFi_LowInitialBitrates.py87 for ap_config in (g_config, n_config):
88 self.context.configure(ap_config)
90 ap_config.frequency,
91 ht_type=ap_config.ht_packet_capture_mode)
/external/autotest/server/site_tests/network_WiFi_SSIDSwitchBack/
Dnetwork_WiFi_SSIDSwitchBack.py40 ap_config = hostap_config.HostapConfig(ssid=ssid, frequency=freq,
42 self.context.configure(ap_config)
76 ap_config = hostap_config.HostapConfig(
81 self.context.configure(ap_config)
/external/autotest/server/site_tests/policy_WiFiTypesServer/
Dcontrol.open24 ap_config = hostap_config.HostapConfig(channel=6, mode=n_mode)
31 ap_config=ap_config,
Dcontrol.wpa_psk29 ap_config = hostap_config.HostapConfig(
40 ap_config=ap_config,
Dcontrol.wpa_eap_ttls39 ap_config = hostap_config.HostapConfig(
54 ap_config=ap_config,
Dcontrol.wpa_peap_gtc39 ap_config = hostap_config.HostapConfig(
54 ap_config=ap_config,
/external/autotest/server/site_tests/network_WiFi_MissingBeacons/
Dnetwork_WiFi_MissingBeacons.py56 ap_config = hostap_config.HostapConfig(channel=1)
57 self.context.configure(ap_config)
70 self.context.configure(ap_config)
/external/autotest/server/site_tests/network_WiFi_PTK/
Dnetwork_WiFi_PTK.py35 ap_config = hostap_config.HostapConfig(
41 self.context.capture_host.start_capture(ap_config.frequency)
42 self.context.configure(ap_config)

1234