OLD | NEW |
(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":"CheckAsciiWEPKey40", |
| 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 # 5 bytes : 01234 |
| 12 "wep_key0": '"abcde"', |
| 13 "wep_key1": '"vwxyz"', |
| 14 "wep_key2": '"decba"', |
| 15 "wep_key3": '"zyxwv"' |
| 16 } |
| 17 ], |
| 18 |
| 19 # key index 0, 40-bit WEP |
| 20 [ "config", { "deftxkey":"0" } ], |
| 21 [ "connect", { "security":"wep", "psk":"0:abcde" } ], |
| 22 [ "client_ping", { "count":"10" } ], |
| 23 [ "disconnect" ], |
| 24 [ "deconfig" ], |
| 25 |
| 26 # key index 1, 40-bit WEP |
| 27 [ "config", { "deftxkey":"1" } ], |
| 28 [ "connect", { "security":"wep", "psk":"1:vwxyz" } ], |
| 29 [ "client_ping", { "count":"10" } ], |
| 30 [ "disconnect" ], |
| 31 [ "deconfig" ], |
| 32 |
| 33 # key index 2, 40-bit WEP |
| 34 [ "config", { "deftxkey":"2" } ], |
| 35 [ "connect", { "security":"wep", "psk":"2:decba" } ], |
| 36 [ "client_ping", { "count":"10" } ], |
| 37 [ "disconnect" ], |
| 38 [ "deconfig" ], |
| 39 |
| 40 # key index 3, 40-bit WEP |
| 41 [ "config", { "deftxkey":"3" } ], |
| 42 [ "connect", { "security":"wep", "psk":"3:zyxwv" } ], |
| 43 [ "client_ping", { "count":"10" } ], |
| 44 [ "disconnect" ], |
| 45 |
| 46 [ "destroy" ], |
| 47 ], |
| 48 } |
OLD | NEW |