1# Copyright (c) 2013 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 = "Chrome OS Team" 6NAME = "network_WiMaxPresent" 7ATTRIBUTES = "suite:wimax" 8PURPOSE = "Verify a WiMAX module is detected and supported by the system." 9CRITERIA = """ 10This test fails if one of the following conditions occurs: 11 1. The DUT does not have a WiMAX module. 12 2. The WiMAX kernel driver is not installed or does not function properly on 13 the DUT. 14 3. The WiMAX firmware is not installed on the DUT. 15 4. The WiMAX manager is not installed or does not function properly on the 16 DUT. 17 5. shill is not built with WiMAX support or does not communicate with the 18 WiMAX manager properly. 19""" 20TIME = "SHORT" 21TEST_CATEGORY = "Functional" 22TEST_CLASS = "network" 23TEST_TYPE = "client" 24DEPENDENCIES = "wimax" 25DOC = """ 26 Verifies that a WiMAX module is detected and supported by the system. 27 28 This test verifies that a build can support WiMAX properly. It needs to run 29 on a DUT with a supported WiMAX module, but does not require a WiMAX network. 30 It simply checks if shill creates a WiMAX device object, which verifies that: 31 - The kernel detects a WiMAX module, loads the WiMAX driver, and downloads 32 the WiMAX firmware to the module. 33 - The WiMAX manager detects the WiMAX module exposed by the kernel. 34 - The WiMAX manager is running and can communicate with shill over DBus. 35 - shill is built with WiMAX support. 36 37""" 38 39job.run_test('network_WiMaxPresent') 40