• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5AUTHOR = 'wiley, pstew, quiche'
6TIME = 'SHORT'
7NAME = 'network_WiFi_RoamSuspendSSID.none'
8TEST_TYPE = 'Server'
9DOC = """
10This test verifies that the connection manager connects to a
11previously connected network on resume from suspend when an
12SSID disappears during suspend.
13
14"""
15
16from autotest_lib.server.cros.network import hostap_config
17
18
19def run(machine):
20    ap_config0 = hostap_config.HostapConfig(channel=1)
21    ap_config1 = hostap_config.HostapConfig(channel=11)
22    job.run_test('network_WiFi_RoamSuspendSSID',
23                 tag=NAME.split('.')[1],
24                 host=hosts.create_host(machine),
25                 raw_cmdline_args=args,
26                 additional_params=(ap_config0, ap_config1))
27
28
29parallel_simple(run, machines)
30