fun_ofdm  1.0
802.11a Physical Layer for USRP
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
frame_builder.cpp File Reference

C++ for the Frame Builder class. More...

#include <arpa/inet.h>
#include <boost/crc.hpp>
#include "frame_builder.h"
#include "interleaver.h"
#include "qam.h"
#include "ppdu.h"
#include "symbol_mapper.h"
#include "fft.h"
#include "preamble.h"
#include "rates.h"
#include "viterbi.h"
#include "parity.h"
#include "modulator.h"
#include "puncturer.h"

Go to the source code of this file.

Namespaces

 fun
 

Constant Groups

 fun
 

Macros

#define preamble_length   256
 Not cyclic prefixed at this point yet. More...
 

Detailed Description

C++ for the Frame Builder class.

This class takes input data (MPDUs) and builds PHY layer frames by first prepending a PHY header and appending an IEEE CRC-32 checksum to the data. It then encodes the data by scrambling, convolutional coding the data at the coding rate specified (this may or may not require puncturing), and interleaving the data. It then modulates the data as specified. The modulated data is then mapped into symbols with the data being mapped to the respective data subcarriers with pilots and nulls being mapped to their respective subcarriers. Each symbol is then run through an IFFT to convert it to time domain an a cyclic prefix is attached to each symbol. Finally, the symbols are concatenated together and a preamble is prepended to complete the frame. The frame is then returned so that it can be passed to the USRP for transmission.

Definition in file frame_builder.cpp.

Macro Definition Documentation

#define preamble_length   256

Not cyclic prefixed at this point yet.

Definition at line 32 of file frame_builder.cpp.