Index: server/site_tests/network_WiFiSecMat/005SharedKeyWEP40 |
diff --git a/server/site_tests/network_WiFiSecMat/005SharedKeyWEP40 b/server/site_tests/network_WiFiSecMat/005SharedKeyWEP40 |
new file mode 100644 |
index 0000000000000000000000000000000000000000..71ce3a340a74326473bf50412d8f5e614928af58 |
--- /dev/null |
+++ b/server/site_tests/network_WiFiSecMat/005SharedKeyWEP40 |
@@ -0,0 +1,43 @@ |
+# 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":"CheckSharedKey_WEP40", |
+ "steps":[ # Channel [1,6,11] |
+ [ "create", { "type":"hostap" } ], |
+ [ "config", { "channel":"2412", "mode":"11g", |
+ "authmode":"shared", "wepmode":"on", |
+ # 10 digits : 0123456789 |
+ "wep_key0": "0123456789", |
+ "wep_key1": "89abcdef01", |
+ "wep_key2": "9876543210", |
+ "wep_key3": "fedcba9876" |
+ } |
+ ], |
+ |
+ # key index 0, 40-bit WEP |
+ [ "config", { "deftxkey":"0" } ], |
+ [ "connect", { "security":"wep", "psk":"0:0123456789" } ], |
+ [ "client_ping", { "count":"10" } ], |
+ [ "deconfig" ], |
+ |
+ # key index 2, 40-bit WEP |
+ [ "config", { "deftxkey":"1" } ], |
+ [ "connect", { "security":"wep", "psk":"1:89abcdef01" } ], |
+ [ "client_ping", { "count":"10" } ], |
+ [ "deconfig" ], |
+ |
+ # key index 3, 40-bit WEP |
+ [ "config", { "deftxkey":"2" } ], |
+ [ "connect", { "security":"wep", "psk":"2:9876543210" } ], |
+ [ "client_ping", { "count":"10" } ], |
+ [ "deconfig" ], |
+ |
+ # key index 4, 40-bit WEP |
+ [ "config", { "deftxkey":"3" } ], |
+ [ "connect", { "security":"wep", "psk":"3:fedcba9876" } ], |
+ [ "client_ping", { "count":"10" } ], |
+ |
+ [ "destroy" ], |
+ ], |
+} |