OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 # This test run is designed to check that we can successfully select |
| 6 # between two networks with identical SSIDs that have different |
| 7 # security parameters. |
| 8 { "name":"MultiAuth", |
| 9 "steps":[ |
| 10 [ "create", { "type":"hostap" } ], |
| 11 |
| 12 # Create an AP with no security |
| 13 [ "config", { "channel":"2412", "mode":"11g", "pureg":None } ], |
| 14 |
| 15 # Create a second AP with the same SSID that requres WPA authentication |
| 16 [ "config", { "channel":"5240", "ht40-":None, "puren":None, |
| 17 "multi_interface":None, |
| 18 "wpa":"1", "wpa_key_mgmt":"WPA-PSK", |
| 19 "wpa_pairwise":"CCMP", |
| 20 "wpa_passphrase":"chromeos" } ], |
| 21 |
| 22 # Connect to the first non-WPA AP. |
| 23 [ "connect", { "security":"none" } ], |
| 24 [ "client_ping", { "count":"10" } ], |
| 25 |
| 26 # Connect to the WPA AP. |
| 27 [ "connect", { "security":"wpa", "psk":"chromeos" } ], |
| 28 [ "client_ping", { "count":"10" } ], |
| 29 |
| 30 [ "destroy" ], |
| 31 ], |
| 32 } |
OLD | NEW |