24 #include "ns3/address-utils.h"
25 #include "ns3/uinteger.h"
63 return "Management Message Type";
83 os <<
" management message type = " << (uint32_t)
m_type;
113 m_reqDlBurstProfile (0),
115 m_rangingAnomalies (0)
196 return 1 + 1 + 6 + 1;
228 m_powerLevelAdjust (0),
229 m_offsetFreqAdjust (0),
231 m_dlFreqOverride (0),
232 m_ulChnlIdOverride (0),
233 m_dlOperBurstProfile (0),
237 m_aasBdcastPermission (0),
239 m_initRangOppNumber (0),
444 <<
", initial ranging opportunity number = " << (uint32_t)
m_initRangOppNumber <<
", ranging subchannel = "
451 return 1 + 4 + 1 + 4 + 1 + 4 + 1 + 2 + 6 + 2 + 2 + 1 + 4 + 1 + 1;
503 : m_transactionId (0),
637 : m_transactionId (0),
638 m_confirmationCode (0),
777 : m_transactionId (0),
778 m_confirmationCode (0)
uint32_t GetSerializedSize(void) const
void SetMacAddress(Mac48Address macAddress)
Mac48Address m_macAddress
static TypeId GetTypeId(void)
uint8_t GetRangingAnomalies(void) const
NS_LOG_COMPONENT_DEFINE("MACMESSAGES")
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...
uint8_t GetRangSubchnl(void) const
void SetServiceFlow(ServiceFlow sf)
specify a service flow to be requested by this message
uint8_t m_confirmationCode
virtual TypeId GetInstanceTypeId(void) const
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
ServiceFlow GetServiceFlow(void) const
ServiceFlow m_serviceFlow
void ReadFrom(Buffer::Iterator &i, Ipv4Address &ad)
uint32_t GetSfid(void) const
uint16_t GetConfirmationCode(void) const
virtual uint32_t Deserialize(Buffer::Iterator start)
ServiceFlow GetServiceFlow(void) const
void WriteTo(Buffer::Iterator &i, Ipv4Address ad)
std::string GetName(void) const
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 metropoli...
iterator in a Buffer instance
uint16_t GetConfirmationCode(void) const
virtual TypeId GetInstanceTypeId(void) const
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)
NS_OBJECT_ENSURE_REGISTERED(AntennaModel)
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
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
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
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)
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
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 area...
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...
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
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