24 #include "ns3/address-utils.h"
25 #include "ns3/uinteger.h"
64 return "Management Message Type";
84 os <<
" management message type = " << (uint32_t)
m_type;
114 m_reqDlBurstProfile (0),
116 m_rangingAnomalies (0)
197 return 1 + 1 + 6 + 1;
229 m_powerLevelAdjust (0),
230 m_offsetFreqAdjust (0),
232 m_dlFreqOverride (0),
233 m_ulChnlIdOverride (0),
234 m_dlOperBurstProfile (0),
238 m_aasBdcastPermission (0),
240 m_initRangOppNumber (0),
445 <<
", initial ranging opportunity number = " << (uint32_t)
m_initRangOppNumber <<
", ranging subchannel = "
452 return 1 + 4 + 1 + 4 + 1 + 4 + 1 + 2 + 6 + 2 + 2 + 1 + 4 + 1 + 1;
504 : m_transactionId (0),
628 : m_transactionId (0),
629 m_confirmationCode (0),
760 : m_transactionId (0),
761 m_confirmationCode (0)
uint32_t GetSerializedSize(void) const
Introspection did not find any typical Config paths.
void SetMacAddress(Mac48Address macAddress)
Mac48Address m_macAddress
static TypeId GetTypeId(void)
uint8_t GetRangingAnomalies(void) const
void SetReqDlBurstProfile(uint8_t reqDlBurstProfile)
void Print(std::ostream &os) const
void SetPowerLevelAdjust(uint8_t powerLevelAdjust)
set the relative change in transmission power level that the SS should make in order that transmissio...
Introspection did not find any typical Config paths.
uint8_t GetRangSubchnl(void) const
void SetServiceFlow(ServiceFlow sf)
specify a service flow to be requested by this message
Introspection did not find any typical Config paths.
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
uint8_t m_confirmationCode
Introspection did not find any typical Config paths.
virtual TypeId GetInstanceTypeId(void) const
Get the most derived TypeId for this Object.
uint8_t GetReqDlBurstProfile(void) const
void SetMacAddress(Mac48Address macAddress)
void SetServiceFlow(ServiceFlow sf)
specify a service flow to be requested by this message
Mac48Address m_macAddress
virtual TypeId GetInstanceTypeId(void) const
Get the most derived TypeId for this Object.
ServiceFlow GetServiceFlow(void) const
ServiceFlow m_serviceFlow
void ReadFrom(Buffer::Iterator &i, Ipv4Address &ad)
Read an Ipv4Address from a Buffer.
uint32_t GetSfid(void) const
uint16_t GetConfirmationCode(void) const
Introspection did not find any typical Config paths.
virtual uint32_t Deserialize(Buffer::Iterator start)
ServiceFlow GetServiceFlow(void) const
void WriteTo(Buffer::Iterator &i, Ipv4Address ad)
Write an Ipv4Address to a Buffer.
std::string GetName(void) const
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
Mac48Address GetMacAddress(void) const
uint8_t m_confirmationCode
uint32_t GetSfid(void) const
uint8_t m_powerLevelAdjust
std::string GetName(void) const
uint32_t GetDlFreqOverride(void) const
uint32_t GetSerializedSize(void) const
void SetDlOperBurstProfile(uint16_t dlOperBurstProfile)
uint32_t Deserialize(Buffer::Iterator start)
uint8_t GetType(void) const
uint8_t GetInitRangOppNumber(void) const
This class implements the Type-Len-Value structure channel encodings as described by "IEEE Standard f...
uint32_t Deserialize(Buffer::Iterator start)
uint32_t GetDistanceFrom(Iterator const &o) const
uint32_t GetTimingAdjust(void) const
DsaReq()
This class implements the ranging request message described by "IEEE Standard for Local and metropo...
iterator in a Buffer instance
uint16_t GetConfirmationCode(void) const
virtual TypeId GetInstanceTypeId(void) const
Get the most derived TypeId for this Object.
static TypeId GetTypeId(void)
virtual void Serialize(Buffer::Iterator start) const
void SetTransactionId(uint16_t transactionId)
void SetRangStatus(uint8_t rangStatus)
std::string GetName(void) const
uint8_t m_initRangOppNumber
void Serialize(Buffer::Iterator start) const
void SetAasBdcastPermission(uint8_t aasBdcastPermission)
uint8_t m_rangingAnomalies
uint32_t Deserialize(Buffer::Iterator start)
uint16_t GetDlOperBurstProfile(void) const
void WriteU16(uint16_t data)
uint32_t Deserialize(Buffer::Iterator start)
uint32_t Deserialize(Buffer::Iterator start)
Cid GetBasicCid(void) const
void SetTimingAdjust(uint32_t timingAdjust)
set the Tx timing offset adjustment (signed 32-bit).
void Print(std::ostream &os) const
void PrintDebug(void) const
virtual TypeId GetInstanceTypeId(void) const
Get the most derived TypeId for this Object.
ManagementMessageType(void)
uint32_t GetSerializedSize(void) const
void Print(std::ostream &os) const
void SetUlChnlIdOverride(uint8_t ulChnlIdOverride)
set the identifier of the uplink channel with which the SS is to redo initial ranging ...
static TypeId GetTypeId(void)
void SetCid(Cid cid)
set the connection identifier
uint8_t GetRangStatus(void) const
uint8_t GetAasBdcastPermission(void) const
Every class exported by the ns3 library is enclosed in the ns3 namespace.
uint32_t GetFrameNumber(void) const
void Serialize(Buffer::Iterator start) const
uint16_t m_dlOperBurstProfile
void SetDlFreqOverride(uint32_t dlFreqOverride)
set the Center frequency, in kHz, of new downlink channel where the SS should redo initial ranging...
static TypeId GetTypeId(void)
virtual uint32_t GetSerializedSize(void) const
Mac48Address GetMacAddress(void) const
void Serialize(Buffer::Iterator start) const
This class implements service flows as described by the IEEE-802.16 standard.
void SetInitRangOppNumber(uint8_t initRangOppNumber)
std::string GetName(void) const
virtual ~ManagementMessageType(void)
void SetOffsetFreqAdjust(uint32_t offsetFreqAdjust)
set the relative change in transmission frequency that the SS should take in order to better match th...
void SetTransactionId(uint16_t transactionId)
void SetConfirmationCode(uint16_t confirmationCode)
uint8_t GetPowerLevelAdjust(void) const
void Print(std::ostream &os) const
uint8_t m_aasBdcastPermission
void Print(std::ostream &os) const
uint32_t GetSerializedSize(void) const
std::string GetName(void) const
void SetRangSubchnl(uint8_t rangSubchnl)
RngReq(void)
This class implements the DSA-REQ message described by "IEEE Standard for Local and metropolitan area...
void SetFrameNumber(uint32_t frameNumber)
void SetSfid(uint32_t sfid)
set the service flow identifier
void SetTransactionId(uint16_t transactionId)
void WriteU8(uint8_t data)
void SetPrimaryCid(Cid primaryCid)
uint8_t m_ulChnlIdOverride
void SetBasicCid(Cid basicCid)
uint16_t GetTransactionId(void) const
uint32_t GetSerializedSize(void) const
#define NS_LOG_DEBUG(msg)
Use NS_LOG to output a message of level LOG_DEBUG.
uint8_t m_reqDlBurstProfile
uint16_t GetTransactionId(void) const
static TypeId GetTypeId(void)
uint32_t GetSerializedSize(void) const
Cid GetPrimaryCid(void) const
void SetSfid(uint32_t sfid)
set the service flow identifier
uint32_t GetOffsetFreqAdjust(void) const
uint8_t GetUlChnlIdOverride(void) const
uint32_t Deserialize(Buffer::Iterator start)
virtual TypeId GetInstanceTypeId(void) const
Get the most derived TypeId for this Object.
void SetType(uint8_t type)
static TypeId GetTypeId(void)
uint16_t GetIdentifier(void) const
uint32_t m_dlFreqOverride
Tlv ToTlv(void) const
creates a TLV from this service flow
DsaRsp(void)
This class implements the DSA-RSP message described by "IEEE Standard for Local and metropolitan ar...
void SetCid(Cid cid)
set the connection identifier
RngRsp(void)
This class implements the ranging response message described by "IEEE Standard for Local and metropol...
Introspection did not find any typical Config paths.
void WriteU32(uint32_t data)
void Serialize(Buffer::Iterator start) const
uint32_t m_offsetFreqAdjust
a unique identifier for an interface.
ServiceFlow m_serviceFlow
TypeId SetParent(TypeId tid)
std::string GetName(void) const
void Serialize(Buffer::Iterator start) const
uint16_t GetTransactionId(void) const
void Print(std::ostream &os) const
virtual TypeId GetInstanceTypeId(void) const
Get the most derived TypeId for this Object.
void SetRangingAnomalies(uint8_t rangingAnomalies)
void SetConfirmationCode(uint16_t confirmationCode)
DsaAck(void)
This class implements the DSA-ACK message described by "IEEE Standard for Local and metropolitan area...
void Serialize(Buffer::Iterator start) const