Main Content

WLAN Waveform Generator

Create, impair, visualize, and export WLAN waveforms

Description

The WLAN Waveform Generator app enables you to create, impair, visualize, and export IEEE® 802.11™ waveforms.

The app provides these capabilities by using the Wireless Waveform Generator app configured for WLAN waveform generation. Using the app, you can:

  • Generate IEEE 802.11ax™ waveforms, as specified in [1].

  • Generate IEEE 802.11ac™, 802.11ad™, 802.11n™, 802.11ah™, 802.11p™, 802.11a™, 802.11g™, 802.11j™, and 802.11b™ waveforms, as specified in [2].

  • Export the WLAN waveform to your workspace or to a .mat or a .bb file.

  • Export WLAN waveform generation parameters to a runnable MATLAB® script or a Simulink® block.

    • Use the exported script to generate your waveform without the app from the command line.

    • Use the exported block as a waveform source in a Simulink model. For more information, see Waveform From Wireless Waveform Generator App.

  • Visualize the WLAN waveform in time scope, spectrum analyzer, constellation diagram, and complementary cumulative distribution function (CCDF) plots.

  • Visualize the resource unit (RU) and subcarrier assignment in an IEEE 802.11ax waveform.

  • Distort the WLAN waveform by adding RF impairments, such as AWGN, phase offset, frequency offset, DC offset, IQ imbalance, and memoryless cubic nonlinearity.

  • Generate a WLAN waveform that you can transmit using a connected software defined radio (SDR) or lab test instrument.

    • To transmit a waveform by using an SDR, you must connect one of the supported SDRs (ADALM-Pluto, USRP™, USRP embedded series, and Xilinx® Zynq-based radios) to your computer and have the associated add-on installed. For more information, see Transmit Using SDR.

    • To transmit a waveform by using lab test instrument, you must connect one of the instruments supported by the rfsiggen (Instrument Control Toolbox) function to your computer. Use of the rfsiggen function requires Instrument Control Toolbox.

To create, impair, visualize, and export waveforms other than WLAN waveforms, you must reconfigure the app. For a full list of features, see the Wireless Waveform Generator app.

For more information, see Use Wireless Waveform Generator App.

WLAN Waveform Generator app

Open the WLAN Waveform Generator App

MATLAB Toolstrip: On the Apps tab, under Signal Processing and Communications, click the app icon.

MATLAB Command Prompt: Enter wirelessWaveformGenerator. This command opens the Wireless Waveform Generator app. To configure the app for WLAN waveform generation, in the Waveform Type section, select one of the formats under WLAN (IEEE 802.11).

Examples

expand all

This example shows how to generate IEEE® 802.11™ waveforms by using the WLAN Waveform Generator app.

Open WLAN Waveform Generator App

On the Apps tab of the MATLAB® toolstrip, select the WLAN Waveform Generator app icon under Signal Processing and Communications. This selection opens the Wireless Waveform Generator app configured for WLAN waveform generation.

Select IEEE 802.11 PHY Format

Choose the PHY format of the waveform you want to generate by selecting one of the formats under WLAN (IEEE 802.11) in the Waveform Type section of the app toolstrip. The app supports these IEEE 802.11 PHY formats.

  • 802.11ax

  • 802.11ah

  • 802.11ad

  • 802.11n/ac

  • 802.11p

  • 802.11b/g

  • 802.11a/g/j

Generate WLAN Waveform

Set transmission and configuration parameters by specifying options in the Waveform tab on the left pane of the app. Add impairments and select visualization tools by specifying options in the Generation section of the app toolstrip. To visualize the waveform, click Generate.

For example, this figure shows the Time Scope and Spectrum Analyzer visualization results for a high-efficiency trigger-based (HE TB) waveform with default parameters.

Export Generated Waveform

You can export the generated waveform and its parameters by clicking Export. You can export the waveform to:

  • A MATLAB script with a .m extension, which you can run to generate the waveform without the app

  • A file with a .bb or .mat extension

  • Your MATLAB workspace as a structure

  • A Simulink® block, which you can use to generate the waveform in a Simulink model without the app

Transmit WLAN Waveform

This feature requires Instrument Control Toolbox™ software. To transmit a generated waveform, click the Transmitter tab on the app toolstrip and configure the instruments. You can use any instrument supported by the rfsiggen (Instrument Control Toolbox) function.

References

[1] IEEE Std 802.11ax-2021 (Amendment to IEEE Std 802.11-2020). “Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications. Amendment 1: Enhancements for High Efficiency WLAN.” IEEE Standard for Information technology — Telecommunications and information exchange between systems. Local and metropolitan area networks — Specific requirements.

[2] IEEE Std 802.11-2020 (Revision of IEEE Std 802.11-2016). “Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications.” IEEE Standard for Information technology — Telecommunications and information exchange between systems. Local and metropolitan area networks — Specific requirements.

Version History

Introduced in R2018b