Home | History | Annotate | Download | only in network_WiFi_DisconnectReason
      1 # Copyright 2015 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 = 'silberst, pstew, quiche'
      6 NAME = 'network_WiFi_DisconnectReason.switch_ap'
      7 TIME = 'SHORT'
      8 TEST_TYPE = 'Server'
      9 ATTRIBUTES = ('suite:wifi_correctness_cros_core, suite:wifi_matfunc,'
     10               'suite:wifi_matfunc_noservo, suite:wifi_matfunc_bcm4371')
     11 DEPENDENCIES = 'wificell'
     12 
     13 DOC = """
     14 This test reads (but does not verify) the reported DiconnectReason property
     15 reported by supplicant when the client switches from one AP to another AP.
     16 """
     17 
     18 
     19 from autotest_lib.server import site_linux_system
     20 
     21 
     22 def run(machine):
     23     host = hosts.create_host(machine)
     24     capabilities = [site_linux_system.LinuxSystem.CAPABILITY_MULTI_AP]
     25     job.run_test('network_WiFi_DisconnectReason',
     26                  host=host,
     27                  tag=NAME.split('.')[1],
     28                  disconnect_trigger='switch AP',
     29                  req_capabilities=capabilities,
     30                  raw_cmdline_args=args)
     31 
     32 
     33 parallel_simple(run, machines)
     34