Lines Matching refs:ssid
26 def _assert_connection(self, ssid):
27 """Assert that shill connects to |ssid| after a scan.
29 @param ssid: string name of network we expect to connect to.
35 ssid, ['ready', 'online', 'portal'],
41 (ssid, time, state))
44 def _assert_guid_value(self, ssid, expected_guid, expect_missing=False):
47 @param ssid: string name of WiFi network corresponding to the service.
52 properties = self.context.client.shill.get_service_properties(ssid)
67 get_ap_config = lambda ssid, password: hostap_config.HostapConfig(
68 ssid=ssid, channel=1,
75 ssid=self.context.router.get_ssid(),
83 self._assert_connection(assoc_params.ssid)
85 self._assert_guid_value(assoc_params.ssid, assoc_params.guid)
87 assoc_params.ssid):
89 assoc_params.ssid)
92 self._assert_guid_value(assoc_params.ssid, assoc_params.guid,
96 ap_config = get_ap_config(assoc_params.ssid, self.TEST_PASSWORD1)
100 self._assert_connection(assoc_params.ssid)
102 self._assert_guid_value(assoc_params.ssid, assoc_params.guid)
104 ap_config = get_ap_config(assoc_params.ssid, self.TEST_PASSWORD2)
114 self._assert_connection(assoc_params.ssid)