Home | History | Annotate | Download | only in network_WiFi_RoamSuspendSSID
      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 
      5 AUTHOR = 'wiley, pstew, quiche'
      6 TIME = 'SHORT'
      7 NAME = 'network_WiFi_RoamSuspendSSID.none'
      8 TEST_TYPE = 'Server'
      9 DOC = """
     10 This test verifies that the connection manager connects to a
     11 previously connected network on resume from suspend when an
     12 SSID disappears during suspend.
     13 
     14 """
     15 
     16 from autotest_lib.server.cros.network import hostap_config
     17 
     18 
     19 def 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 
     29 parallel_simple(run, machines)
     30