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 = 'pstew, wiley, quiche' 6 NAME = 'network_WiFi_DisableEnable' 7 TIME = 'SHORT' 8 TEST_TYPE = 'Server' 9 ATTRIBUTES = ('suite:wifi_matfunc, suite:wifi_matfunc_bcm4371, ' 10 'suite:wificell-pre-cq') 11 SUITE = 'wifi_matfunc, wifi_matfunc_bcm4371, wificell-pre-cq' 12 DEPENDENCIES = 'wificell' 13 14 DOC = """ 15 This test attempts to verify that we can disable and enable the WiFi 16 device and it will re-connect to the AP it was previously connected to. 17 """ 18 19 def run(machine): 20 host = hosts.create_host(machine) 21 job.run_test('network_WiFi_DisableEnable', host=host, raw_cmdline_args=args) 22 23 24 parallel_simple(run, machines) 25