blob: 0f83c2235ef6ba4de4d3b29a7be4a8cfa8915640 [file] [log] [blame]
# 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.11g
on channels 1, 6, and 11 (2.4 Ghz band) and correctly send IP traffic.
"""
def run(machine):
channels = [{'channel': '2412',
'mode': '11g',
'pureg': None,
'ssid_suffix': 'ch1'},
{'channel': '2437',
'mode': '11g',
'pureg': None,
'ssid_suffix': 'ch6'},
{'channel': '2462',
'mode': '11g',
'pureg': None,
'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)