| Index: server/site_tests/network_WiFiSecMat/003AsciiKeyWEP40
|
| diff --git a/server/site_tests/network_WiFiSecMat/003AsciiKeyWEP40 b/server/site_tests/network_WiFiSecMat/003AsciiKeyWEP40
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7c05cc6c9477ec25ef735aca6155558770b539f2
|
| --- /dev/null
|
| +++ b/server/site_tests/network_WiFiSecMat/003AsciiKeyWEP40
|
| @@ -0,0 +1,48 @@
|
| +# Copyright (c) 2010 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.
|
| +
|
| +{ "name":"CheckAsciiWEPKey40",
|
| + "steps":[ # Channel [1,6,11]
|
| + [ "create", { "type":"hostap" } ],
|
| + [ "config", { "channel":"2412", "mode":"11g",
|
| +# "authmode":"open", "wepmode":"on",
|
| + "wepmode":"on",
|
| + # 5 bytes : 01234
|
| + "wep_key0": '"abcde"',
|
| + "wep_key1": '"vwxyz"',
|
| + "wep_key2": '"decba"',
|
| + "wep_key3": '"zyxwv"'
|
| + }
|
| + ],
|
| +
|
| + # key index 0, 40-bit WEP
|
| + [ "config", { "deftxkey":"0" } ],
|
| + [ "connect", { "security":"wep", "psk":"0:abcde" } ],
|
| + [ "client_ping", { "count":"10" } ],
|
| + [ "disconnect" ],
|
| + [ "deconfig" ],
|
| +
|
| + # key index 1, 40-bit WEP
|
| + [ "config", { "deftxkey":"1" } ],
|
| + [ "connect", { "security":"wep", "psk":"1:vwxyz" } ],
|
| + [ "client_ping", { "count":"10" } ],
|
| + [ "disconnect" ],
|
| + [ "deconfig" ],
|
| +
|
| + # key index 2, 40-bit WEP
|
| + [ "config", { "deftxkey":"2" } ],
|
| + [ "connect", { "security":"wep", "psk":"2:decba" } ],
|
| + [ "client_ping", { "count":"10" } ],
|
| + [ "disconnect" ],
|
| + [ "deconfig" ],
|
| +
|
| + # key index 3, 40-bit WEP
|
| + [ "config", { "deftxkey":"3" } ],
|
| + [ "connect", { "security":"wep", "psk":"3:zyxwv" } ],
|
| + [ "client_ping", { "count":"10" } ],
|
| + [ "disconnect" ],
|
| +
|
| + [ "destroy" ],
|
| + ],
|
| +}
|
|
|