Candela Technologies Logo
Network Testing and Emulation Solutions

Testing Station Associate and Disassociate for a WiFi Device

Goal: Setup and run a Port Reset test for an AP using the LANforge CT523c or similar system in order to test how well the AP can handle stations connecting and disconnecting many times. This is a good test of the AP's management plane stability.

In this test scenario, the LANforge CT522 is used to create 120 stations and then have them connect and disconnect to the AP. The test will count the number of connections and related events. This example assumes you have some experience with Chamber View, and that you have a LANforge system. A programmable attenuator and two isolation chambers would add the ability to test station reconnects at different RF signal levels, but this test normally runs fine withour chambers or attenuators. This feature is in LANforge version 5.3.9 and higher.

  1. Configure Chamber View for Port Reset and Similar Tests.
    1. Open Chamber View by clicking on the 'Chamber View' button in the LANforge-GUI. If you have an appropriate scenario already created, then skip to the next section, otherwise you will need to build a scenario that matches your system. You can right-click in Chamber View to create various objects. If you do not have chambers or attenuators, just create the DUT object and skip the chamber setup. screenshot
    2. Create a Device Under Test (DUT) Profile that matches your AP. The BSSID is important to configured so that LANforge knows when it is connected to the correct AP. screenshot
    3. Configure an Upstream profile using eth1 on the LANforge system. screenshot
    4. Configure an STA profile on the LANforge system. screenshot
    5. Configure a Chamber View Scenario and add the STA profile (mapped to desired wiphyX radio and DUT). Add an upstream profile mapped to DUT LAN side (or possibly WAN side if that is more appropriate for your DUT). screenshot
  2. Use Chamber View to run a Port Reset test.
    1. Open Chamber View by clicking on the 'Chamber View' button in the LANforge-GUI. Load appropriate scenario or create a new scenario as needed. Apply the Scenario, then Build the scenario. screenshot
    2. Select the Port Reset test and click Run Test. You should see the Port Reset Test configuration window pop up. By default, all of the stations will be selected to use in the reset test. You may adjust the selection at this time. If you want each station to act like a new device when it resets, select the 'Change MAC' checkbox. Make any other configuration changes: screenshot
    3. When the configuration is complete, click the Start button (which will change to 'Stop' once start is clicked) to start the test. An interactive report window will be created and will be updated as the test runs. screenshot
    4. When the test is complete, click the Save HTML button to save an HTML report and generate the PDF. The PDF file will be linked from the HTML page. You can also click 'Save PDF' and the browser will be directed to open the pdf file directly. Please see this example Rate vs Range Report

Candela  Technologies, 2417 Main Street, Suite 201, Ferndale, WA 98248, USA | | +1.360.380.1618
Facebook | LinkedIn | Blog