| # 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. |
| |
| # Connect to a WPA AP using TKIP for pairwise encryption key management. |
| # TODO(pstew): |
| # This is the first WPA case in the test suite. It is possible under |
| # certain conditions that the AP system has not achieved enough randomness |
| # at startup time, so start with a negative test. It would be better if |
| # we addressed the issue of running out of randomness in some other form. |
| { "name":"CheckWPA_TKIP", |
| "steps":[ # Channel [any] |
| [ "create", { "type":"hostap" } ], |
| [ "config", { "channel":"2412", "mode":"11g", |
| "wpa":"1", "wpa_key_mgmt":"WPA-PSK", |
| "wpa_pairwise":"TKIP", |
| "wpa_passphrase":"chromeos" } ], |
| [ "!connect", { "security":"wpa", "psk":"not_chromeos" } ], |
| [ "connect", { "security":"wpa", "psk":"chromeos" } ], |
| [ "client_ping", { "count":"10" } ], |
| [ "destroy" ], |
| ], |
| } |