30 #ifndef MANAGEMENT_MESSAGE_TYPE_H
31 #define MANAGEMENT_MESSAGE_TYPE_H
34 #include "ns3/header.h"
51 MESSAGE_TYPE_DL_MAP = 2,
52 MESSAGE_TYPE_UL_MAP = 3,
53 MESSAGE_TYPE_RNG_REQ = 4,
54 MESSAGE_TYPE_RNG_RSP = 5,
55 MESSAGE_TYPE_REG_REQ = 6,
56 MESSAGE_TYPE_REG_RSP = 7,
57 MESSAGE_TYPE_DSA_REQ = 11,
58 MESSAGE_TYPE_DSA_RSP = 12,
59 MESSAGE_TYPE_DSA_ACK = 13
65 void SetType (uint8_t type);
66 uint8_t GetType (
void)
const;
68 std::string GetName (
void)
const;
69 static TypeId GetTypeId (
void);
71 void Print (std::ostream &os)
const;
90 #include "ns3/header.h"
91 #include "ns3/mac48-address.h"
92 #include "service-flow.h"
129 void SetRangStatus (uint8_t rangStatus);
140 void SetDlOperBurstProfile (uint16_t dlOperBurstProfile);
143 void SetBasicCid (
Cid basicCid);
144 void SetPrimaryCid (
Cid primaryCid);
146 void SetAasBdcastPermission (uint8_t aasBdcastPermission);
147 void SetFrameNumber (uint32_t frameNumber);
148 void SetInitRangOppNumber (uint8_t initRangOppNumber);
149 void SetRangSubchnl (uint8_t rangSubchnl);
167 uint8_t GetRangStatus (
void)
const;
181 Cid GetBasicCid (
void)
const;
182 Cid GetPrimaryCid (
void)
const;
183 uint8_t GetAasBdcastPermission (
void)
const;
184 uint32_t GetFrameNumber (
void)
const;
185 uint8_t GetInitRangOppNumber (
void)
const;
186 uint8_t GetRangSubchnl (
void)
const;
188 std::string GetName (
void)
const;
189 static TypeId GetTypeId (
void);
191 void Print (std::ostream &os)
const;
202 uint32_t m_timingAdjust;
208 uint8_t m_powerLevelAdjust;
212 uint32_t m_offsetFreqAdjust;
213 uint8_t m_rangStatus;
216 uint32_t m_dlFreqOverride;
220 uint8_t m_ulChnlIdOverride;
225 uint16_t m_dlOperBurstProfile;
230 uint8_t m_aasBdcastPermission;
234 uint32_t m_frameNumber;
238 uint8_t m_initRangOppNumber;
242 uint8_t m_rangSubchnl;
255 #include "ns3/header.h"
256 #include "ns3/buffer.h"
258 #include "service-flow.h"
274 void SetTransactionId (uint16_t transactionId);
294 uint16_t GetTransactionId (
void)
const;
303 std::string GetName (
void)
const;
304 static TypeId GetTypeId (
void);
306 void Print (std::ostream &os)
const;
312 uint16_t m_transactionId;
329 #include "ns3/header.h"
330 #include "ns3/buffer.h"
347 void SetTransactionId (uint16_t transactionId);
348 uint16_t GetTransactionId (
void)
const;
350 void SetConfirmationCode (uint16_t confirmationCode);
351 uint16_t GetConfirmationCode (
void)
const;
380 std::string GetName (
void)
const;
381 static TypeId GetTypeId (
void);
383 void Print (std::ostream &os)
const;
388 uint16_t m_transactionId;
389 uint8_t m_confirmationCode;
407 #include "ns3/header.h"
408 #include "ns3/buffer.h"
424 void SetTransactionId (uint16_t transactionId);
425 uint16_t GetTransactionId (
void)
const;
427 void SetConfirmationCode (uint16_t confirmationCode);
428 uint16_t GetConfirmationCode (
void)
const;
430 std::string GetName (
void)
const;
431 static TypeId GetTypeId (
void);
433 void Print (std::ostream &os)
const;
438 uint16_t m_transactionId;
439 uint8_t m_confirmationCode;
452 #include "ns3/header.h"
453 #include "ns3/mac48-address.h"
454 #include "service-flow.h"
470 void SetReqDlBurstProfile (uint8_t reqDlBurstProfile);
472 void SetRangingAnomalies (uint8_t rangingAnomalies);
474 uint8_t GetReqDlBurstProfile (
void)
const;
476 uint8_t GetRangingAnomalies (
void)
const;
478 std::string GetName (
void)
const;
479 static TypeId GetTypeId (
void);
481 void Print (std::ostream &os)
const;
482 void PrintDebug (
void)
const;
490 uint8_t m_reqDlBurstProfile;
492 uint8_t m_rangingAnomalies;
uint32_t GetSerializedSize(void) const
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...
void SetServiceFlow(ServiceFlow sf)
specify a service flow to be requested by this message
virtual TypeId GetInstanceTypeId(void) const
void SetServiceFlow(ServiceFlow sf)
specify a service flow to be requested by this message
virtual TypeId GetInstanceTypeId(void) const
ServiceFlow GetServiceFlow(void) const
uint32_t GetSfid(void) const
ServiceFlow GetServiceFlow(void) const
uint32_t GetSfid(void) const
uint32_t GetDlFreqOverride(void) const
uint32_t GetSerializedSize(void) const
uint32_t Deserialize(Buffer::Iterator start)
uint32_t Deserialize(Buffer::Iterator start)
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
virtual TypeId GetInstanceTypeId(void) const
void Serialize(Buffer::Iterator start) const
uint32_t Deserialize(Buffer::Iterator start)
uint16_t GetDlOperBurstProfile(void) const
uint32_t Deserialize(Buffer::Iterator start)
uint32_t Deserialize(Buffer::Iterator start)
void SetTimingAdjust(uint32_t timingAdjust)
set the Tx timing offset adjustment (signed 32-bit).
void Print(std::ostream &os) const
virtual TypeId GetInstanceTypeId(void) const
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 ...
void SetCid(Cid cid)
set the connection identifier
void Serialize(Buffer::Iterator start) const
void SetDlFreqOverride(uint32_t dlFreqOverride)
set the Center frequency, in kHz, of new downlink channel where the SS should redo initial ranging...
void Serialize(Buffer::Iterator start) const
void SetOffsetFreqAdjust(uint32_t offsetFreqAdjust)
set the relative change in transmission frequency that the SS should take in order to better match th...
uint8_t GetPowerLevelAdjust(void) const
void Print(std::ostream &os) const
void Print(std::ostream &os) const
uint32_t GetSerializedSize(void) const
RngReq(void)
This class implements the DSA-REQ message described by "IEEE Standard for Local and metropolitan area...
void SetSfid(uint32_t sfid)
set the service flow identifier
uint32_t GetSerializedSize(void) const
uint32_t GetSerializedSize(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
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 Serialize(Buffer::Iterator start) const
a unique identifier for an interface.
void Serialize(Buffer::Iterator start) const
void Print(std::ostream &os) const
virtual TypeId GetInstanceTypeId(void) const
DsaAck(void)
This class implements the DSA-ACK message described by "IEEE Standard for Local and metropolitan area...
void Serialize(Buffer::Iterator start) const