tast: port network_WiFiCaps to network/wifi_caps.go

wifi_caps.go will check the DUT's supported protocols and make sure that
a set of minimum requirements are met.

These requirements are:
1: DUT is in station (managed mode)
2: 2.4 and 5ghz bands are supported
3: 802.11ac is supported
4: HT20/40 and VHT80 throughput modes supported
5: HT40 short guard interval supported

The test will fail if any requirements aren't supported.
This test differs from network_WiFiCaps in autotest due to the
additional requirement of 802.11ac support.
All devices that are still being supported should support 802.11ac.

BUG=chromium:982463
TEST=wifi_caps.go, manual testing on rammus DUT.

Change-Id: I7e0c123d87ba74e361523f0e8f9e45ceeab49ed3
Signed-off-by: Yen-lin Lai <yenlinlai@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tast-tests/+/1696424
Reviewed-by: Shuo-Peng Liao <deanliao@chromium.org>
Reviewed-by: Shuhei Takahashi <nya@chromium.org>
3 files changed
tree: d175cc4dec9888fcf25aebc3652ad911f5995eb3
  1. helpers/
  2. src/
  3. tools/
  4. .gitignore
  5. OWNERS
  6. PRESUBMIT.cfg
  7. PRESUBMIT.py
  8. README.md
README.md

Tast (tests)

This repository contains integration tests that are run by Tast.

Directory structure

  • helpers/ - Source code for binaries executed by tests.
    • local/ - Helpers for local tests that are compiled and installed to /usr/local/libexec/tast/helpers/local/cros by the tast-local-helpers-cros package.
  • src/chromiumos/tast/
    • local/ - Code related to local (i.e. on-device or “client”) tests.
      • bundles/ - Local test bundles.
        • cros/ - The “cros” local test bundle, containing standard Chrome OS tests. Tests are packaged by category.
      • ... - Packages used only by local tests.
    • remote/ - Code related to remote (i.e. off-device or “server”) tests.
      • bundles/ - Remote test bundles.
        • cros/ - The “cros” remote test bundle, containing standard Chrome OS tests. Tests are packaged by category.
      • ... - Packages used only by remote tests.

Shared code, the main tast executable, the local_test_runner and remote_test_runner executables responsible for running bundles, and documentation are located in the tast repository.

GoDoc