| # 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 RSN. |
| { "name":"CheckHidden_RSN", |
| "steps":[ # Channel [1,6,11] |
| [ "create", { "type":"hostap" } ], |
| [ "config", { "channel":"2412", "mode":"11g", "hidessid":None, |
| "wpa":"2", "wpa_key_mgmt":"WPA-PSK", |
| "rsn_pairwise":"CCMP", |
| "wpa_passphrase":"chromeos" } ], |
| |
| # first connect using the specific security |
| [ "connect", { "security":"rsn", "psk":"chromeos", "hidden":True } ], |
| [ "client_ping", { "count":"10" } ], |
| [ "disconnect" ], |
| |
| # next connect using the either wpa or rsn security |
| [ "connect", { "security":"psk", "psk":"chromeos", "hidden":True } ], |
| [ "client_ping", { "count":"10" } ], |
| [ "destroy" ], |
| ], |
| } |