Index: server/site_tests/network_WiFiSecMat/001StaticKeyWEP104 |
diff --git a/server/site_tests/network_WiFiSecMat/001StaticKeyWEP104 b/server/site_tests/network_WiFiSecMat/001StaticKeyWEP104 |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6c88b02b8b0140cf260f6704276df477028ae316 |
--- /dev/null |
+++ b/server/site_tests/network_WiFiSecMat/001StaticKeyWEP104 |
@@ -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":"CheckStaticKey_WEP104", |
+ "steps":[ # Channel [1,6,11] |
+ [ "create", { "type":"hostap" } ], |
+ [ "config", { "channel":"2412", "mode":"11g", |
+# "authmode":"open", "wepmode":"on", |
+ "wepmode":"on", |
+ # 26 digits : 01234567890123456789012345 |
+ "wep_key0": "0123456789abcdef0123456789", |
+ "wep_key1": "89abcdef0123456789abcdef01", |
+ "wep_key2": "fedcba9876543210fedcba9876", |
+ "wep_key3": "109fedcba987654321fedcba98" |
+ } |
+ ], |
+ |
+ # key index 0, 104-bit WEP |
+ [ "config", { "deftxkey":"0" } ], |
+ [ "connect", { "security":"wep", |
+ "psk":"0:0123456789abcdef0123456789" } ], |
+ [ "client_ping", { "count":"10" } ], |
+ [ "deconfig" ], |
+ |
+ # key index 1, 104-bit WEP |
+ [ "config", { "deftxkey":"1" } ], |
+ [ "connect", { "security":"wep", |
+ "psk":"1:89abcdef0123456789abcdef01" } ], |
+ [ "client_ping", { "count":"10" } ], |
+ [ "deconfig" ], |
+ |
+ # key index 2, 104-bit WEP |
+ [ "config", { "deftxkey":"2" } ], |
+ [ "connect", { "security":"wep", |
+ "psk":"2:fedcba9876543210fedcba9876" } ], |
+ [ "client_ping", { "count":"10" } ], |
+ [ "deconfig" ], |
+ |
+ # key index 3, 104-bit WEP |
+ [ "config", { "deftxkey":"3" } ], |
+ [ "connect", { "security":"wep", |
+ "psk":"3:109fedcba9876544321fedcba98" } ], |
+ [ "client_ping", { "count":"10" } ], |
+ |
+ [ "destroy" ], |
+ ], |
+} |