fun_ofdm
1.0
802.11a Physical Layer for USRP
|
The puncturer class. More...
#include <puncturer.h>
Static Public Member Functions | |
static std::vector< unsigned char > | puncture (std::vector< unsigned char > data, RateParams rate_params) |
Punctures the convolutionally encoded data to get it to the desired coding rate. More... | |
static std::vector< unsigned char > | depuncture (std::vector< unsigned char > data, RateParams rate_params) |
depunctures the data by inserting 0's in the "puncture holes" More... | |
The puncturer class.
The puncturer class punctures the convolutionally encoded data to effectively increase the coding rate. On the receive side it depunctures the received punctured data by inserting 0's into the "puncture holes".
Definition at line 26 of file puncturer.h.
|
static |
depunctures the data by inserting 0's in the "puncture holes"
data | Vector of the punctured data to be depunctured. |
rate_params | The parameters for the PHY Rate from which the coding rate is extracted. |
Depunctures the punctured data by inserting 0's into the "puncture holes" based on the PHY rate in rate_params. Supported Rates:
Definition at line 78 of file puncturer.cpp.
References fun::RateParams::rate, fun::RATE_1_2_BPSK, fun::RATE_1_2_QAM16, fun::RATE_1_2_QPSK, fun::RATE_2_3_BPSK, fun::RATE_2_3_QAM16, fun::RATE_2_3_QAM64, fun::RATE_2_3_QPSK, fun::RATE_3_4_BPSK, fun::RATE_3_4_QAM16, fun::RATE_3_4_QAM64, fun::RATE_3_4_QPSK, and fun::RateParams::rel_rate.
Referenced by fun::ppdu::decode_data().
|
static |
Punctures the convolutionally encoded data to get it to the desired coding rate.
data | Vector of the convolutionally encoded data to be punctured. |
rate_params | The parameters for the PHY Rate from which the coding rate is extracted. |
Punctures the convolutionally encoded data based on the desired PHY rate in rate_params. Suported Rates:
Definition at line 24 of file puncturer.cpp.
References fun::RateParams::rate, fun::RATE_1_2_BPSK, fun::RATE_1_2_QAM16, fun::RATE_1_2_QPSK, fun::RATE_2_3_BPSK, fun::RATE_2_3_QAM16, fun::RATE_2_3_QAM64, fun::RATE_2_3_QPSK, fun::RATE_3_4_BPSK, fun::RATE_3_4_QAM16, fun::RATE_3_4_QAM64, fun::RATE_3_4_QPSK, and fun::RateParams::rel_rate.
Referenced by fun::ppdu::encode_data().