network_WiFi_SuspendStress: Add 802.11ac pure VHT80 mode

We need this to debug reports from the field where PCI issues
are hit on resume from suspend while being connected to an 802.11ac router.

BUG=b:117960007
TEST=`test_that -b nocturne $DUT network_WiFi_SuspendStress.VHT80`
passes locally.

Change-Id: I7549e67cdedf45ea4734512f0809cb4ee9f04f29
Reviewed-on: https://chromium-review.googlesource.com/1306920
Commit-Ready: Kirtika Ruchandani <kirtika@chromium.org>
Tested-by: Kirtika Ruchandani <kirtika@chromium.org>
Reviewed-by: Kirtika Ruchandani <kirtika@chromium.org>
diff --git a/server/site_tests/network_WiFi_SuspendStress/control.VHT80 b/server/site_tests/network_WiFi_SuspendStress/control.VHT80
new file mode 100644
index 0000000..f1a3ab9
--- /dev/null
+++ b/server/site_tests/network_WiFi_SuspendStress/control.VHT80
@@ -0,0 +1,43 @@
+# Copyright (c) 2018 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 = 'kirtika'
+NAME = 'network_WiFi_SuspendStress.VHT80'
+TIME = 'MEDIUM'
+TEST_TYPE = 'Server'
+DEPENDENCIES = 'wificell'
+ATTRIBUTES = ('suite:wifi_matfunc, suite:wifi_matfunc_noservo')
+
+DOC = """
+This test uses powerd_dbus to suspend and resume and checks that the
+wifi adapter is brought back up and connects to a 802.11ac network with VHT80
+rates.
+"""
+
+from autotest_lib.client.common_lib.cros.network import xmlrpc_datatypes
+from autotest_lib.server.cros.network import hostap_config
+
+def run(machine):
+    host = hosts.create_host(machine)
+    n_caps = [hostap_config.HostapConfig.N_CAPABILITY_HT40_PLUS]
+    ac_caps = [hostap_config.HostapConfig.AC_CAPABILITY_SHORT_GI_80]
+    ac_mode = hostap_config.HostapConfig.MODE_11AC_PURE
+    channel_width_80_mhz = hostap_config.HostapConfig.VHT_CHANNEL_WIDTH_80
+    configs = [(hostap_config.HostapConfig(
+                    channel=157,
+                    mode=ac_mode,
+                    n_capabilities=n_caps,
+                    vht_channel_width=channel_width_80_mhz,
+                    vht_center_channel=155,
+                    ac_capabilities=ac_caps),
+               xmlrpc_datatypes.AssociationParameters())]
+    job.run_test('network_WiFi_SuspendStress',
+                 host=host,
+                 tag=NAME.split('.')[1],
+                 suspends=5,
+                 raw_cmdline_args=args,
+                 additional_params=configs)
+
+
+parallel_simple(run, machines)