blob: a1852eac67c38738456b45f209b182c83b65d332 [file] [log] [blame]
# 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.
# Purpose: This test case verifies that the DUT can connect to an AP using
# WEP shared key authentication with 104-bit pre-shared keys (Ascii only).
{ "name":"CheckSharedKey_WEP104",
"steps":[ # Channel [1,6,11]
[ "create", { "type":"hostap" } ],
[ "config", { "channel":"2412", "mode":"11g",
"authmode":"shared", "wepmode":"on",
# 26 hex digits : 01234567890123456789012345
"wep_key0": "0123456789abcdef0123456789",
"wep_key1": "89abcdef0123456789abcdef01",
"wep_key2": "fedcba9876543210fedcba9876",
"wep_key3": "109fedcba987654321fedcba98"
}
],
# key index 0, 104-bit WEP
[ "config", { "deftxkey":"0" } ],
[ "connect", { "security":"wep",
"psk":"0:0123456789abcdef0123456789" } ],
[ "client_ping", { "count":"10" } ],
[ "disconnect" ],
[ "deconfig" ],
# key index 1, 104-bit WEP
[ "config", { "deftxkey":"1" } ],
[ "connect", { "security":"wep",
"psk":"1:89abcdef0123456789abcdef01" } ],
[ "client_ping", { "count":"10" } ],
[ "disconnect" ],
[ "deconfig" ],
# key index 2, 104-bit WEP
[ "config", { "deftxkey":"2" } ],
[ "connect", { "security":"wep",
"psk":"2:fedcba9876543210fedcba9876" } ],
[ "client_ping", { "count":"10" } ],
[ "disconnect" ],
[ "deconfig" ],
# key index 3, 104-bit WEP
[ "config", { "deftxkey":"3" } ],
[ "connect", { "security":"wep",
"psk":"3:109fedcba987654321fedcba98" } ],
[ "client_ping", { "count":"10" } ],
[ "disconnect" ],
[ "destroy" ],
],
}