blob: 081e7a478da385cd18003f7f79453ba931b761f0 [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.
# This test run is designed to check that we can successfully select
# between two networks with identical SSIDs that have different
# security parameters.
# NB: no need to explicitly set SSID.
{ "name":"MultiAuth",
"steps":[
[ "create", { "type":"hostap" } ],
# Create an AP with no security
[ "config", { "channel":"2412", "mode":"11g", "pureg":None } ],
# Create a second AP with the same SSID that requires WPA authentication
[ "config", { "channel":"5240", "ht40-":None, "puren":None,
"multi_interface":None,
"wpa":"1", "wpa_key_mgmt":"WPA-PSK",
"wpa_pairwise":"CCMP",
"wpa_passphrase":"chromeos" } ],
# Connect to the first non-WPA AP.
[ "connect", { "security":"none" } ],
[ "client_ping", { "count":"10" } ],
# Connect to the WPA AP.
[ "connect", { "security":"wpa", "psk":"chromeos" } ],
[ "client_ping", { "count":"10" } ],
[ "destroy" ],
],
}