| OLD | NEW |
| 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { "name":"CheckStaticKey_WEP104", | 5 { "name":"CheckStaticKey_WEP104", |
| 6 "steps":[ # Channel [1,6,11] | 6 "steps":[ # Channel [1,6,11] |
| 7 [ "create", { "type":"hostap" } ], | 7 [ "create", { "type":"hostap" } ], |
| 8 [ "config", { "channel":"2412", "mode":"11g", | 8 [ "config", { "channel":"2412", "mode":"11g", |
| 9 # "authmode":"open", "wepmode":"on", | 9 # "authmode":"open", "wepmode":"on", |
| 10 "wepmode":"on", | 10 "wepmode":"on", |
| 11 # 26 digits : 01234567890123456789012345 | 11 # 26 digits : 01234567890123456789012345 |
| 12 "wep_key0": "0123456789abcdef0123456789", | 12 "wep_key0": "0123456789abcdef0123456789", |
| 13 "wep_key1": "89abcdef0123456789abcdef01", | 13 "wep_key1": "89abcdef0123456789abcdef01", |
| 14 "wep_key2": "fedcba9876543210fedcba9876", | 14 "wep_key2": "fedcba9876543210fedcba9876", |
| 15 "wep_key3": "109fedcba987654321fedcba98", | 15 "wep_key3": "109fedcba987654321fedcba98" |
| 16 # TODO(pstew): This should be done below in | |
| 17 # the "key index 0" setup, but the linux router | |
| 18 # can't handle two "config"s in a row. | |
| 19 "deftxkey":"0" | |
| 20 } | 16 } |
| 21 ], | 17 ], |
| 22 | 18 |
| 23 # key index 0, 104-bit WEP | 19 # key index 0, 104-bit WEP |
| 20 [ "config", { "deftxkey":"0" } ], |
| 24 [ "connect", { "security":"wep", | 21 [ "connect", { "security":"wep", |
| 25 "psk":"0:0123456789abcdef0123456789" } ], | 22 "psk":"0:0123456789abcdef0123456789" } ], |
| 26 [ "client_ping", { "count":"10" } ], | 23 [ "client_ping", { "count":"10" } ], |
| 27 [ "disconnect" ], | 24 [ "disconnect" ], |
| 28 [ "deconfig" ], | 25 [ "deconfig" ], |
| 29 | 26 |
| 30 # key index 1, 104-bit WEP | 27 # key index 1, 104-bit WEP |
| 31 [ "config", { "deftxkey":"1" } ], | 28 [ "config", { "deftxkey":"1" } ], |
| 32 [ "connect", { "security":"wep", | 29 [ "connect", { "security":"wep", |
| 33 "psk":"1:89abcdef0123456789abcdef01" } ], | 30 "psk":"1:89abcdef0123456789abcdef01" } ], |
| (...skipping 12 matching lines...) Expand all Loading... |
| 46 # key index 3, 104-bit WEP | 43 # key index 3, 104-bit WEP |
| 47 [ "config", { "deftxkey":"3" } ], | 44 [ "config", { "deftxkey":"3" } ], |
| 48 [ "connect", { "security":"wep", | 45 [ "connect", { "security":"wep", |
| 49 "psk":"3:109fedcba987654321fedcba98" } ], | 46 "psk":"3:109fedcba987654321fedcba98" } ], |
| 50 [ "client_ping", { "count":"10" } ], | 47 [ "client_ping", { "count":"10" } ], |
| 51 [ "disconnect" ], | 48 [ "disconnect" ], |
| 52 | 49 |
| 53 [ "destroy" ], | 50 [ "destroy" ], |
| 54 ], | 51 ], |
| 55 } | 52 } |
| OLD | NEW |