fun_ofdm
1.0
802.11a Physical Layer for USRP
|
The plcp_header struct is a container for PLCP Headers and their respective parameters. More...
#include <ppdu.h>
Public Member Functions | |
plcp_header () | |
Constructor for empty plcp_header. More... | |
plcp_header (Rate _rate, int _length) | |
Constructor for plcp_header with rate and length known. More... | |
plcp_header (Rate _rate, int _length, int _num_symbols) | |
Constructor for plcp_header with rate, length and number of symbols known. More... | |
Public Attributes | |
Rate | rate |
The PHY Rate for this frame. More... | |
int | length |
The length of the payload in bytes. More... | |
int | num_symbols |
The number of ofdm symbols in the frame. More... | |
unsigned short | service |
The service field. More... | |
The plcp_header struct is a container for PLCP Headers and their respective parameters.
|
inline |
Constructor for empty plcp_header.
-Initializations:
Definition at line 41 of file ppdu.h.
References length, num_symbols, rate, fun::RATE_1_2_BPSK, and service.
|
inline |
|
inline |
Constructor for plcp_header with rate, length and number of symbols known.
_rate | PHY Rate for this frame. |
_length | Length of payload in bytes. |
_num_symbols | Number of OFDM symbols in frame. |
Definition at line 67 of file ppdu.h.
References length, num_symbols, rate, and service.
int fun::plcp_header::length |
The length of the payload in bytes.
Definition at line 28 of file ppdu.h.
Referenced by fun::ppdu::decode_data(), fun::ppdu::decode_header(), fun::ppdu::encoder_header(), fun::ppdu::get_length(), and plcp_header().
int fun::plcp_header::num_symbols |
The number of ofdm symbols in the frame.
Definition at line 29 of file ppdu.h.
Referenced by fun::ppdu::decode_header(), fun::ppdu::get_num_symbols(), and plcp_header().
Rate fun::plcp_header::rate |
The PHY Rate for this frame.
Definition at line 27 of file ppdu.h.
Referenced by fun::ppdu::decode_data(), fun::ppdu::decode_header(), fun::ppdu::encode_data(), fun::ppdu::encoder_header(), fun::ppdu::get_rate(), and plcp_header().
unsigned short fun::plcp_header::service |
The service field.
Definition at line 30 of file ppdu.h.
Referenced by fun::ppdu::decode_data(), and plcp_header().