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.ap_gone'
      7 TIME = 'SHORT'
      8 TEST_TYPE = 'Server'
      9 ATTRIBUTES = ('suite:wifi_correctness_cros_core, suite:wifi_matfunc, '
     10               'suite:wifi_matfunc_bcm4371')
     11 SUITE = ('wifi_matfunc, wifi_matfunc_bcm4371, wifi_correctness_cros_core')
     12 DEPENDENCIES = 'wificell'
     13 
     14 DOC = """
     15 This test reads (but does not verify) the reported DiconnectReason property
     16 reported by supplicant when the AP is abruptly disabled.
     17 """
     18 
     19 
     20 def run(machine):
     21     host = hosts.create_host(machine)
     22     job.run_test('network_WiFi_DisconnectReason',
     23                  host=host,
     24                  tag=NAME.split('.')[1],
     25                  disconnect_trigger='AP gone',
     26                  raw_cmdline_args=args)
     27 
     28 
     29 parallel_simple(run, machines)
     30