This example shows how to transmit and receive WLAN packets on a single radio platform, USRP® Embedded Series Radio Support Package with MATLAB® and WLAN Toolbox™. An image file is encoded and packed into WLAN packets for transmission, and subsequently decoded on reception.
WLAN Toolbox can be used to generate standard-compliant baseband IQ waveforms. These baseband waveforms can be modulated for RF transmission using SDR radio hardware such as USRP® E310 radio.
In this example, an image file is imported and packed into multiple WLAN packets of a baseband waveform that is generated using WLAN Toolbox. A single antenna is used to generate an IEEE® 802.11a™ waveform. The RF WLAN waveform is then created, the baseband waveform is transferred to the hardware memory on the USRP® E310 radio and transmitted over the air.
The Repeated Waveform Transmitter functionality with the USRP® Embedded Series radio hardware, allows a waveform to be transmitted over the air and is received using the same SDR hardware. The diagram below shows the setup used.
The receiver captures a number of WLAN packets and performs synchronization, channel estimation and equalization to retrieve packet parameters. The data field is then extracted and the transmitted payload is recovered using the retrieved packet parameters. After decoding the received waveform, the transmitted image is recovered.
This example requires the Support Package for USRP® Embedded Series Radio. This can be installed using the Add-On Explorer.
More information about other supported SDR platforms can be found here.
The full example description and source code can be found in the list of examples using USRP® Embedded Series Radio under the name "Transmission and Reception of an Image Using WLAN Toolbox and a Single USRP® E310".