Introspection did not find any typical Config paths. More...
#include <mac-messages.h>
Public Member Functions | |
RngRsp (void) | |
This class implements the ranging response message described by "IEEE Standard for
Local and metropolitan area networks Part 16: Air Interface for Fixed Broadband Wireless Access Systems" 6.3.2.3.6 Ranging response (RNG-RSP) message, page 50. More... | |
virtual | ~RngRsp (void) |
uint32_t | Deserialize (Buffer::Iterator start) |
uint8_t | GetAasBdcastPermission (void) const |
Cid | GetBasicCid (void) const |
uint32_t | GetDlFreqOverride (void) const |
uint16_t | GetDlOperBurstProfile (void) const |
uint32_t | GetFrameNumber (void) const |
uint8_t | GetInitRangOppNumber (void) const |
virtual TypeId | GetInstanceTypeId (void) const |
Get the most derived TypeId for this Object. More... | |
Mac48Address | GetMacAddress (void) const |
std::string | GetName (void) const |
uint32_t | GetOffsetFreqAdjust (void) const |
uint8_t | GetPowerLevelAdjust (void) const |
Cid | GetPrimaryCid (void) const |
uint8_t | GetRangStatus (void) const |
uint8_t | GetRangSubchnl (void) const |
uint32_t | GetSerializedSize (void) const |
uint32_t | GetTimingAdjust (void) const |
uint8_t | GetUlChnlIdOverride (void) const |
void | Print (std::ostream &os) const |
void | Serialize (Buffer::Iterator start) const |
void | SetAasBdcastPermission (uint8_t aasBdcastPermission) |
void | SetBasicCid (Cid basicCid) |
void | SetDlFreqOverride (uint32_t dlFreqOverride) |
set the Center frequency, in kHz, of new downlink channel where the SS should redo initial ranging. More... | |
void | SetDlOperBurstProfile (uint16_t dlOperBurstProfile) |
void | SetFrameNumber (uint32_t frameNumber) |
void | SetInitRangOppNumber (uint8_t initRangOppNumber) |
void | SetMacAddress (Mac48Address macAddress) |
void | SetOffsetFreqAdjust (uint32_t offsetFreqAdjust) |
set the relative change in transmission frequency that the SS should take in order to better match the BS. More... | |
void | SetPowerLevelAdjust (uint8_t powerLevelAdjust) |
set the relative change in transmission power level that the SS should make in order that transmissions arrive at the BS at the desired power. More... | |
void | SetPrimaryCid (Cid primaryCid) |
void | SetRangStatus (uint8_t rangStatus) |
void | SetRangSubchnl (uint8_t rangSubchnl) |
void | SetTimingAdjust (uint32_t timingAdjust) |
set the Tx timing offset adjustment (signed 32-bit). More... | |
void | SetUlChnlIdOverride (uint8_t ulChnlIdOverride) |
set the identifier of the uplink channel with which the SS is to redo initial ranging More... | |
![]() | |
virtual | ~Header () |
![]() | |
virtual | ~ObjectBase () |
Virtual destructor. More... | |
void | GetAttribute (std::string name, AttributeValue &value) const |
Get the value of an attribute, raising fatal errors if unsuccessful. More... | |
bool | GetAttributeFailSafe (std::string name, AttributeValue &value) const |
Get the value of an attribute without raising erros. More... | |
void | SetAttribute (std::string name, const AttributeValue &value) |
Set a single attribute, raising fatal errors if unsuccessful. More... | |
bool | SetAttributeFailSafe (std::string name, const AttributeValue &value) |
Set a single attribute without raising errors. More... | |
bool | TraceConnect (std::string name, std::string context, const CallbackBase &cb) |
Connect a TraceSource to a Callback with a context. More... | |
bool | TraceConnectWithoutContext (std::string name, const CallbackBase &cb) |
Connect a TraceSource to a Callback without a context. More... | |
bool | TraceDisconnect (std::string name, std::string context, const CallbackBase &cb) |
Disconnect from a TraceSource a Callback previously connected with a context. More... | |
bool | TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb) |
Disconnect from a TraceSource a Callback previously connected without a context. More... | |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
![]() | |
static TypeId | GetTypeId (void) |
Get the type ID. More... | |
![]() | |
static TypeId | GetTypeId (void) |
Get the type ID. More... | |
![]() | |
static TypeId | GetTypeId (void) |
Get the type ID. More... | |
Private Attributes | |
uint8_t | m_aasBdcastPermission |
Cid | m_basicCid |
uint32_t | m_dlFreqOverride |
uint16_t | m_dlOperBurstProfile |
uint32_t | m_frameNumber |
uint8_t | m_initRangOppNumber |
Mac48Address | m_macAddress |
uint32_t | m_offsetFreqAdjust |
uint8_t | m_powerLevelAdjust |
Cid | m_primaryCid |
uint8_t | m_rangStatus |
uint8_t | m_rangSubchnl |
uint8_t | m_reserved |
uint32_t | m_timingAdjust |
uint8_t | m_ulChnlIdOverride |
Additional Inherited Members | |
![]() | |
void | ConstructSelf (const AttributeConstructionList &attributes) |
Complete construction of ObjectBase; invoked by derived classes. More... | |
virtual void | NotifyConstructionCompleted (void) |
Notifier called once the ObjectBase is fully constructed. More... | |
![]() | |
static TypeId | GetObjectIid (void) |
Ensure the TypeId for ObjectBase gets fully configured to anchor the inheritance tree properly. More... | |
Introspection did not find any typical Config paths.
No Attributes are defined for this type.
No TraceSources are defined for this type.
Size of this type is 56 bytes (on a 64-bit architecture).
Definition at line 97 of file mac-messages.h.
ns3::RngRsp::RngRsp | ( | void | ) |
This class implements the ranging response message described by "IEEE Standard for Local and metropolitan area networks Part 16: Air Interface for Fixed Broadband Wireless Access Systems" 6.3.2.3.6 Ranging response (RNG-RSP) message, page 50.
Definition at line 226 of file mac-messages.cc.
|
virtual |
Definition at line 245 of file mac-messages.cc.
|
virtual |
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::Header.
Definition at line 477 of file mac-messages.cc.
References ns3::Buffer::Iterator::GetDistanceFrom(), m_aasBdcastPermission, m_basicCid, m_dlFreqOverride, m_dlOperBurstProfile, m_frameNumber, m_initRangOppNumber, m_macAddress, m_offsetFreqAdjust, m_powerLevelAdjust, m_primaryCid, m_rangStatus, m_rangSubchnl, m_reserved, m_timingAdjust, m_ulChnlIdOverride, ns3::ReadFrom(), ns3::Buffer::Iterator::ReadU16(), ns3::Buffer::Iterator::ReadU32(), ns3::Buffer::Iterator::ReadU8(), and visualizer.core::start().
uint8_t ns3::RngRsp::GetAasBdcastPermission | ( | void | ) | const |
Definition at line 394 of file mac-messages.cc.
References m_aasBdcastPermission.
Cid ns3::RngRsp::GetBasicCid | ( | void | ) | const |
Definition at line 382 of file mac-messages.cc.
References m_basicCid.
Referenced by ns3::SSLinkManager::PerformRanging().
uint32_t ns3::RngRsp::GetDlFreqOverride | ( | void | ) | const |
Definition at line 358 of file mac-messages.cc.
References m_dlFreqOverride.
Referenced by ns3::SSLinkManager::PerformRanging().
uint16_t ns3::RngRsp::GetDlOperBurstProfile | ( | void | ) | const |
Definition at line 370 of file mac-messages.cc.
References m_dlOperBurstProfile.
uint32_t ns3::RngRsp::GetFrameNumber | ( | void | ) | const |
Definition at line 400 of file mac-messages.cc.
References m_frameNumber.
Referenced by ns3::SSLinkManager::PerformRanging().
uint8_t ns3::RngRsp::GetInitRangOppNumber | ( | void | ) | const |
Definition at line 406 of file mac-messages.cc.
References m_initRangOppNumber.
Referenced by ns3::SSLinkManager::PerformRanging().
|
virtual |
Get the most derived TypeId for this Object.
This method is typically implemented by ns3::Object::GetInstanceTypeId but some classes which derive from ns3::ObjectBase directly have to implement it themselves.
Implements ns3::ObjectBase.
Definition at line 431 of file mac-messages.cc.
References GetTypeId().
Mac48Address ns3::RngRsp::GetMacAddress | ( | void | ) | const |
Definition at line 376 of file mac-messages.cc.
References m_macAddress.
Referenced by ns3::SSLinkManager::PerformRanging().
std::string ns3::RngRsp::GetName | ( | void | ) | const |
Definition at line 418 of file mac-messages.cc.
uint32_t ns3::RngRsp::GetOffsetFreqAdjust | ( | void | ) | const |
Definition at line 346 of file mac-messages.cc.
References m_offsetFreqAdjust.
Referenced by ns3::SSLinkManager::AdjustRangingParameters().
uint8_t ns3::RngRsp::GetPowerLevelAdjust | ( | void | ) | const |
Definition at line 340 of file mac-messages.cc.
References m_powerLevelAdjust.
Referenced by ns3::SSLinkManager::AdjustRangingParameters().
Cid ns3::RngRsp::GetPrimaryCid | ( | void | ) | const |
Definition at line 388 of file mac-messages.cc.
References m_primaryCid.
Referenced by ns3::SSLinkManager::PerformRanging().
uint8_t ns3::RngRsp::GetRangStatus | ( | void | ) | const |
Definition at line 352 of file mac-messages.cc.
References m_rangStatus.
Referenced by ns3::SSLinkManager::PerformRanging(), and ns3::BSLinkManager::ScheduleRngRspMessage().
uint8_t ns3::RngRsp::GetRangSubchnl | ( | void | ) | const |
Definition at line 412 of file mac-messages.cc.
References m_rangSubchnl.
|
virtual |
This method is used by Packet::AddHeader to store a header into the byte buffer of a packet. This method should return the number of bytes which are needed to store the full header data by Serialize.
Implements ns3::Header.
Definition at line 450 of file mac-messages.cc.
uint32_t ns3::RngRsp::GetTimingAdjust | ( | void | ) | const |
Definition at line 334 of file mac-messages.cc.
References m_timingAdjust.
Referenced by ns3::SSLinkManager::AdjustRangingParameters().
|
static |
Definition at line 424 of file mac-messages.cc.
References ns3::TypeId::SetParent().
Referenced by GetInstanceTypeId().
uint8_t ns3::RngRsp::GetUlChnlIdOverride | ( | void | ) | const |
Definition at line 364 of file mac-messages.cc.
References m_ulChnlIdOverride.
|
virtual |
os | output stream This method is used by Packet::Print to print the content of a trailer as ascii data to a c++ output stream. Although the trailer is free to format its output as it wishes, it is recommended to follow a few rules to integrate with the packet pretty printer: start with flags, small field values located between a pair of parens. Values should be separated by whitespace. Follow the parens with the important fields, separated by whitespace. i.e.: (field1 val1 field2 val2 field3 val3) field4 val4 field5 val5 |
Implements ns3::Header.
Definition at line 437 of file mac-messages.cc.
References m_aasBdcastPermission, m_basicCid, m_dlFreqOverride, m_dlOperBurstProfile, m_frameNumber, m_initRangOppNumber, m_macAddress, m_offsetFreqAdjust, m_powerLevelAdjust, m_primaryCid, m_rangStatus, m_rangSubchnl, m_timingAdjust, and m_ulChnlIdOverride.
|
virtual |
start | an iterator which points to where the header should be written. |
This method is used by Packet::AddHeader to store a header into the byte buffer of a packet. The data written is expected to match bit-for-bit the representation of this header in a real network.
Implements ns3::Header.
Definition at line 456 of file mac-messages.cc.
References ns3::Cid::GetIdentifier(), m_aasBdcastPermission, m_basicCid, m_dlFreqOverride, m_dlOperBurstProfile, m_frameNumber, m_initRangOppNumber, m_macAddress, m_offsetFreqAdjust, m_powerLevelAdjust, m_primaryCid, m_rangStatus, m_rangSubchnl, m_reserved, m_timingAdjust, m_ulChnlIdOverride, visualizer.core::start(), ns3::WriteTo(), ns3::Buffer::Iterator::WriteU16(), ns3::Buffer::Iterator::WriteU32(), and ns3::Buffer::Iterator::WriteU8().
void ns3::RngRsp::SetAasBdcastPermission | ( | uint8_t | aasBdcastPermission | ) |
Definition at line 310 of file mac-messages.cc.
References m_aasBdcastPermission.
void ns3::RngRsp::SetBasicCid | ( | Cid | basicCid | ) |
Definition at line 298 of file mac-messages.cc.
References m_basicCid.
Referenced by ns3::ConnectionManager::AllocateManagementConnections().
void ns3::RngRsp::SetDlFreqOverride | ( | uint32_t | dlFreqOverride | ) |
set the Center frequency, in kHz, of new downlink channel where the SS should redo initial ranging.
dlFreqOverride | the Center frequency in kHz |
Definition at line 274 of file mac-messages.cc.
References m_dlFreqOverride.
Referenced by ns3::BSLinkManager::PerformInitialRanging().
void ns3::RngRsp::SetDlOperBurstProfile | ( | uint16_t | dlOperBurstProfile | ) |
Definition at line 286 of file mac-messages.cc.
References m_dlOperBurstProfile.
Referenced by ns3::BSLinkManager::PerformInitialRanging().
void ns3::RngRsp::SetFrameNumber | ( | uint32_t | frameNumber | ) |
Definition at line 316 of file mac-messages.cc.
References m_frameNumber.
Referenced by ns3::BSLinkManager::PerformRanging().
void ns3::RngRsp::SetInitRangOppNumber | ( | uint8_t | initRangOppNumber | ) |
Definition at line 322 of file mac-messages.cc.
References m_initRangOppNumber.
Referenced by ns3::BSLinkManager::PerformRanging().
void ns3::RngRsp::SetMacAddress | ( | Mac48Address | macAddress | ) |
Definition at line 292 of file mac-messages.cc.
References m_macAddress.
Referenced by ns3::BSLinkManager::PerformInitialRanging().
void ns3::RngRsp::SetOffsetFreqAdjust | ( | uint32_t | offsetFreqAdjust | ) |
set the relative change in transmission frequency that the SS should take in order to better match the BS.
This is fine-frequency adjustment within a channel, not reassignment to a different channel
offsetFreqAdjust |
Definition at line 262 of file mac-messages.cc.
References m_offsetFreqAdjust.
Referenced by ns3::BSLinkManager::SetParametersToAdjust().
void ns3::RngRsp::SetPowerLevelAdjust | ( | uint8_t | powerLevelAdjust | ) |
set the relative change in transmission power level that the SS should make in order that transmissions arrive at the BS at the desired power.
When subchannelization is employed, the subscriber shall interpret the power offset adjustment as a required change to the transmitted power density.
powerLevelAdjust | the relative change in transmission power level |
Definition at line 256 of file mac-messages.cc.
References m_powerLevelAdjust.
Referenced by ns3::BSLinkManager::SetParametersToAdjust().
void ns3::RngRsp::SetPrimaryCid | ( | Cid | primaryCid | ) |
Definition at line 304 of file mac-messages.cc.
References m_primaryCid.
Referenced by ns3::ConnectionManager::AllocateManagementConnections().
void ns3::RngRsp::SetRangStatus | ( | uint8_t | rangStatus | ) |
Definition at line 268 of file mac-messages.cc.
References m_rangStatus.
Referenced by ns3::BSLinkManager::AbortRanging(), ns3::BSLinkManager::AcceptRanging(), ns3::BSLinkManager::ContinueRanging(), and ns3::BSLinkManager::PerformRanging().
void ns3::RngRsp::SetRangSubchnl | ( | uint8_t | rangSubchnl | ) |
Definition at line 328 of file mac-messages.cc.
References m_rangSubchnl.
void ns3::RngRsp::SetTimingAdjust | ( | uint32_t | timingAdjust | ) |
set the Tx timing offset adjustment (signed 32-bit).
timingAdjust | The time required to advance SS transmission so frames arrive at the expected time instance at the BS. |
Definition at line 250 of file mac-messages.cc.
References m_timingAdjust.
Referenced by ns3::BSLinkManager::SetParametersToAdjust().
void ns3::RngRsp::SetUlChnlIdOverride | ( | uint8_t | ulChnlIdOverride | ) |
set the identifier of the uplink channel with which the SS is to redo initial ranging
ulChnlIdOverride | the uplink channel index |
Definition at line 280 of file mac-messages.cc.
References m_ulChnlIdOverride.
|
private |
Definition at line 230 of file mac-messages.h.
Referenced by Deserialize(), GetAasBdcastPermission(), Print(), Serialize(), and SetAasBdcastPermission().
|
private |
Definition at line 228 of file mac-messages.h.
Referenced by Deserialize(), GetBasicCid(), Print(), Serialize(), and SetBasicCid().
|
private |
Definition at line 216 of file mac-messages.h.
Referenced by Deserialize(), GetDlFreqOverride(), Print(), Serialize(), and SetDlFreqOverride().
|
private |
Definition at line 225 of file mac-messages.h.
Referenced by Deserialize(), GetDlOperBurstProfile(), Print(), Serialize(), and SetDlOperBurstProfile().
|
private |
Definition at line 234 of file mac-messages.h.
Referenced by Deserialize(), GetFrameNumber(), Print(), Serialize(), and SetFrameNumber().
|
private |
Definition at line 238 of file mac-messages.h.
Referenced by Deserialize(), GetInitRangOppNumber(), Print(), Serialize(), and SetInitRangOppNumber().
|
private |
Definition at line 227 of file mac-messages.h.
Referenced by Deserialize(), GetMacAddress(), Print(), Serialize(), and SetMacAddress().
|
private |
Definition at line 212 of file mac-messages.h.
Referenced by Deserialize(), GetOffsetFreqAdjust(), Print(), Serialize(), and SetOffsetFreqAdjust().
|
private |
Definition at line 208 of file mac-messages.h.
Referenced by Deserialize(), GetPowerLevelAdjust(), Print(), Serialize(), and SetPowerLevelAdjust().
|
private |
Definition at line 229 of file mac-messages.h.
Referenced by Deserialize(), GetPrimaryCid(), Print(), Serialize(), and SetPrimaryCid().
|
private |
Definition at line 213 of file mac-messages.h.
Referenced by Deserialize(), GetRangStatus(), Print(), Serialize(), and SetRangStatus().
|
private |
Definition at line 242 of file mac-messages.h.
Referenced by Deserialize(), GetRangSubchnl(), Print(), Serialize(), and SetRangSubchnl().
|
private |
Definition at line 196 of file mac-messages.h.
Referenced by Deserialize(), and Serialize().
|
private |
Definition at line 202 of file mac-messages.h.
Referenced by Deserialize(), GetTimingAdjust(), Print(), Serialize(), and SetTimingAdjust().
|
private |
Definition at line 220 of file mac-messages.h.
Referenced by Deserialize(), GetUlChnlIdOverride(), Print(), Serialize(), and SetUlChnlIdOverride().