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":"CheckSharedKey_WEP104", |
| 6 "steps":[ # Channel [1,6,11] |
| 7 [ "create", { "type":"hostap" } ], |
| 8 [ "config", { "channel":"2412", "mode":"11g", |
| 9 "authmode":"shared", "wepmode":"on", |
| 10 # 26 digits : 01234567890123456789012345 |
| 11 "wep_key0": "0123456789abcdef0123456789", |
| 12 "wep_key1": "89abcdef0123456789abcdef01", |
| 13 "wep_key2": "fedcba9876543210fedcba9876", |
| 14 "wep_key3": "109fedcba987654321fedcba98" |
| 15 } |
| 16 ], |
| 17 |
| 18 # key index 0, 104-bit WEP |
| 19 [ "config", { "deftxkey":"0" } ], |
| 20 [ "connect", { "security":"wep", |
| 21 "psk":"0:0123456789abcdef0123456789" } ], |
| 22 [ "client_ping", { "count":"10" } ], |
| 23 [ "deconfig" ], |
| 24 |
| 25 # key index 1, 104-bit WEP |
| 26 [ "config", { "deftxkey":"1" } ], |
| 27 [ "connect", { "security":"wep", |
| 28 "psk":"1:89abcdef0123456789abcdef01" } ], |
| 29 [ "client_ping", { "count":"10" } ], |
| 30 [ "deconfig" ], |
| 31 |
| 32 # key index 2, 104-bit WEP |
| 33 [ "config", { "deftxkey":"2" } ], |
| 34 [ "connect", { "security":"wep", |
| 35 "psk":"2:fedcba9876543210fedcba9876" } ], |
| 36 [ "client_ping", { "count":"10" } ], |
| 37 [ "deconfig" ], |
| 38 |
| 39 # key index 3, 104-bit WEP |
| 40 [ "config", { "deftxkey":"3" } ], |
| 41 [ "connect", { "security":"wep", |
| 42 "psk":"3:109fedcba9876544321fedcba98" } ], |
| 43 [ "client_ping", { "count":"10" } ], |
| 44 |
| 45 [ "destroy" ], |
| 46 ], |
| 47 } |
OLD | NEW |