| # 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. |
| |
| # Purpose: This test verifies that DUT can successfuly reassemble fragmented |
| # packets sent by an AP. |
| |
| # When fragthreshold is set, packets larger than the threshold are broken up |
| # by the AP and sent in fragments. DUT needs to reassemble these fragments to |
| # reconstruct the original packets before processing them. |
| |
| { "name":"CheckRxFrag", |
| "steps":[ |
| [ "create", { "type":"hostap" } ], |
| [ "config", { "channel":"2437", "mode":"11g", "fragthreshold":"256" } ], |
| [ "connect", { "security":"none" } ], |
| [ "server_ping", { "count":"10", "size":"256" } ], |
| [ "server_ping", { "count":"10", "size":"512" } ], |
| [ "server_ping", { "count":"10", "size":"1024" } ], |
| [ "server_ping", { "count":"10", "size":"1500" } ], |
| # XXX check rx frag stats |
| [ "destroy" ], |
| ], |
| } |