| Index: server/site_tests/network_WiFiSecMat/004AsciiKeyWEP104
|
| diff --git a/server/site_tests/network_WiFiSecMat/004AsciiKeyWEP104 b/server/site_tests/network_WiFiSecMat/004AsciiKeyWEP104
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..fc36a2b9a7bea5602b6a0c2485e4836ec94807a9
|
| --- /dev/null
|
| +++ b/server/site_tests/network_WiFiSecMat/004AsciiKeyWEP104
|
| @@ -0,0 +1,83 @@
|
| +# 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":"CheckAsciiWEPKey104",
|
| + "steps":[ # Channel [1,6,11]
|
| + [ "create", { "type":"hostap" } ],
|
| + [ "config", { "channel":"2412", "mode":"11g",
|
| +# "authmode":"open", "wepmode":"on",
|
| + "wepmode":"on",
|
| + # 13 bytes: 0123456789012
|
| + "wep_key0": '"abcdefghijklm"',
|
| + "wep_key1": '"nopqrstuvwxyz"',
|
| + "wep_key2": '"mlkjihgfedcba"',
|
| + "wep_key3": '"zyxwvutsrqpon"'
|
| + }
|
| + ],
|
| +
|
| + # key index 0, 104-bit WEP
|
| + [ "config", { "deftxkey":"0" } ],
|
| + [ "connect", { "security":"wep", "psk":"0:abcdefghijklm" } ],
|
| + [ "client_ping", { "count":"10" } ],
|
| + [ "disconnect" ],
|
| + [ "deconfig" ],
|
| +
|
| + # key index 1, 104-bit WEP
|
| + [ "config", { "deftxkey":"1" } ],
|
| + [ "connect", { "security":"wep", "psk":"1:nopqrstuvwxyz" } ],
|
| + [ "client_ping", { "count":"10" } ],
|
| + [ "disconnect" ],
|
| + [ "deconfig" ],
|
| +
|
| + # key index 2, 104-bit WEP
|
| + [ "config", { "deftxkey":"2" } ],
|
| + [ "connect", { "security":"wep", "psk":"2:mlkjihgfedcba" } ],
|
| + [ "client_ping", { "count":"10" } ],
|
| + [ "disconnect" ],
|
| + [ "deconfig" ],
|
| +
|
| + # key index 3, 104-bit WEP
|
| + [ "config", { "deftxkey":"3" } ],
|
| + [ "connect", { "security":"wep", "psk":"3:zyxwvutsrqpon" } ],
|
| + [ "client_ping", { "count":"10" } ],
|
| + [ "disconnect" ],
|
| +
|
| + [ "config", { # 13 bytes: 0123456789012
|
| + "wep_key0": '"00:0123456789"',
|
| + "wep_key1": '"01:0123456789"',
|
| + "wep_key2": '"02:0123456789"',
|
| + "wep_key3": '"04:0123456789"'
|
| + }
|
| + ],
|
| +
|
| + # key index 0, 104-bit WEP
|
| + [ "config", { "deftxkey":"0" } ],
|
| + [ "connect", { "security":"wep", "psk":"0:00:0123456789" } ],
|
| + [ "client_ping", { "count":"10" } ],
|
| + [ "disconnect" ],
|
| + [ "deconfig" ],
|
| +
|
| + # key index 1, 104-bit WEP
|
| + [ "config", { "deftxkey":"1" } ],
|
| + [ "connect", { "security":"wep", "psk":"1:01:0123456789" } ],
|
| + [ "client_ping", { "count":"10" } ],
|
| + [ "disconnect" ],
|
| + [ "deconfig" ],
|
| +
|
| + # key index 2, 104-bit WEP
|
| + [ "config", { "deftxkey":"2" } ],
|
| + [ "connect", { "security":"wep", "psk":"2:02:0123456789" } ],
|
| + [ "client_ping", { "count":"10" } ],
|
| + [ "disconnect" ],
|
| + [ "deconfig" ],
|
| +
|
| + # key index 3, 104-bit WEP
|
| + [ "config", { "deftxkey":"3" } ],
|
| + [ "connect", { "security":"wep", "psk":"3:04:0123456789" } ],
|
| + [ "client_ping", { "count":"10" } ],
|
| + [ "disconnect" ],
|
| +
|
| + [ "destroy" ],
|
| + ],
|
| +}
|
|
|