blob: 1b708e287343aa1183a1f6244fc0260ef58dc9fd [file] [log] [blame]
# Copyright (c) 2012 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.
# Purpose: This test verifies that DUT can successfully connect to an AP
# when using ASCII punctuation characters.
{ "name":"WPAPunctuation",
"steps":[
[ "create", { "type":"hostap" } ],
# Test a passphrase that consists of ASCII punctuation characters only
[ "config", { "channel":"2412", "mode":"11g",
"wpa":"1", "wpa_key_mgmt":"WPA-PSK",
"wpa_pairwise":"TKIP",
"wpa_passphrase":" !\"#$%&'()>*+,-./:;<=>?"
"@[\\]^_{|}~" } ],
# We need an extra escpaed slash before the quotation mark to escape
# for the shell command to the DUT.
[ "connect", { "security":"wpa",
"psk":" !\\\"#$%&'()>*+,-./:;<=>?@[\\]^_{|}~" } ],
[ "client_ping", { "count":"10" } ],
[ "disconnect" ],
[ "destroy" ],
],
}