Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(208)

Side by Side Diff: server/site_tests/network_WiFiRoaming/003SSIDMultiSwitchBack

Issue 6805027: Temporarily change bgscan threshold in MultiSwitchBack (Closed) Base URL: http://git.chromium.org/git/autotest.git@master
Patch Set: More explicit comment Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | server/site_wifitest.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # This test run is designed to check that we roam successfully when signal 5 # This test run is designed to check that we roam successfully when signal
6 # strength varies. 6 # strength varies.
7 { "name":"MultiSwitch", 7 { "name":"MultiSwitch",
8 "steps":[ 8 "steps":[
9 [ "create", { "type":"hostap" } ], 9 [ "create", { "type":"hostap" } ],
10 10
11 [ "config", { "channel":"2412", "mode":"11g", "pureg":None } ], 11 [ "config", { "channel":"2412", "mode":"11g", "pureg":None } ],
12 12
13 # TODO(pstew): This is a very arbitrary limit based on the testbed
14 # characteristics (expected signal and noise, as well as the range
15 # of transmit power from the AP). We set the threshold here so that
16 # when we vary the transmit power on the AP, we will receive a
17 # "low signal" alert on the DUT.
18 [ "bgscan_set", { "signal":"-40" }],
19
13 # Connect to the first AP. 20 # Connect to the first AP.
14 [ "connect", { "security":"none" } ], 21 [ "connect", { "security":"none" } ],
15 [ "client_ping", { "count":"10" } ], 22 [ "client_ping", { "count":"10" } ],
16 23
24 # Once the connection is up, restore the profile values to flimflam default
25 [ "bgscan_set", { "signal":"default" }],
26
17 # Create a second AP at the same time on the 5GHz radio, Channel 48 27 # Create a second AP at the same time on the 5GHz radio, Channel 48
18 [ "config", { "channel":"5240", "ht40-":None, "puren":None, 28 [ "config", { "channel":"5240", "ht40-":None, "puren":None,
19 "multi_interface":None } ], 29 "multi_interface":None } ],
20 30
21 # Drop the transmit power of the first AP 31 # Drop the transmit power of the first AP
22 [ "set_txpower", { "power":"fixed 0" } ], 32 [ "set_txpower", { "power":"fixed 0" } ],
23 33
24 # Instead of explicitly connecting, just wait to see if the DUT 34 # Instead of explicitly connecting, just wait to see if the DUT
25 # re-connects by itself 35 # re-connects by itself
26 [ "wait_service", { "run_timeout":40, # Timeout connection in 20 seconds 36 [ "wait_service", { "run_timeout":40, # Timeout connection in 20 seconds
27 "debug":True, # Print out all state transitions 37 "debug":True, # Print out all state transitions
28 "states":[ 38 "states":[
29 (None, '+ready') # Wait for the "current AP" (as 39 (None, '+ready') # Wait for the "current AP" (as
30 ] } ], # read off the AP) 40 ] } ], # read off the AP)
31 # service to transition to "ready" 41 # service to transition to "ready"
32 [ "client_ping", { "count":"10" } ], 42 [ "client_ping", { "count":"10" } ],
33 43
34 # Return AP to auto transmit power 44 # Return AP to auto transmit power
35 [ "set_txpower", { "power":"auto" } ], 45 [ "set_txpower", { "power":"auto" } ],
36 46
37 [ "destroy" ], 47 [ "destroy" ],
38 ], 48 ],
39 } 49 }
OLDNEW
« no previous file with comments | « no previous file | server/site_wifitest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698