INET Framework for OMNeT++/OMNEST
inet::physicallayer::Ieee80211HTCompliantCodes Class Reference

#include <Ieee80211HTCode.h>

Static Public Member Functions

static const Ieee80211HTCodegetCompliantCode (const Ieee80211ConvolutionalCode *convolutionalCode, const Ieee80211OFDMModulation *stream1Modulation, const Ieee80211OFDMModulation *stream2Modulation, const Ieee80211OFDMModulation *stream3Modulation, const Ieee80211OFDMModulation *stream4Modulation, Hz bandwidth, bool withScrambling=true)
 

Static Public Attributes

static const Ieee80211ConvolutionalCode htConvolutionalCode5_6
 

Member Function Documentation

const Ieee80211HTCode * inet::physicallayer::Ieee80211HTCompliantCodes::getCompliantCode ( const Ieee80211ConvolutionalCode convolutionalCode,
const Ieee80211OFDMModulation stream1Modulation,
const Ieee80211OFDMModulation stream2Modulation,
const Ieee80211OFDMModulation stream3Modulation,
const Ieee80211OFDMModulation stream4Modulation,
Hz  bandwidth,
bool  withScrambling = true 
)
static

Referenced by inet::physicallayer::Ieee80211HTCompliantModes::getCompliantMode().

36 {
37  std::vector<unsigned int> numberOfCodedBitsPerSpatialStreams;
38  if (stream1Modulation)
39  numberOfCodedBitsPerSpatialStreams.push_back(stream1Modulation->getSubcarrierModulation()->getCodeWordSize());
40  if (stream2Modulation)
41  numberOfCodedBitsPerSpatialStreams.push_back(stream2Modulation->getSubcarrierModulation()->getCodeWordSize());
42  if (stream3Modulation)
43  numberOfCodedBitsPerSpatialStreams.push_back(stream3Modulation->getSubcarrierModulation()->getCodeWordSize());
44  if (stream4Modulation)
45  numberOfCodedBitsPerSpatialStreams.push_back(stream4Modulation->getSubcarrierModulation()->getCodeWordSize());
46  return withScrambling ? new Ieee80211HTCode(convolutionalCode, new Ieee80211HTInterleaving(numberOfCodedBitsPerSpatialStreams, bandwidth), &Ieee80211OFDMCompliantCodes::ofdmScrambling) :
47  new Ieee80211HTCode(convolutionalCode, new Ieee80211HTInterleaving(numberOfCodedBitsPerSpatialStreams, bandwidth), nullptr);
48 }
static const AdditiveScrambling ofdmScrambling
Definition: Ieee80211OFDMCode.h:61

Member Data Documentation

const Ieee80211ConvolutionalCode inet::physicallayer::Ieee80211HTCompliantCodes::htConvolutionalCode5_6
static

The documentation for this class was generated from the following files: