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