Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(398)

Unified Diff: server/site_tests/network_WiFiSecMat/003AsciiKeyWEP40

Issue 3461006: add tests for Ascii WEP keys and to test invalid parameters (Closed) Base URL: ssh://git@chromiumos-git//autotest.git
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | server/site_tests/network_WiFiSecMat/004AsciiKeyWEP104 » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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" ],
+ ],
+}
« no previous file with comments | « no previous file | server/site_tests/network_WiFiSecMat/004AsciiKeyWEP104 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698