| # Copyright (c) 2013 The Chromium OS Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| AUTHOR = 'wiley@chromium.com' |
| NAME = 'network_WiFi_SimpleConnect' |
| TIME = 'SHORT' |
| TEST_TYPE = 'Server' |
| |
| DOC = """ |
| This test attempts to verify that we can connect to a router over 802.11b |
| on channels 1, 6, and 11 (2.4 Ghz band) and correctly send IP traffic. |
| """ |
| |
| |
| def run(machine): |
| channels = [{'channel': '2412', |
| 'mode': '11b', |
| 'ssid_suffix': 'ch1'}, |
| {'channel': '2437', |
| 'mode': '11b', |
| 'ssid_suffix': 'ch6'}, |
| {'channel': '2462', |
| 'mode': '11b', |
| 'ssid_suffix': 'ch11'} ] |
| host = hosts.create_host(machine) |
| job.run_test('network_WiFi_SimpleConnect', |
| host=host, |
| raw_cmdline_args=args, |
| additional_params=channels) |
| |
| |
| parallel_simple(run, machines) |