24 #include "ns3/address-utils.h" 
   25 #include "ns3/uinteger.h" 
   64   return "Management Message Type";
 
   71     TypeId (
"ns3::ManagementMessageType")
 
   73     .SetGroupName(
"Wimax")
 
   88   os << 
" management message type = " << (uint32_t) 
m_type;
 
  118     m_reqDlBurstProfile (0),
 
  120     m_rangingAnomalies (0)
 
  175     .SetGroupName(
"Wimax")
 
  176     .AddConstructor<
RngReq> ()
 
  205   return 1 + 1 + 6 + 1;
 
  237     m_powerLevelAdjust (0),
 
  238     m_offsetFreqAdjust (0),
 
  240     m_dlFreqOverride (0),
 
  241     m_ulChnlIdOverride (0),
 
  242     m_dlOperBurstProfile (0),
 
  246     m_aasBdcastPermission (0),
 
  248     m_initRangOppNumber (0),
 
  436     .SetGroupName(
"Wimax")
 
  437     .AddConstructor<
RngRsp> ()
 
  457      << 
", initial ranging opportunity number = " << (uint32_t) 
m_initRangOppNumber << 
", ranging subchannel = " 
  464   return 1 + 4 + 1 + 4 + 1 + 4 + 1 + 2 + 6 + 2 + 2 + 1 + 4 + 1 + 1;
 
  516   : m_transactionId (0),
 
  581     .SetGroupName(
"Wimax")
 
  582     .AddConstructor<
DsaReq> ()
 
  644   : m_transactionId (0),
 
  645     m_confirmationCode (0),
 
  726     .SetGroupName(
"Wimax")
 
  727     .AddConstructor<
DsaRsp> ()
 
  780   : m_transactionId (0),
 
  781     m_confirmationCode (0)
 
  824     .SetGroupName(
"Wimax")
 
  825     .AddConstructor<
DsaAck> ()
 
uint32_t GetSerializedSize(void) const 
 
This class implements the DSA-RSP message described by "IEEE Standard for   Local and metropolitan ar...
 
void SetMacAddress(Mac48Address macAddress)
Set MAC address field. 
 
Mac48Address m_macAddress
MAC address. 
 
static TypeId GetTypeId(void)
Get the type ID. 
 
uint8_t GetRangingAnomalies(void) const 
Get ranging anomalies field. 
 
void SetReqDlBurstProfile(uint8_t reqDlBurstProfile)
Set request DL burst profile field. 
 
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...
 
This class implements the DSA-ACK message described by "IEEE Standard for Local and metropolitan area...
 
uint8_t GetRangSubchnl(void) const 
 
void SetServiceFlow(ServiceFlow sf)
specify a service flow to be requested by this message 
 
This class implements the ranging response message described by "IEEE Standard for Local and metropol...
 
uint8_t m_reserved
changed as per the amendment 802.16e-2005 
 
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system. 
 
uint8_t m_confirmationCode
confirmation code 
 
Mac Management messages Section 6.3.2.3 MAC Management messages page 42, Table 14 page 43...
 
virtual TypeId GetInstanceTypeId(void) const 
Get the most derived TypeId for this Object. 
 
uint8_t GetReqDlBurstProfile(void) const 
Get request DL burst profile field. 
 
void SetMacAddress(Mac48Address macAddress)
set the MAC address 
 
void SetServiceFlow(ServiceFlow sf)
specify a service flow to be requested by this message 
 
uint16_t m_transactionId
transaction ID 
 
Mac48Address m_macAddress
MAC address. 
 
virtual TypeId GetInstanceTypeId(void) const 
Get the most derived TypeId for this Object. 
 
ServiceFlow GetServiceFlow(void) const 
 
ServiceFlow m_serviceFlow
service flow 
 
void ReadFrom(Buffer::Iterator &i, Ipv4Address &ad)
Read an Ipv4Address from a Buffer. 
 
uint32_t GetSfid(void) const 
 
uint16_t GetConfirmationCode(void) const 
Get confirmation code field. 
 
This class implements the ranging request message described by "IEEE Standard for Local and metropoli...
 
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 
Get MAC address field. 
 
uint8_t m_confirmationCode
confirmation code 
 
uint32_t GetSfid(void) const 
 
uint8_t m_powerLevelAdjust
Specifies the relative change in transmission power level that the SS is to make in order that transm...
 
std::string GetName(void) const 
 
uint32_t GetDlFreqOverride(void) const 
 
uint32_t GetSerializedSize(void) const 
 
void SetDlOperBurstProfile(uint16_t dlOperBurstProfile)
set the DL oper burst profile 
 
uint32_t Deserialize(Buffer::Iterator start)
 
uint8_t GetType(void) const 
Get type field. 
 
uint8_t GetInitRangOppNumber(void) const 
 
This class implements the Type-Len-Value structure channel encodings as described by "IEEE Standard f...
 
uint8_t m_reserved
changed as per the amendment 802.16e-2005 
 
uint32_t Deserialize(Buffer::Iterator start)
 
uint32_t GetDistanceFrom(Iterator const &o) const 
 
uint32_t GetTimingAdjust(void) const 
 
iterator in a Buffer instance 
 
uint16_t GetConfirmationCode(void) const 
 
virtual TypeId GetInstanceTypeId(void) const 
Get the most derived TypeId for this Object. 
 
uint16_t m_transactionId
transaction ID 
 
static TypeId GetTypeId(void)
Get the type ID. 
 
virtual void Serialize(Buffer::Iterator start) const 
 
void SetTransactionId(uint16_t transactionId)
set the transaction ID 
 
void SetRangStatus(uint8_t rangStatus)
set the range status. 
 
std::string GetName(void) const 
Get name field. 
 
uint8_t m_initRangOppNumber
Initial Ranging opportunity (1–255) in which the associated RNG_REQ message was detected by the BS...
 
void Serialize(Buffer::Iterator start) const 
 
void SetAasBdcastPermission(uint8_t aasBdcastPermission)
set AAS broadcast permission. 
 
uint8_t m_rangingAnomalies
ranging anomalies 
 
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 
Print debug function. 
 
virtual TypeId GetInstanceTypeId(void) const 
Get the most derived TypeId for this Object. 
 
uint32_t m_timingAdjust
Tx timing offset adjustment (signed 32-bit). 
 
uint32_t m_frameNumber
Frame number where the associated RNG_REQ message was detected by the BS. 
 
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)
Get the type ID. 
 
uint8_t m_rangSubchnl
Used to indicate the OFDM subchannel reference that was used to transmit the initial ranging message ...
 
void SetCid(Cid cid)
set the connection identifier 
 
uint8_t GetRangStatus(void) const 
 
uint8_t m_rangStatus
range status. 
 
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
This parameter is sent in response to the RNG-REQ Requested Downlink Burst Profile parameter...
 
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)
Get the type ID. 
 
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)
set initial range opp number. 
 
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)
set the transaction ID 
 
void SetConfirmationCode(uint16_t confirmationCode)
set the confirmation code 
 
uint8_t GetPowerLevelAdjust(void) const 
 
void Print(std::ostream &os) const 
 
uint8_t m_aasBdcastPermission
AAS broadcast permission. 
 
void Print(std::ostream &os) const 
 
uint32_t GetSerializedSize(void) const 
 
std::string GetName(void) const 
 
uint16_t m_transactionId
transaction ID 
 
void SetRangSubchnl(uint8_t rangSubchnl)
set range sub channel. 
 
void SetFrameNumber(uint32_t frameNumber)
set frame number. 
 
void SetSfid(uint32_t sfid)
set the service flow identifier 
 
void SetTransactionId(uint16_t transactionId)
Set transaction ID field. 
 
void WriteU8(uint8_t data)
 
void SetPrimaryCid(Cid primaryCid)
set primary CID. 
 
uint8_t m_ulChnlIdOverride
Licensed bands: The identifier of the uplink channel with which the SS is to redo initial ranging (no...
 
void SetBasicCid(Cid basicCid)
set basic CID. 
 
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
request DL burst profile 
 
uint16_t GetTransactionId(void) const 
 
static TypeId GetTypeId(void)
Get the type ID. 
 
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)
Set type field. 
 
static TypeId GetTypeId(void)
Register this type. 
 
uint16_t GetIdentifier(void) const 
 
uint32_t m_dlFreqOverride
Center frequency, in kHz, of new downlink channel where the SS should redo initial ranging...
 
Tlv ToTlv(void) const 
creates a TLV from this service flow 
 
void SetCid(Cid cid)
set the connection identifier 
 
This class implements the DSA-REQ message described by "IEEE Standard for Local and metropolitan area...
 
void WriteU32(uint32_t data)
 
Cid m_primaryCid
primary CID 
 
void Serialize(Buffer::Iterator start) const 
 
uint32_t m_offsetFreqAdjust
Specifies the relative change in transmission frequency that the SS is to make in order to better mat...
 
a unique identifier for an interface. 
 
ServiceFlow m_serviceFlow
service flow 
 
TypeId SetParent(TypeId tid)
Set the parent TypeId. 
 
std::string GetName(void) const 
Get name field. 
 
void Serialize(Buffer::Iterator start) const 
 
uint16_t GetTransactionId(void) const 
Get transaction ID field. 
 
void Print(std::ostream &os) const 
 
virtual TypeId GetInstanceTypeId(void) const 
Get the most derived TypeId for this Object. 
 
void SetRangingAnomalies(uint8_t rangingAnomalies)
Set ranging anomalies field. 
 
void SetConfirmationCode(uint16_t confirmationCode)
Set confirmation code field. 
 
void Serialize(Buffer::Iterator start) const