| # 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":"CheckStaticKey_WEP128", |
| "skip_test":"Linux does not support 128-bit WEP keys", |
| "steps":[ # Channel [1,6,11] |
| [ "create", { "type":"hostap" } ], |
| [ "config", { "channel":"2412", "mode":"11g", |
| # "authmode":"open", "wepmode":"on", |
| "wepmode":"on", |
| # 32 digits : 01234567890123456789012345678901 |
| "wep_key0": "0123456789abcdef0123456789abcdef", |
| "wep_key1": "89abcdef0123456789abcdef01234567", |
| "wep_key2": "fedcba9876543210fedcba9876543210", |
| "wep_key3": "109fedcba987654321fedcba98765432" |
| } |
| ], |
| |
| # key index 1, 128-bit WEP |
| [ "config", { "deftxkey":"0" } ], |
| [ "connect", { "security":"wep", |
| "psk":"0:0123456789abcdef0123456789abcdef" } ], |
| [ "client_ping", { "count":"10" } ], |
| [ "deconfig" ], |
| |
| # key index 2, 128-bit WEP |
| [ "config", { "deftxkey":"1" } ], |
| [ "connect", { "security":"wep", |
| "psk":"1:89abcdef0123456789abcdef01234567" } ], |
| [ "client_ping", { "count":"10" } ], |
| [ "deconfig" ], |
| |
| # key index 3, 128-bit WEP |
| [ "config", { "deftxkey":"2" } ], |
| [ "connect", { "security":"wep", |
| "psk":"2:fedcba9876543210fedcba9876543210" } ], |
| [ "client_ping", { "count":"10" } ], |
| [ "deconfig" ], |
| |
| # key index 4, 128-bit WEP |
| [ "config", { "deftxkey":"3" } ], |
| [ "connect", { "security":"wep", |
| "psk":"3:109fedcba9876544321fedcba98765432" } ], |
| [ "client_ping", { "count":"10" } ], |
| |
| [ "destroy" ], |
| ], |
| } |