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

◆ getCompliantCode()

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
27 {
28  std::vector<unsigned int> numberOfCodedBitsPerSpatialStreams;
29  if (stream1Modulation)
30  numberOfCodedBitsPerSpatialStreams.push_back(stream1Modulation->getSubcarrierModulation()->getCodeWordSize());
31  if (stream2Modulation)
32  numberOfCodedBitsPerSpatialStreams.push_back(stream2Modulation->getSubcarrierModulation()->getCodeWordSize());
33  if (stream3Modulation)
34  numberOfCodedBitsPerSpatialStreams.push_back(stream3Modulation->getSubcarrierModulation()->getCodeWordSize());
35  if (stream4Modulation)
36  numberOfCodedBitsPerSpatialStreams.push_back(stream4Modulation->getSubcarrierModulation()->getCodeWordSize());
37  return withScrambling ? new Ieee80211HtCode(convolutionalCode, new Ieee80211HtInterleaving(numberOfCodedBitsPerSpatialStreams, bandwidth), &Ieee80211OfdmCompliantCodes::ofdmScrambling) :
38  new Ieee80211HtCode(convolutionalCode, new Ieee80211HtInterleaving(numberOfCodedBitsPerSpatialStreams, bandwidth), nullptr);
39 }

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

Member Data Documentation

◆ htConvolutionalCode5_6

const Ieee80211ConvolutionalCode inet::physicallayer::Ieee80211HtCompliantCodes::htConvolutionalCode5_6
static

The documentation for this class was generated from the following files:
inet::physicallayer::Ieee80211OfdmCompliantCodes::ofdmScrambling
static const AdditiveScrambling ofdmScrambling
Definition: Ieee80211OfdmCode.h:54