Candela Technologies Logo
Network Testing and Emulation Solutions

LANforge WiFIRE Cookbook

The LANforge WiFIRE Cookbook provides a set of high-level examples of how to setup useful test scenarios in LANforge-FIRE for WiFi traffic generation. Each example intends to give the reader a brief introduction to the test scenario and a set of step-by-step instructions on how to use the LANforge-GUI to configure the test.

LANforge WiFIRE WiFi Traffic Generation Cookbooks

Chamber View

  1. Basic AP Testing[pdf][share]
  2. Setting up Attenuator Connections[pdf][share]
  3. Advanced VLAN AP Scenario[pdf][share]
  4. Receiver-Sensitivity Testing With LANforge[pdf][share]
  5. Dataplane Test: Throughput Over Different Packet Sizes[pdf][share]
  6. Dataplane Test: Throughput Over Different AP Orientations[pdf][share]
  7. Rate-vs.-Range Test: Throughput Over Different Signal Strengths[pdf][share]
  8. Hunt Test: Latency Over Different Packet Sizes[pdf][share]
  9. WiFi-Capacity Test: Throughput With Many Stations[pdf][share]
  10. WiFi-Station-Reset Test[pdf][share]
  11. Compare Multiple APs' Performance With Dataplane[pdf][share]
  12. Roam Test With 802.11k/v/r[pdf][share]
  13. Automating Tests With Script[pdf][share]
  14. Automated Mesh-Topology Test[pdf][share]
  15. Creating Simple LANforge Access Points[pdf][share]
  16. Create 802.11k/v/r LANforge Access-Point Cluster[pdf][share]
  17. Automated CI/CD Regression Testing[pdf][share]
  18. CI/CD Lights-Out Chamber Setup[pdf][share]
  19. Initial Setup to Run Scripts Test Suite for AP Testing[pdf][share]

AP-Auto Tests

  1. Auto-AP Test: Setup[pdf][share]
  2. Auto-AP Test: Stability[pdf][share]
  3. Auto-AP Test: Capacity Test[pdf][share]
  4. Auto-AP Test: Throughput Test[pdf][share]
  5. Auto-AP Test: Band Steering Test[pdf][share]
  6. Auto-AP Test: Long-Term Test[pdf][share]

TR-398 Tests

  1. TR-398 Issue 1 Test: Receiver Sensitivity, Throughput, Capacity[pdf][share]
  2. TR-398 Issue 2 & Mesh: Calibration, Max Throughput Test[pdf][share]
  3. TR-398 Issue 2/3 & Mesh: Advanced Configuration[pdf][share]

AP Testing

  1. Basic AP Testing[pdf][share]
  2. Jamming a Channel With CT523[pdf][share]
  3. Station Performance for 1, 50, and 128 Stations[pdf][share]
  4. Multicast-Download Test[pdf][share]
  5. Rate-vs.-Range Test[pdf][share]
  6. Attenuation-vs.-PDU-Size Test[pdf][share]
  7. WiFi-Capacity Test[pdf][share]
  8. Station-Reset Test[pdf][share]
  9. Emulating Degraded Stations[pdf][share]
  10. Scripted Attenuation of a WiFi Connection[pdf][share]
  11. External Traffic Generation[pdf][share]
  12. Multiple Stations With a Hunt Script[pdf][share]
  13. WPS Association[pdf][share]
  14. Station MU-MIMO Performance for 2x2 and 1x1 Stations[pdf][share]
  15. Sniffing WiFi Monitors With Wireshark[pdf][share]
  16. Scripting a Stand-Alone CT703 or CT704 Attenuator[pdf][share]
  17. DFS Testing With CT712 RF-Noise Generator and RADAR Simulator[pdf][share]
  18. WiFi-Transportation-Testing Video Demonstration[pdf][share]
  19. Inflight-Entertainment Video[pdf][share]
  20. Configuring EAP-PEAP and MSCHAPv2[pdf][share]
  21. Using the Port Monitor[pdf][share]


  1. Python Script to Show Latency and Throughput at Different QoS[pdf][share]
  2. Python Script to Create Many Connections and Capture Packets[pdf][share]
  3. Creating Test Scripts With the Realm Class[pdf][share]
  4. Creating Layer-4 Test Scripts With Python[pdf][share]
  5. Creating Generic Test Scripts With Python[pdf][share]
  6. LAN-Theoretical-Throughput Calculator for 802.11a/b/g/n/ac Standards[pdf][share]

Packet Capture

  1. WiFi Packet Capture and Diagnostics[pdf][share]
  2. Powersave Test Cases[pdf][share]
  3. Scripting Multiple Simultaneous Packet Captures, Including OFDMA[pdf][share]
  4. OFDMA vs. MU-MIMO Packet-Capture Analysis[pdf][share]
  5. 6GHz Packet Capture[pdf][share]

Mesh Testing

  1. Mesh-Testing Video Demonstration[pdf][share]

Testing HotSpot and Roaming

  1. HotSpot 2.0 With EAP-TTLS (Client Needs Only Username/Password)[pdf][share]
  2. HotSpot 2.0 With EAP-TLS and EAP-TTLS[pdf][share]
  3. HotSpot 2.0 With EAP-AKA[pdf][share]
  4. HotSpot 2.0 With EAP-SIM[pdf][share]
  5. Fast-Roaming Stations With 802.11r (FT-EAP)[pdf][share]
  6. Two-Access-Point Network With 802.11r (FT-EAP)[pdf][share]
  7. Four-Access-Point Network With 802.11r (FT-EAP)[pdf][share]
  8. Roaming With HotSpot 2.0[pdf][share]
  9. HotSpot-2.0 Release 2[pdf][share]

Testing Captive Portal

  1. Captive-Portal Testing[pdf][share]
  2. Older Captive-Portal Login lf_ifup_post[pdf][share]

Audio Quality Testing

  1. VoIP-Mobile Audio Quality Testing using POLQA/PESQ[pdf][share]
  2. Mobile-Mobile Audio Quality Testing using POLQA/PESQ[pdf][share]

Interop Solutions

  1. Test Video Streaming with DASH Server and Interop APK[pdf][share]
  2. Setup LANforge InterOp for Android[pdf][share]
  3. Installing LANforge Server on Windows Machine[pdf][share]
  4. Installing LANforge Server on MacOS Machine[pdf][share]
  5. Installing LANforge Server on Linux and Ubuntu Machine[pdf][share]
  6. Android Real-Browser Test[pdf][share]
  7. Android Layer-3 Traffic Test[pdf][share]
  8. Video Streaming Test on Android[pdf][share]
  9. Setup LANforge InterOp for iOS[pdf][share]

User Endpoint Testing

  1. Creating a VAP in Bridge Mode[pdf][share]
  2. Creating a Routed VAP to Ethernet[pdf][share]
  3. Configuring a Virtual AP With Limited Stations[pdf][share]
  4. WiFi-Station-Association Code 17[pdf][share]
  5. Emulating Many VAPs With One Radio for Station-DUT Testing[pdf][share]
  6. Emulating a Degraded VAP: Station-DUT-Management-Frame-Retry Logic[pdf][share]
  7. Running UDP Traffic With Android[pdf][share]
  8. Verifying Android QoS[pdf][share]
  9. ScriptHunt With Test Groups[pdf][share]
  10. WiFi-Capacity Test With Layer 4-7[pdf][share]
  11. WiFi-Gaming Demonstration Video[pdf][share]
  12. Setting Up a RADIUS server[pdf][share]
  13. Setting Up WPA3[pdf][share]
  14. Wifi Roaming With Opportunistic Key Caching (OKC)[pdf][share]
  15. Using iperf to Generate Traffic[pdf][share]
  16. Using flent to Generate Traffic[pdf][share]
  17. Mobile STA Mesh Test -TPUT/ROAM[pdf][share]

AP-Mode Corruptions

  1. Overriding RSN Information Elements of Beacon Frames[pdf][share]
  2. Overriding RSN Information Elements of EAPOL-Key Message 3/4[pdf][share]
  3. Overriding RSNXE Information Elements of EAPOL-Key Message 3/4[pdf][share]
  4. Overriding SAE Commit Message[pdf][share]

Before attempting the examples below, ensure that you have successfully followed these software installation guides:

It is also recommended that you back up your current running LANforge Server database so that you may safely return to your current operating state.

Quick Examples

Note on Platforms

All of the following examples will work on Linux systems running the LANforge software with the LANforge kernel and a sufficient license. If you are running another Linux kernel, you will not be able to exactly duplicate some of the examples, but there are usually work-arounds available to assist you. Please contact us at if you have any questions.

If you are using the Windows version of LANforge, you will have to modify ports using the Windows utilities.

If you have any questions or suggestions, email

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