1 # Copyright 2017 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 = 'briannorris' 6 NAME = 'network_WiFi_Reset' 7 TIME = 'SHORT' 8 TEST_TYPE = 'Server' 9 DEPENDENCIES = 'wificell' 10 ATTRIBUTES = 'suite:wifi_matfunc, suite:wifi_matfunc_noservo' 11 12 DOC = """ 13 This test verifies that if a network device can be reset from user space, that 14 it will connect to the network correctly after being reset a few times. We also 15 run through a few system suspend/resume cycles in between, for completeness. 16 Only supports Marvell (mwifiex) at the moment, but will report TestNA for 17 unsupported devices. 18 """ 19 20 def run(machine): 21 host = hosts.create_host(machine) 22 job.run_test('network_WiFi_Reset', 23 host=host, 24 raw_cmdline_args=args) 25 26 parallel_simple(run, machines) 27