1# Copyright (c) 2014 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 = 'quiche, wiley, pstew' 6NAME = 'network_WiFi_VisibleScan.11b' 7TIME = 'SHORT' 8TEST_TYPE = 'Server' 9ATTRIBUTES = ('suite:wifi_matfunc') 10DEPENDENCIES = 'wificell' 11 12DOC = """ 13This test scans for networks, with a shill profile that does not 14contain any hidden networks. The test verifies that 802.11 probe 15frames are seen over-the-air, and that the probe frames specify 16a broadcast scan. 17 18""" 19 20from autotest_lib.server.cros.network import hostap_config 21 22 23def run(machine): 24 host = hosts.create_host(machine) 25 # This configuration uses as many defaults as possible 26 configurations = [hostap_config.HostapConfig(channel=1, 27 mode=hostap_config.HostapConfig.MODE_11B)] 28 job.run_test('network_WiFi_VisibleScan', 29 tag=NAME.split('.')[1], 30 host=host, 31 raw_cmdline_args=args, 32 additional_params=configurations) 33 34 35parallel_simple(run, machines) 36