• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2019 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_APSupportedRates.11g'
7TIME = 'SHORT'
8TEST_TYPE = 'Server'
9# TODO(crbug.com/953702): move to wifi_matfunc once stable.
10ATTRIBUTES = ('suite:wifi_flaky')
11DEPENDENCIES = 'wificell'
12
13DOC = """
14Verify that we respond sanely to APs that disable certain legacy bitrates.
15"""
16
17from autotest_lib.server.cros.network import hostap_config
18
19def run(machine):
20    ap_config = hostap_config.HostapConfig(channel=6,
21        mode=hostap_config.HostapConfig.MODE_11G,
22        supported_rates=[24, 36, 48, 54],
23        basic_rates=[24])
24
25    job.run_test('network_WiFi_APSupportedRates',
26                 host=hosts.create_host(machine),
27                 raw_cmdline_args=args,
28                 additional_params=ap_config)
29
30
31parallel_simple(run, machines)
32