This class manages the serialization/deserialization of RrcConnectionReconfiguration IE. More...
#include "lte-rrc-header.h"
Public Member Functions | |
RrcConnectionReconfigurationHeader () | |
~RrcConnectionReconfigurationHeader () override | |
uint32_t | Deserialize (Buffer::Iterator bIterator) override |
std::list< LteRrcSap::DrbToAddMod > | GetDrbToAddModList () const |
Gets m_radioResourceConfigDedicated.drbToAddModList. | |
std::list< uint8_t > | GetDrbToReleaseList () const |
Gets m_radioResourceConfigDedicated.drbToReleaseList. | |
bool | GetHaveMeasConfig () const |
Getter for m_haveMeasConfig. | |
bool | GetHaveMobilityControlInfo () const |
Getter for m_haveMobilityControlInfo. | |
bool | GetHaveNonCriticalExtensionConfig () const |
Getter for m_haveNonCriticalExtension. | |
bool | GetHaveRadioResourceConfigDedicated () const |
Getter for m_haveRadioResourceConfigDedicated. | |
LteRrcSap::MeasConfig | GetMeasConfig () |
Getter for m_measConfig. | |
LteRrcSap::RrcConnectionReconfiguration | GetMessage () const |
Returns a RrcConnectionReconfiguration IE from the values in the class attributes. | |
LteRrcSap::MobilityControlInfo | GetMobilityControlInfo () |
Getter for m_mobilityControlInfo. | |
LteRrcSap::NonCriticalExtensionConfiguration | GetNonCriticalExtensionConfig () |
Getter for m_nonCriticalExtension. | |
LteRrcSap::PhysicalConfigDedicated | GetPhysicalConfigDedicated () const |
Gets m_radioResourceConfigDedicated.physicalConfigDedicated. | |
LteRrcSap::RadioResourceConfigDedicated | GetRadioResourceConfigDedicated () |
Getter for m_radioResourceConfigDedicated. | |
LteRrcSap::RadioResourceConfigDedicated | GetRadioResourceConfigDedicated () const |
Getter for m_radioResourceConfigDedicated. | |
uint8_t | GetRrcTransactionIdentifier () const |
Getter for m_rrcTransactionIdentifier. | |
std::list< LteRrcSap::SrbToAddMod > | GetSrbToAddModList () const |
Gets m_radioResourceConfigDedicated.srbToAddModList. | |
bool | HavePhysicalConfigDedicated () const |
Gets m_radioResourceConfigDedicated.havePhysicalConfigDedicated. | |
void | PreSerialize () const override |
This function serializes class attributes to m_serializationResult local Buffer. | |
void | Print (std::ostream &os) const override |
This function prints the object, for debugging purposes. | |
void | SetMessage (LteRrcSap::RrcConnectionReconfiguration msg) |
Receives a RrcConnectionReconfiguration IE and stores the contents into the class attributes. | |
Public Member Functions inherited from ns3::RrcAsn1Header | |
RrcAsn1Header () | |
int | GetMessageType () const |
Get message type. | |
Public Member Functions inherited from ns3::Asn1Header | |
Asn1Header () | |
~Asn1Header () override | |
uint32_t | GetSerializedSize () const override |
void | Serialize (Buffer::Iterator bIterator) const override |
Public Member Functions inherited from ns3::Header | |
~Header () override | |
virtual uint32_t | Deserialize (Buffer::Iterator start, Buffer::Iterator end) |
Deserialize the object from a buffer iterator. | |
Public Member Functions inherited from ns3::ObjectBase | |
virtual | ~ObjectBase () |
Virtual destructor. | |
void | GetAttribute (std::string name, AttributeValue &value, bool permissive=false) const |
Get the value of an attribute, raising fatal errors if unsuccessful. | |
bool | GetAttributeFailSafe (std::string name, AttributeValue &value) const |
Get the value of an attribute without raising errors. | |
void | SetAttribute (std::string name, const AttributeValue &value) |
Set a single attribute, raising fatal errors if unsuccessful. | |
bool | SetAttributeFailSafe (std::string name, const AttributeValue &value) |
Set a single attribute without raising errors. | |
bool | TraceConnect (std::string name, std::string context, const CallbackBase &cb) |
Connect a TraceSource to a Callback with a context. | |
bool | TraceConnectWithoutContext (std::string name, const CallbackBase &cb) |
Connect a TraceSource to a Callback without a context. | |
bool | TraceDisconnect (std::string name, std::string context, const CallbackBase &cb) |
Disconnect from a TraceSource a Callback previously connected with a context. | |
bool | TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb) |
Disconnect from a TraceSource a Callback previously connected without a context. | |
Private Attributes | |
bool | m_haveMeasConfig |
have measure config? | |
bool | m_haveMobilityControlInfo |
have mobility control info? | |
bool | m_haveNonCriticalExtension |
Have non-critical extension. | |
bool | m_haveRadioResourceConfigDedicated |
have radio resource config dedicated? | |
LteRrcSap::MeasConfig | m_measConfig |
the measure config | |
LteRrcSap::MobilityControlInfo | m_mobilityControlInfo |
the modility control info | |
LteRrcSap::NonCriticalExtensionConfiguration | m_nonCriticalExtension |
the non-critical extension | |
LteRrcSap::RadioResourceConfigDedicated | m_radioResourceConfigDedicated |
the radio resource config dedicated | |
uint8_t | m_rrcTransactionIdentifier |
RRC transaction identifier. | |
Additional Inherited Members | |
Static Public Member Functions inherited from ns3::Asn1Header | |
static TypeId | GetTypeId () |
Get the type ID. | |
Static Public Member Functions inherited from ns3::Header | |
static TypeId | GetTypeId () |
Get the type ID. | |
Static Public Member Functions inherited from ns3::Chunk | |
static TypeId | GetTypeId () |
Get the type ID. | |
Static Public Member Functions inherited from ns3::ObjectBase | |
static TypeId | GetTypeId () |
Get the type ID. | |
Protected Member Functions inherited from ns3::RrcAsn1Header | |
int | BandwidthToEnum (uint16_t bandwidth) const |
Convert from bandwidth (in RBs) to ENUMERATED value. | |
Buffer::Iterator | DeserializeCellIdentification (LteRrcSap::CellIdentification *ci, Buffer::Iterator bIterator) |
Deserialize cell identification function. | |
Buffer::Iterator | DeserializeDrbToAddModList (std::list< LteRrcSap::DrbToAddMod > *drbToAddModLis, Buffer::Iterator bIterator) |
Deserialize DRB to add mod list function. | |
Buffer::Iterator | DeserializeLogicalChannelConfig (LteRrcSap::LogicalChannelConfig *logicalChannelConfig, Buffer::Iterator bIterator) |
Deserialize logical channel config function. | |
Buffer::Iterator | DeserializeMeasConfig (LteRrcSap::MeasConfig *measConfig, Buffer::Iterator bIterator) |
Deserialize measure config function. | |
Buffer::Iterator | DeserializeMeasResults (LteRrcSap::MeasResults *measResults, Buffer::Iterator bIterator) |
Deserialize measure results function. | |
Buffer::Iterator | DeserializeNonCriticalExtensionConfig (LteRrcSap::NonCriticalExtensionConfiguration *nonCriticalExtension, Buffer::Iterator bIterator) |
Deserialize non critical extension config function. | |
Buffer::Iterator | DeserializePhysicalConfigDedicated (LteRrcSap::PhysicalConfigDedicated *physicalConfigDedicated, Buffer::Iterator bIterator) |
Deserialize physical config dedicated function. | |
Buffer::Iterator | DeserializePhysicalConfigDedicatedSCell (LteRrcSap::PhysicalConfigDedicatedSCell *pcdsc, Buffer::Iterator bIterator) |
Deserialize physical config dedicated SCell function. | |
Buffer::Iterator | DeserializePlmnIdentity (uint32_t *plmnId, Buffer::Iterator bIterator) |
Deserialize PLMN identity function. | |
Buffer::Iterator | DeserializeQoffsetRange (int8_t *qOffsetRange, Buffer::Iterator bIterator) |
Deserialize Qoffset range function. | |
Buffer::Iterator | DeserializeRachConfigCommon (LteRrcSap::RachConfigCommon *rachConfigCommon, Buffer::Iterator bIterator) |
Deserialize RACH config common function. | |
Buffer::Iterator | DeserializeRadioResourceConfigCommon (LteRrcSap::RadioResourceConfigCommon *radioResourceConfigCommon, Buffer::Iterator bIterator) |
Deserialize radio resource config common function. | |
Buffer::Iterator | DeserializeRadioResourceConfigCommonSCell (LteRrcSap::RadioResourceConfigCommonSCell *rrccsc, Buffer::Iterator bIterator) |
Deserialize radio resource config common SCell function. | |
Buffer::Iterator | DeserializeRadioResourceConfigCommonSib (LteRrcSap::RadioResourceConfigCommonSib *radioResourceConfigCommonSib, Buffer::Iterator bIterator) |
Deserialize radio resource config common SIB function. | |
Buffer::Iterator | DeserializeRadioResourceConfigDedicated (LteRrcSap::RadioResourceConfigDedicated *radioResourceConfigDedicated, Buffer::Iterator bIterator) |
Deserialize radio resource config dedicated function. | |
Buffer::Iterator | DeserializeRadioResourceConfigDedicatedSCell (LteRrcSap::RadioResourceConfigDedicatedSCell *rrcdsc, Buffer::Iterator bIterator) |
Deserialize radio resource config dedicated SCell function. | |
Buffer::Iterator | DeserializeSrbToAddModList (std::list< LteRrcSap::SrbToAddMod > *srbToAddModList, Buffer::Iterator bIterator) |
Deserialize SRB to add mod list function. | |
Buffer::Iterator | DeserializeSystemInformationBlockType1 (LteRrcSap::SystemInformationBlockType1 *systemInformationBlockType1, Buffer::Iterator bIterator) |
Deserialize system information block type 1 function. | |
Buffer::Iterator | DeserializeSystemInformationBlockType2 (LteRrcSap::SystemInformationBlockType2 *systemInformationBlockType2, Buffer::Iterator bIterator) |
Deserialize system information block type 2 function. | |
Buffer::Iterator | DeserializeThresholdEutra (LteRrcSap::ThresholdEutra *thresholdEutra, Buffer::Iterator bIterator) |
Deserialize threshold eutra function. | |
uint16_t | EnumToBandwidth (int n) const |
Convert from ENUMERATED value to bandwidth (in RBs) | |
TypeId | GetInstanceTypeId () const override |
Get the most derived TypeId for this Object. | |
void | Print (std::ostream &os, LteRrcSap::RadioResourceConfigDedicated radioResourceConfigDedicated) const |
This function prints RadioResourceConfigDedicated IE, for debugging purposes. | |
void | SerializeDrbToAddModList (std::list< LteRrcSap::DrbToAddMod > drbToAddModList) const |
Serialize DRB to add mod list function. | |
void | SerializeLogicalChannelConfig (LteRrcSap::LogicalChannelConfig logicalChannelConfig) const |
Serialize logicala channel config function. | |
void | SerializeMeasConfig (LteRrcSap::MeasConfig measConfig) const |
Serialize measure config function. | |
void | SerializeMeasResults (LteRrcSap::MeasResults measResults) const |
Serialize measure results function. | |
void | SerializeNonCriticalExtensionConfiguration (LteRrcSap::NonCriticalExtensionConfiguration nonCriticalExtensionConfiguration) const |
Serialize non critical extension config function. | |
void | SerializePhysicalConfigDedicated (LteRrcSap::PhysicalConfigDedicated physicalConfigDedicated) const |
Serialize physical config dedicated function. | |
void | SerializePhysicalConfigDedicatedSCell (LteRrcSap::PhysicalConfigDedicatedSCell pcdsc) const |
Serialize physical config dedicated function. | |
void | SerializePlmnIdentity (uint32_t plmnId) const |
Serialize PLMN identity function. | |
void | SerializeQoffsetRange (int8_t qOffsetRange) const |
Serialize Q offset range function. | |
void | SerializeRachConfigCommon (LteRrcSap::RachConfigCommon rachConfigCommon) const |
Serialize RACH config common function. | |
void | SerializeRadioResourceConfigCommon (LteRrcSap::RadioResourceConfigCommon radioResourceConfigCommon) const |
Serialize system information block type 2 function. | |
void | SerializeRadioResourceConfigCommonSCell (LteRrcSap::RadioResourceConfigCommonSCell rrccsc) const |
Serialize radio resource config common SCell function. | |
void | SerializeRadioResourceConfigCommonSib (LteRrcSap::RadioResourceConfigCommonSib radioResourceConfigCommonSib) const |
Serialize radio resource config common SIB function. | |
void | SerializeRadioResourceConfigDedicated (LteRrcSap::RadioResourceConfigDedicated radioResourceConfigDedicated) const |
Serialize radio resource config function. | |
void | SerializeRadioResourceDedicatedSCell (LteRrcSap::RadioResourceConfigDedicatedSCell rrcdsc) const |
Serialize radio resource dedicated SCell function. | |
void | SerializeSrbToAddModList (std::list< LteRrcSap::SrbToAddMod > srbToAddModList) const |
Serialize SRB to add mod list function. | |
void | SerializeSystemInformationBlockType1 (LteRrcSap::SystemInformationBlockType1 systemInformationBlockType1) const |
Serialize system information block type 1 function. | |
void | SerializeSystemInformationBlockType2 (LteRrcSap::SystemInformationBlockType2 systemInformationBlockType2) const |
Serialize system information block type 2 function. | |
void | SerializeThresholdEutra (LteRrcSap::ThresholdEutra thresholdEutra) const |
Serialize threshold eutra function. | |
Protected Member Functions inherited from ns3::Asn1Header | |
Buffer::Iterator | DeserializeBitset (std::bitset< 8 > *data, Buffer::Iterator bIterator) |
Deserialize a bitset. | |
template<int N> | |
Buffer::Iterator | DeserializeBitset (std::bitset< N > *data, Buffer::Iterator bIterator) |
Deserialize a bitset. | |
Buffer::Iterator | DeserializeBitstring (std::bitset< 1 > *bitstring, Buffer::Iterator bIterator) |
Deserialize a bitstring. | |
Buffer::Iterator | DeserializeBitstring (std::bitset< 10 > *bitstring, Buffer::Iterator bIterator) |
Deserialize a bitstring. | |
Buffer::Iterator | DeserializeBitstring (std::bitset< 16 > *bitstring, Buffer::Iterator bIterator) |
Deserialize a bitstring. | |
Buffer::Iterator | DeserializeBitstring (std::bitset< 2 > *bitstring, Buffer::Iterator bIterator) |
Deserialize a bitstring. | |
Buffer::Iterator | DeserializeBitstring (std::bitset< 27 > *bitstring, Buffer::Iterator bIterator) |
Deserialize a bitstring. | |
Buffer::Iterator | DeserializeBitstring (std::bitset< 28 > *bitstring, Buffer::Iterator bIterator) |
Deserialize a bitstring. | |
Buffer::Iterator | DeserializeBitstring (std::bitset< 32 > *bitstring, Buffer::Iterator bIterator) |
Deserialize a bitstring. | |
Buffer::Iterator | DeserializeBitstring (std::bitset< 8 > *bitstring, Buffer::Iterator bIterator) |
Deserialize a bitstring. | |
template<int N> | |
Buffer::Iterator | DeserializeBitstring (std::bitset< N > *bitstring, Buffer::Iterator bIterator) |
Deserialize a bitstring. | |
Buffer::Iterator | DeserializeBoolean (bool *value, Buffer::Iterator bIterator) |
Deserialize a boolean. | |
Buffer::Iterator | DeserializeChoice (int numOptions, bool isExtensionMarkerPresent, int *selectedOption, Buffer::Iterator bIterator) |
Deserialize a Choice (set of options) | |
Buffer::Iterator | DeserializeEnum (int numElems, int *selectedElem, Buffer::Iterator bIterator) |
Deserialize an Enum. | |
Buffer::Iterator | DeserializeInteger (int *n, int nmin, int nmax, Buffer::Iterator bIterator) |
Deserialize an integer. | |
Buffer::Iterator | DeserializeNull (Buffer::Iterator bIterator) |
Deserialize nothing (null op) | |
Buffer::Iterator | DeserializeSequence (std::bitset< 0 > *optionalOrDefaultMask, bool isExtensionMarkerPresent, Buffer::Iterator bIterator) |
Deserialize a sequence. | |
Buffer::Iterator | DeserializeSequence (std::bitset< 1 > *optionalOrDefaultMask, bool isExtensionMarkerPresent, Buffer::Iterator bIterator) |
Deserialize a sequence. | |
Buffer::Iterator | DeserializeSequence (std::bitset< 10 > *optionalOrDefaultMask, bool isExtensionMarkerPresent, Buffer::Iterator bIterator) |
Deserialize a sequence. | |
Buffer::Iterator | DeserializeSequence (std::bitset< 11 > *optionalOrDefaultMask, bool isExtensionMarkerPresent, Buffer::Iterator bIterator) |
Deserialize a sequence. | |
Buffer::Iterator | DeserializeSequence (std::bitset< 2 > *optionalOrDefaultMask, bool isExtensionMarkerPresent, Buffer::Iterator bIterator) |
Deserialize a sequence. | |
Buffer::Iterator | DeserializeSequence (std::bitset< 3 > *optionalOrDefaultMask, bool isExtensionMarkerPresent, Buffer::Iterator bIterator) |
Deserialize a sequence. | |
Buffer::Iterator | DeserializeSequence (std::bitset< 4 > *optionalOrDefaultMask, bool isExtensionMarkerPresent, Buffer::Iterator bIterator) |
Deserialize a sequence. | |
Buffer::Iterator | DeserializeSequence (std::bitset< 5 > *optionalOrDefaultMask, bool isExtensionMarkerPresent, Buffer::Iterator bIterator) |
Deserialize a sequence. | |
Buffer::Iterator | DeserializeSequence (std::bitset< 6 > *optionalOrDefaultMask, bool isExtensionMarkerPresent, Buffer::Iterator bIterator) |
Deserialize a sequence. | |
Buffer::Iterator | DeserializeSequence (std::bitset< 7 > *optionalOrDefaultMask, bool isExtensionMarkerPresent, Buffer::Iterator bIterator) |
Deserialize a sequence. | |
Buffer::Iterator | DeserializeSequence (std::bitset< 9 > *optionalOrDefaultMask, bool isExtensionMarkerPresent, Buffer::Iterator bIterator) |
Deserialize a sequence. | |
template<int N> | |
Buffer::Iterator | DeserializeSequence (std::bitset< N > *optionalOrDefaultMask, bool isExtensionMarkerPresent, Buffer::Iterator bIterator) |
Deserialize a sequence. | |
Buffer::Iterator | DeserializeSequenceOf (int *numElems, int nMax, int nMin, Buffer::Iterator bIterator) |
Deserialize a Sequence. | |
void | FinalizeSerialization () const |
Finalizes an in progress serialization. | |
template<int N> | |
void | SerializeBitset (std::bitset< N > data) const |
Serialize a bitset. | |
void | SerializeBitstring (std::bitset< 1 > bitstring) const |
Serialize a bitstring. | |
void | SerializeBitstring (std::bitset< 10 > bitstring) const |
Serialize a bitstring. | |
void | SerializeBitstring (std::bitset< 16 > bitstring) const |
Serialize a bitstring. | |
void | SerializeBitstring (std::bitset< 2 > bitstring) const |
Serialize a bitstring. | |
void | SerializeBitstring (std::bitset< 27 > bitstring) const |
Serialize a bitstring. | |
void | SerializeBitstring (std::bitset< 28 > bitstring) const |
Serialize a bitstring. | |
void | SerializeBitstring (std::bitset< 32 > bitstring) const |
Serialize a bitstring. | |
void | SerializeBitstring (std::bitset< 8 > bitstring) const |
Serialize a bitstring. | |
template<int N> | |
void | SerializeBitstring (std::bitset< N > bitstring) const |
Serialize a bitstring. | |
void | SerializeBoolean (bool value) const |
Serialize a bool. | |
void | SerializeChoice (int numOptions, int selectedOption, bool isExtensionMarkerPresent) const |
Serialize a Choice (set of options) | |
void | SerializeEnum (int numElems, int selectedElem) const |
Serialize an Enum. | |
void | SerializeInteger (int n, int nmin, int nmax) const |
Serialize an Integer. | |
void | SerializeNull () const |
Serialize nothing (null op) | |
void | SerializeSequence (std::bitset< 0 > optionalOrDefaultMask, bool isExtensionMarkerPresent) const |
Serialize a sequence. | |
void | SerializeSequence (std::bitset< 1 > optionalOrDefaultMask, bool isExtensionMarkerPresent) const |
Serialize a sequence. | |
void | SerializeSequence (std::bitset< 10 > optionalOrDefaultMask, bool isExtensionMarkerPresent) const |
Serialize a sequence. | |
void | SerializeSequence (std::bitset< 11 > optionalOrDefaultMask, bool isExtensionMarkerPresent) const |
Serialize a sequence. | |
void | SerializeSequence (std::bitset< 2 > optionalOrDefaultMask, bool isExtensionMarkerPresent) const |
Serialize a sequence. | |
void | SerializeSequence (std::bitset< 3 > optionalOrDefaultMask, bool isExtensionMarkerPresent) const |
Serialize a sequence. | |
void | SerializeSequence (std::bitset< 4 > optionalOrDefaultMask, bool isExtensionMarkerPresent) const |
Serialize a sequence. | |
void | SerializeSequence (std::bitset< 5 > optionalOrDefaultMask, bool isExtensionMarkerPresent) const |
Serialize a sequence. | |
void | SerializeSequence (std::bitset< 6 > optionalOrDefaultMask, bool isExtensionMarkerPresent) const |
Serialize a sequence. | |
void | SerializeSequence (std::bitset< 7 > optionalOrDefaultMask, bool isExtensionMarkerPresent) const |
Serialize a sequence. | |
void | SerializeSequence (std::bitset< 9 > optionalOrDefaultMask, bool isExtensionMarkerPresent) const |
Serialize a sequence. | |
template<int N> | |
void | SerializeSequence (std::bitset< N > optionalOrDefaultMask, bool isExtensionMarkerPresent) const |
Serialize a sequence. | |
void | SerializeSequenceOf (int numElems, int nMax, int nMin) const |
Serialize a Sequence. | |
void | WriteOctet (uint8_t octet) const |
Function to write in m_serializationResult, after resizing its size. | |
Protected Member Functions inherited from ns3::ObjectBase | |
void | ConstructSelf (const AttributeConstructionList &attributes) |
Complete construction of ObjectBase; invoked by derived classes. | |
virtual void | NotifyConstructionCompleted () |
Notifier called once the ObjectBase is fully constructed. | |
Static Protected Member Functions inherited from ns3::RrcAsn1Header | |
static TypeId | GetTypeId () |
Get the type ID. | |
Protected Attributes inherited from ns3::RrcAsn1Header | |
int | m_messageType |
Stores RRC message type, according to 3GPP TS 36.331. | |
Protected Attributes inherited from ns3::Asn1Header | |
bool | m_isDataSerialized |
true if data is serialized | |
uint8_t | m_numSerializationPendingBits |
number of pending bits | |
uint8_t | m_serializationPendingBits |
pending bits | |
Buffer | m_serializationResult |
serialization result | |
Related Symbols inherited from ns3::ObjectBase | |
static TypeId | GetObjectIid () |
Ensure the TypeId for ObjectBase gets fully configured to anchor the inheritance tree properly. | |
This class manages the serialization/deserialization of RrcConnectionReconfiguration IE.
Definition at line 742 of file lte-rrc-header.h.
ns3::RrcConnectionReconfigurationHeader::RrcConnectionReconfigurationHeader | ( | ) |
Definition at line 5279 of file lte-rrc-header.cc.
|
override |
Definition at line 5283 of file lte-rrc-header.cc.
|
overridevirtual |
start | an iterator which points to where the header should read from. |
This method is used by Packet::RemoveHeader to re-create a header from the byte buffer of a packet. The data read is expected to match bit-for-bit the representation of this header in real networks.
Note that data is not actually removed from the buffer to which the iterator points. Both Packet::RemoveHeader() and Packet::PeekHeader() call Deserialize(), but only the RemoveHeader() has additional statements to remove the header bytes from the underlying buffer and associated metadata.
Implements ns3::RrcAsn1Header.
Definition at line 5416 of file lte-rrc-header.cc.
References ns3::LteRrcSap::MobilityControlInfo::carrierBandwidth, ns3::LteRrcSap::MobilityControlInfo::carrierFreq, ns3::Asn1Header::DeserializeBitstring(), ns3::Asn1Header::DeserializeChoice(), ns3::RrcDlDcchMessage::DeserializeDlDcchMessage(), ns3::Asn1Header::DeserializeEnum(), ns3::Asn1Header::DeserializeInteger(), ns3::RrcAsn1Header::DeserializeMeasConfig(), ns3::RrcAsn1Header::DeserializeNonCriticalExtensionConfig(), ns3::Asn1Header::DeserializeNull(), ns3::RrcAsn1Header::DeserializeRadioResourceConfigCommon(), ns3::RrcAsn1Header::DeserializeRadioResourceConfigDedicated(), ns3::Asn1Header::DeserializeSequence(), ns3::LteRrcSap::CarrierBandwidthEutra::dlBandwidth, ns3::LteRrcSap::CarrierFreqEutra::dlCarrierFreq, ns3::RrcAsn1Header::EnumToBandwidth(), ns3::Asn1Header::GetSerializedSize(), ns3::LteRrcSap::MobilityControlInfo::haveCarrierBandwidth, ns3::LteRrcSap::MobilityControlInfo::haveCarrierFreq, ns3::LteRrcSap::MobilityControlInfo::haveRachConfigDedicated, m_haveMeasConfig, m_haveMobilityControlInfo, m_haveNonCriticalExtension, m_haveRadioResourceConfigDedicated, m_measConfig, m_mobilityControlInfo, m_nonCriticalExtension, m_radioResourceConfigDedicated, m_rrcTransactionIdentifier, MAX_EARFCN, ns3::LteRrcSap::MobilityControlInfo::newUeIdentity, ns3::LteRrcSap::MobilityControlInfo::rachConfigDedicated, ns3::LteRrcSap::MobilityControlInfo::radioResourceConfigCommon, ns3::LteRrcSap::RachConfigDedicated::raPrachMaskIndex, ns3::LteRrcSap::RachConfigDedicated::raPreambleIndex, ns3::LteRrcSap::MobilityControlInfo::targetPhysCellId, ns3::LteRrcSap::CarrierBandwidthEutra::ulBandwidth, and ns3::LteRrcSap::CarrierFreqEutra::ulCarrierFreq.
std::list< LteRrcSap::DrbToAddMod > ns3::RrcConnectionReconfigurationHeader::GetDrbToAddModList | ( | ) | const |
Gets m_radioResourceConfigDedicated.drbToAddModList.
Definition at line 5950 of file lte-rrc-header.cc.
References ns3::LteRrcSap::RadioResourceConfigDedicated::drbToAddModList, and m_radioResourceConfigDedicated.
std::list< uint8_t > ns3::RrcConnectionReconfigurationHeader::GetDrbToReleaseList | ( | ) | const |
Gets m_radioResourceConfigDedicated.drbToReleaseList.
Definition at line 5956 of file lte-rrc-header.cc.
References ns3::LteRrcSap::RadioResourceConfigDedicated::drbToReleaseList, and m_radioResourceConfigDedicated.
bool ns3::RrcConnectionReconfigurationHeader::GetHaveMeasConfig | ( | ) | const |
Getter for m_haveMeasConfig.
Definition at line 5890 of file lte-rrc-header.cc.
References m_haveMeasConfig.
Referenced by RrcConnectionReconfigurationTestCase::DoRun().
bool ns3::RrcConnectionReconfigurationHeader::GetHaveMobilityControlInfo | ( | ) | const |
Getter for m_haveMobilityControlInfo.
Definition at line 5902 of file lte-rrc-header.cc.
References m_haveMobilityControlInfo.
Referenced by RrcConnectionReconfigurationTestCase::DoRun().
bool ns3::RrcConnectionReconfigurationHeader::GetHaveNonCriticalExtensionConfig | ( | ) | const |
Getter for m_haveNonCriticalExtension.
Definition at line 5926 of file lte-rrc-header.cc.
References m_haveNonCriticalExtension.
bool ns3::RrcConnectionReconfigurationHeader::GetHaveRadioResourceConfigDedicated | ( | ) | const |
Getter for m_haveRadioResourceConfigDedicated.
Definition at line 5914 of file lte-rrc-header.cc.
References m_haveRadioResourceConfigDedicated.
Referenced by RrcConnectionReconfigurationTestCase::DoRun().
LteRrcSap::MeasConfig ns3::RrcConnectionReconfigurationHeader::GetMeasConfig | ( | ) |
Getter for m_measConfig.
Definition at line 5896 of file lte-rrc-header.cc.
References m_measConfig.
LteRrcSap::RrcConnectionReconfiguration ns3::RrcConnectionReconfigurationHeader::GetMessage | ( | ) | const |
Returns a RrcConnectionReconfiguration IE from the values in the class attributes.
Definition at line 5866 of file lte-rrc-header.cc.
References m_haveMeasConfig, m_haveMobilityControlInfo, m_haveNonCriticalExtension, m_haveRadioResourceConfigDedicated, m_measConfig, m_mobilityControlInfo, m_nonCriticalExtension, m_radioResourceConfigDedicated, m_rrcTransactionIdentifier, and ns3::LteRrcSap::RrcConnectionReconfiguration::rrcTransactionIdentifier.
Referenced by ns3::LteEnbRrcProtocolReal::DoDecodeHandoverCommand(), and ns3::LteUeRrcProtocolReal::DoReceivePdcpSdu().
LteRrcSap::MobilityControlInfo ns3::RrcConnectionReconfigurationHeader::GetMobilityControlInfo | ( | ) |
Getter for m_mobilityControlInfo.
Definition at line 5908 of file lte-rrc-header.cc.
References m_mobilityControlInfo.
Referenced by RrcConnectionReconfigurationTestCase::DoRun().
LteRrcSap::NonCriticalExtensionConfiguration ns3::RrcConnectionReconfigurationHeader::GetNonCriticalExtensionConfig | ( | ) |
Getter for m_nonCriticalExtension.
Definition at line 5932 of file lte-rrc-header.cc.
References m_nonCriticalExtension.
LteRrcSap::PhysicalConfigDedicated ns3::RrcConnectionReconfigurationHeader::GetPhysicalConfigDedicated | ( | ) | const |
Gets m_radioResourceConfigDedicated.physicalConfigDedicated.
Definition at line 5962 of file lte-rrc-header.cc.
References m_radioResourceConfigDedicated, and ns3::LteRrcSap::RadioResourceConfigDedicated::physicalConfigDedicated.
LteRrcSap::RadioResourceConfigDedicated ns3::RrcConnectionReconfigurationHeader::GetRadioResourceConfigDedicated | ( | ) |
Getter for m_radioResourceConfigDedicated.
Definition at line 5920 of file lte-rrc-header.cc.
References m_radioResourceConfigDedicated.
Referenced by RrcConnectionReconfigurationTestCase::DoRun().
LteRrcSap::RadioResourceConfigDedicated ns3::RrcConnectionReconfigurationHeader::GetRadioResourceConfigDedicated | ( | ) | const |
Getter for m_radioResourceConfigDedicated.
uint8_t ns3::RrcConnectionReconfigurationHeader::GetRrcTransactionIdentifier | ( | ) | const |
Getter for m_rrcTransactionIdentifier.
Definition at line 5884 of file lte-rrc-header.cc.
References m_rrcTransactionIdentifier.
Referenced by RrcConnectionReconfigurationTestCase::DoRun().
std::list< LteRrcSap::SrbToAddMod > ns3::RrcConnectionReconfigurationHeader::GetSrbToAddModList | ( | ) | const |
Gets m_radioResourceConfigDedicated.srbToAddModList.
Definition at line 5944 of file lte-rrc-header.cc.
References m_radioResourceConfigDedicated, and ns3::LteRrcSap::RadioResourceConfigDedicated::srbToAddModList.
bool ns3::RrcConnectionReconfigurationHeader::HavePhysicalConfigDedicated | ( | ) | const |
Gets m_radioResourceConfigDedicated.havePhysicalConfigDedicated.
Definition at line 5938 of file lte-rrc-header.cc.
References ns3::LteRrcSap::RadioResourceConfigDedicated::havePhysicalConfigDedicated, and m_radioResourceConfigDedicated.
|
overridevirtual |
This function serializes class attributes to m_serializationResult local Buffer.
As ASN1 encoding produces a bitstream that does not have a fixed length, this function is needed to store the result, so its length can be retrieved with Header::GetSerializedSize() function. This method is pure virtual in this class (needs to be implemented in child classes) as the meaningful information elements are in the subclasses.
Implements ns3::RrcAsn1Header.
Definition at line 5288 of file lte-rrc-header.cc.
References ns3::RrcAsn1Header::BandwidthToEnum(), ns3::LteRrcSap::MobilityControlInfo::carrierBandwidth, ns3::LteRrcSap::MobilityControlInfo::carrierFreq, ns3::LteRrcSap::CarrierBandwidthEutra::dlBandwidth, ns3::LteRrcSap::CarrierFreqEutra::dlCarrierFreq, ns3::Asn1Header::FinalizeSerialization(), ns3::LteRrcSap::MobilityControlInfo::haveCarrierBandwidth, ns3::LteRrcSap::MobilityControlInfo::haveCarrierFreq, ns3::LteRrcSap::MobilityControlInfo::haveRachConfigDedicated, m_haveMeasConfig, m_haveMobilityControlInfo, m_haveNonCriticalExtension, m_haveRadioResourceConfigDedicated, m_measConfig, m_mobilityControlInfo, m_nonCriticalExtension, m_radioResourceConfigDedicated, m_rrcTransactionIdentifier, ns3::Asn1Header::m_serializationResult, MAX_EARFCN, ns3::LteRrcSap::MobilityControlInfo::newUeIdentity, ns3::LteRrcSap::MobilityControlInfo::rachConfigDedicated, ns3::LteRrcSap::MobilityControlInfo::radioResourceConfigCommon, ns3::LteRrcSap::RachConfigDedicated::raPrachMaskIndex, ns3::LteRrcSap::RachConfigDedicated::raPreambleIndex, ns3::Asn1Header::SerializeBitstring(), ns3::Asn1Header::SerializeChoice(), ns3::RrcDlDcchMessage::SerializeDlDcchMessage(), ns3::Asn1Header::SerializeEnum(), ns3::Asn1Header::SerializeInteger(), ns3::RrcAsn1Header::SerializeMeasConfig(), ns3::RrcAsn1Header::SerializeNonCriticalExtensionConfiguration(), ns3::RrcAsn1Header::SerializeRadioResourceConfigCommon(), ns3::RrcAsn1Header::SerializeRadioResourceConfigDedicated(), ns3::Asn1Header::SerializeSequence(), ns3::LteRrcSap::MobilityControlInfo::targetPhysCellId, ns3::LteRrcSap::CarrierBandwidthEutra::ulBandwidth, and ns3::LteRrcSap::CarrierFreqEutra::ulCarrierFreq.
|
overridevirtual |
This function prints the object, for debugging purposes.
os | The output stream to use (i.e. std::cout) |
Reimplemented from ns3::RrcAsn1Header.
Definition at line 5569 of file lte-rrc-header.cc.
References ns3::LteRrcSap::MobilityControlInfo::carrierBandwidth, ns3::LteRrcSap::MobilityControlInfo::carrierFreq, ns3::LteRrcSap::CarrierBandwidthEutra::dlBandwidth, ns3::LteRrcSap::CarrierFreqEutra::dlCarrierFreq, ns3::LteRrcSap::ReportConfigEutra::EVENT, ns3::LteRrcSap::ReportConfigEutra::EVENT_A3, ns3::LteRrcSap::ReportConfigEutra::EVENT_A5, ns3::LteRrcSap::QuantityConfig::filterCoefficientRSRP, ns3::LteRrcSap::QuantityConfig::filterCoefficientRSRQ, ns3::LteRrcSap::MeasGapConfig::gapOffsetChoice, ns3::LteRrcSap::MeasGapConfig::gapOffsetValue, ns3::LteRrcSap::MobilityControlInfo::haveCarrierBandwidth, ns3::LteRrcSap::MobilityControlInfo::haveCarrierFreq, ns3::LteRrcSap::MeasConfig::haveMeasGapConfig, ns3::LteRrcSap::MeasConfig::haveQuantityConfig, ns3::LteRrcSap::MobilityControlInfo::haveRachConfigDedicated, ns3::LteRrcSap::MeasConfig::haveSmeasure, ns3::LteRrcSap::MeasConfig::haveSpeedStatePars, m_haveMeasConfig, m_haveMobilityControlInfo, m_haveRadioResourceConfigDedicated, m_measConfig, m_mobilityControlInfo, m_radioResourceConfigDedicated, m_rrcTransactionIdentifier, ns3::LteRrcSap::MeasConfig::measGapConfig, ns3::LteRrcSap::MeasConfig::measIdToAddModList, ns3::LteRrcSap::MeasConfig::measIdToRemoveList, ns3::LteRrcSap::MeasConfig::measObjectToAddModList, ns3::LteRrcSap::MeasConfig::measObjectToRemoveList, ns3::LteRrcSap::SpeedStatePars::mobilityStateParameters, ns3::LteRrcSap::MobilityStateParameters::nCellChangeHigh, ns3::LteRrcSap::MobilityStateParameters::nCellChangeMedium, ns3::LteRrcSap::MobilityControlInfo::newUeIdentity, ns3::RrcAsn1Header::Print(), ns3::LteRrcSap::MeasConfig::quantityConfig, ns3::LteRrcSap::MobilityControlInfo::rachConfigDedicated, ns3::LteRrcSap::RachConfigDedicated::raPrachMaskIndex, ns3::LteRrcSap::RachConfigDedicated::raPreambleIndex, ns3::LteRrcSap::MeasConfig::reportConfigToAddModList, ns3::LteRrcSap::MeasConfig::reportConfigToRemoveList, ns3::LteRrcSap::SpeedStateScaleFactors::sfHigh, ns3::LteRrcSap::SpeedStateScaleFactors::sfMedium, ns3::LteRrcSap::MeasConfig::sMeasure, ns3::LteRrcSap::MeasConfig::speedStatePars, ns3::LteRrcSap::MobilityControlInfo::targetPhysCellId, ns3::LteRrcSap::MobilityStateParameters::tEvaluation, ns3::LteRrcSap::MobilityStateParameters::tHystNormal, ns3::LteRrcSap::SpeedStatePars::timeToTriggerSf, ns3::LteRrcSap::MeasGapConfig::type, ns3::LteRrcSap::SpeedStatePars::type, ns3::LteRrcSap::CarrierBandwidthEutra::ulBandwidth, and ns3::LteRrcSap::CarrierFreqEutra::ulCarrierFreq.
void ns3::RrcConnectionReconfigurationHeader::SetMessage | ( | LteRrcSap::RrcConnectionReconfiguration | msg | ) |
Receives a RrcConnectionReconfiguration IE and stores the contents into the class attributes.
msg | The information element to parse |
Definition at line 5850 of file lte-rrc-header.cc.
References ns3::LteRrcSap::RrcConnectionReconfiguration::haveMeasConfig, ns3::LteRrcSap::RrcConnectionReconfiguration::haveMobilityControlInfo, ns3::LteRrcSap::RrcConnectionReconfiguration::haveNonCriticalExtension, ns3::LteRrcSap::RrcConnectionReconfiguration::haveRadioResourceConfigDedicated, m_haveMeasConfig, m_haveMobilityControlInfo, m_haveNonCriticalExtension, m_haveRadioResourceConfigDedicated, ns3::Asn1Header::m_isDataSerialized, m_measConfig, m_mobilityControlInfo, m_nonCriticalExtension, m_radioResourceConfigDedicated, m_rrcTransactionIdentifier, ns3::LteRrcSap::RrcConnectionReconfiguration::measConfig, ns3::LteRrcSap::RrcConnectionReconfiguration::mobilityControlInfo, ns3::LteRrcSap::RrcConnectionReconfiguration::nonCriticalExtension, ns3::LteRrcSap::RrcConnectionReconfiguration::radioResourceConfigDedicated, and ns3::LteRrcSap::RrcConnectionReconfiguration::rrcTransactionIdentifier.
Referenced by ns3::LteEnbRrcProtocolReal::DoEncodeHandoverCommand(), RrcConnectionReconfigurationTestCase::DoRun(), and ns3::LteEnbRrcProtocolReal::DoSendRrcConnectionReconfiguration().
|
private |
have measure config?
Definition at line 857 of file lte-rrc-header.h.
Referenced by Deserialize(), GetHaveMeasConfig(), GetMessage(), PreSerialize(), Print(), and SetMessage().
|
private |
have mobility control info?
Definition at line 859 of file lte-rrc-header.h.
Referenced by Deserialize(), GetHaveMobilityControlInfo(), GetMessage(), PreSerialize(), Print(), and SetMessage().
|
private |
Have non-critical extension.
Definition at line 864 of file lte-rrc-header.h.
Referenced by Deserialize(), GetHaveNonCriticalExtensionConfig(), GetMessage(), PreSerialize(), and SetMessage().
|
private |
have radio resource config dedicated?
Definition at line 861 of file lte-rrc-header.h.
Referenced by Deserialize(), GetHaveRadioResourceConfigDedicated(), GetMessage(), PreSerialize(), Print(), and SetMessage().
|
private |
the measure config
Definition at line 858 of file lte-rrc-header.h.
Referenced by Deserialize(), GetMeasConfig(), GetMessage(), PreSerialize(), Print(), and SetMessage().
|
private |
the modility control info
Definition at line 860 of file lte-rrc-header.h.
Referenced by Deserialize(), GetMessage(), GetMobilityControlInfo(), PreSerialize(), Print(), and SetMessage().
|
private |
the non-critical extension
Definition at line 866 of file lte-rrc-header.h.
Referenced by Deserialize(), GetMessage(), GetNonCriticalExtensionConfig(), PreSerialize(), and SetMessage().
|
private |
the radio resource config dedicated
Definition at line 863 of file lte-rrc-header.h.
Referenced by Deserialize(), GetDrbToAddModList(), GetDrbToReleaseList(), GetMessage(), GetPhysicalConfigDedicated(), GetRadioResourceConfigDedicated(), GetSrbToAddModList(), HavePhysicalConfigDedicated(), PreSerialize(), Print(), and SetMessage().
|
private |
RRC transaction identifier.
Definition at line 856 of file lte-rrc-header.h.
Referenced by Deserialize(), GetMessage(), GetRrcTransactionIdentifier(), PreSerialize(), Print(), and SetMessage().