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

Side by Side Diff: server/site_tests/network_WiFiSecMat/004AsciiKeyWEP104

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 unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 { "name":"CheckAsciiWEPKey104",
6 "steps":[ # Channel [1,6,11]
7 [ "create", { "type":"hostap" } ],
8 [ "config", { "channel":"2412", "mode":"11g",
9 # "authmode":"open", "wepmode":"on",
10 "wepmode":"on",
11 # 13 bytes: 0123456789012
12 "wep_key0": '"abcdefghijklm"',
13 "wep_key1": '"nopqrstuvwxyz"',
14 "wep_key2": '"mlkjihgfedcba"',
15 "wep_key3": '"zyxwvutsrqpon"'
16 }
17 ],
18
19 # key index 0, 104-bit WEP
20 [ "config", { "deftxkey":"0" } ],
21 [ "connect", { "security":"wep", "psk":"0:abcdefghijklm" } ],
22 [ "client_ping", { "count":"10" } ],
23 [ "disconnect" ],
24 [ "deconfig" ],
25
26 # key index 1, 104-bit WEP
27 [ "config", { "deftxkey":"1" } ],
28 [ "connect", { "security":"wep", "psk":"1:nopqrstuvwxyz" } ],
29 [ "client_ping", { "count":"10" } ],
30 [ "disconnect" ],
31 [ "deconfig" ],
32
33 # key index 2, 104-bit WEP
34 [ "config", { "deftxkey":"2" } ],
35 [ "connect", { "security":"wep", "psk":"2:mlkjihgfedcba" } ],
36 [ "client_ping", { "count":"10" } ],
37 [ "disconnect" ],
38 [ "deconfig" ],
39
40 # key index 3, 104-bit WEP
41 [ "config", { "deftxkey":"3" } ],
42 [ "connect", { "security":"wep", "psk":"3:zyxwvutsrqpon" } ],
43 [ "client_ping", { "count":"10" } ],
44 [ "disconnect" ],
45
46 [ "config", { # 13 bytes: 0123456789012
47 "wep_key0": '"00:0123456789"',
48 "wep_key1": '"01:0123456789"',
49 "wep_key2": '"02:0123456789"',
50 "wep_key3": '"04:0123456789"'
51 }
52 ],
53
54 # key index 0, 104-bit WEP
55 [ "config", { "deftxkey":"0" } ],
56 [ "connect", { "security":"wep", "psk":"0:00:0123456789" } ],
57 [ "client_ping", { "count":"10" } ],
58 [ "disconnect" ],
59 [ "deconfig" ],
60
61 # key index 1, 104-bit WEP
62 [ "config", { "deftxkey":"1" } ],
63 [ "connect", { "security":"wep", "psk":"1:01:0123456789" } ],
64 [ "client_ping", { "count":"10" } ],
65 [ "disconnect" ],
66 [ "deconfig" ],
67
68 # key index 2, 104-bit WEP
69 [ "config", { "deftxkey":"2" } ],
70 [ "connect", { "security":"wep", "psk":"2:02:0123456789" } ],
71 [ "client_ping", { "count":"10" } ],
72 [ "disconnect" ],
73 [ "deconfig" ],
74
75 # key index 3, 104-bit WEP
76 [ "config", { "deftxkey":"3" } ],
77 [ "connect", { "security":"wep", "psk":"3:04:0123456789" } ],
78 [ "client_ping", { "count":"10" } ],
79 [ "disconnect" ],
80
81 [ "destroy" ],
82 ],
83 }
OLDNEW
« no previous file with comments | « server/site_tests/network_WiFiSecMat/003AsciiKeyWEP40 ('k') | server/site_tests/network_WiFiSecMat/035CheckWEPKeySyntax » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698