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