blob: acc0c4edd2df67b7e95e85a7d564164f07381519 [file] [log] [blame]
# Copyright (c) 2011 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.
# Verify we can connect to a RSN network using PSK security.
{ "name":"CheckRSNPSK",
"steps":[
[ "create", { "type":"hostap" } ],
[ "config", { "channel":"2412", "mode":"11g",
"wpa":"2", "wpa_key_mgmt":"WPA-PSK",
"rsn_pairwise":"CCMP",
"wpa_passphrase":"chromeos" } ],
# Connect using PSK security.
# Note: The "hidden" specification is just to make the test harness
# exercise a code path which doesn't rely on getting the service list
# from the connection manager and finding a match. i.e., this test is
# distinct from checking if hidden networks are supported (since the AP
# itself is not specified as hidden in the config section above).
[ "connect", { "security":"psk", "psk":"chromeos", "hidden":True } ],
[ "client_ping", { "count":"10" } ],
[ "destroy" ],
],
}