Candela Technologies Logo
+1 360 380 1618 [PST, GMT -8]
Network Testing and Emulation Solutions

LANforge WiFi Capacity Testing

Goal: Use the WiFi Capacity plugin to emulate traffic from hundreds of virtual stations across an access point and report the results.

Requires LANforge 5.2.11 or later. Configure 128 stations and assign them an SSID. Use the 'WiFi Capacity' LANforge-GUI plugin to emulate:
  • Station download traffic through the AP
  • Station-to-station traffic

The eth1 port of our LANforge in this example is connected to the upstream network of the AP.

This example uses a LANforge CT523 system but the procedure should work on all CT520, CT523, CT525 and similar systems.

  1. In the Port Mgr tab, select the radio wiphy0 and click Create. screenshot

  2. The Create VLANs window appears. Set the values below. screenshot

    1. Check WiFi STA.

    2. In the MAC Addr dropdown, choose RANDOM.

    3. Select DHCP-IPv4.

    4. Specify 128 for Quantity.

    5. Set STA ID at 0.

    6. Our AP for this example is using SSID testAP with Keyphrase test-AP1. (no dashes allowed)

    7. Click the Apply button.

    8. And then close the window by pressing the Cancel button.

    9. In the Port Mgr tab you will see the new WiFi stations: screenshot

  3. Discussion of Capacity Test

    1. Computing Intervals and Duration: The WiFi Capacity Test is intended to run in multiple intervals. How many intervals is a product of the number stations in the test divided by the interval increment: Intervals = (num stations / station increment). The duration of the test is the product of the number of intervals times the sum of the interval duration plus setup timeout between intervals. Given the setup time between intervals is J seconds, a test of 128 stations with a station increment of 8 and an interval duration of 30 seconds, the entire test duration is: (128 / 8) * (30 + J) = 480 + 16J seconds. The actual setup time depends on two factors: a) If Seek Lower Rates is enabled, which will attempt to test each rate to try and even out connection rates, and b) DHCP performance. Adding piles of DHCP assignments for every increment can take several seconds, and actual performance depends on your test environment.

    2. Configuring Routes: the upstream port of your LANforge system should be able to ping the virtual stations. You can use a command from the LANforge command prompt to test this out: ping -I eth1 where eth1 is your upstream port on the same switch as the AP, and is the IP of the virtual station. In the eth1 Port Properties window, you will probably want to set the gateway address for the port to the IP of the AP. In this case it is Without this routing configured, the only test performed will be the station-to-station test. screenshot

  4. Downloading via 128 Virtual Stations

    1. In the Plugins dropdown menu, select WiFi Capacity Test, then begin to configure ports for the test. screenshot

      1. Highlight free ports that you want to add to the test, this includes the upstream port eth1 and the virtual stations sta0 - sta127. screenshot

      2. Set Station Increment to 8. This will run 16 intervals with 8 stations added each time going up to 128 total.

      3. Set the increment Duration to thirty seconds (in milliseconds) so 30000.

      4. Select UDP-IPv4 for the Protocol.

      5. For the Payload size select 24,000 B.

      6. Configure the Download Rate at 330 Mbps. The theoretical maximum for AP throughput on one radio is about 340 Mbps with perfect conditions. Even 330 Mbps might not be achieved. This download rate is the rate requested of the AP by all the virtual stations. With eight virtual stations, the target download rate per station is 41.25 Mbps.

      7. In Advanced Settings, set a Socket Buffer of 1MB.

      8. Deselect Try Lower Rates. This will reduce interval setup time.

    2. Click the Start button to begin the test.

    3. You will see a Graphical Test Results window appear. It will update every test interval.

    For more information see LANforge GUI User Guide: Plugins:WiFi Capacity Test.

  5. Emulating station-to-station traffic with 128 virtual stations:

    1. Go to the WiFi Capacity Test window.

    2. This test is very similar. We remove the upstream port eth1 from the Ports in Use list (in the Select Ports tab). We then configure the traffic to use smaller TCP packets. screenshot

      1. In the settings tab, set Protocol and Payload to TCP-IPv4 and 4000 B.

      2. Change Total Download and Total Upload rate to 60 Mbps and 60 Mbps. These settings should allow up to 120 Mbps between two stations, which will clearly saturate an AP.

    3. Click Start to begin the test.

    4. You will see a Graphical Test Results window appear. It will upon each test interval.

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