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