| # 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. |
| |
| # Verify we can connect to a network with hidden SSID and WEP. |
| { "name":"CheckHidden_WEP", |
| "steps":[ # Channel [1,6,11] |
| [ "create", { "type":"hostap" } ], |
| [ "config", { "channel":"2412", "mode":"11g", "hidessid":None, |
| "wepmode":"on", |
| # 10 digits : 0123456789 |
| "wep_key0": "0123456789", |
| "deftxkey":"0" |
| } |
| ], |
| # key index 0, 40-bit WEP |
| [ "connect", { "security":"wep", "psk":"0:0123456789", |
| "hidden":True } ], |
| [ "client_ping", { "count":"10" } ], |
| [ "destroy" ], |
| ], |
| } |