23 #ifndef SATELLITE_RANDOM_ACCESS_CONF_H
24 #define SATELLITE_RANDOM_ACCESS_CONF_H
30 #include <ns3/object.h>
31 #include <ns3/simulator.h>
32 #include <ns3/uinteger.h>
61 Ptr<SatSuperframeSeq> m_superframeSeq);
80 uint32_t allocationChannel);
97 uint32_t controlRandomizationIntervalInMilliSeconds)
100 controlRandomizationIntervalInMilliSeconds;
Class for random access configuration.
uint32_t m_allocationChannelCount
Number of available allocation channels.
void SetSlottedAlohaControlRandomizationIntervalInMilliSeconds(uint32_t controlRandomizationIntervalInMilliSeconds)
Function for setting the Slotted ALOHA control randomization interval.
uint32_t GetSlottedAlohaControlRandomizationIntervalInMilliSeconds()
Function for getting the Slotted ALOHA control randomization interval.
uint32_t GetAllocationChannelConfigurationId(uint32_t allocationChannel)
Function for retrieving the configuration ID of a given allocation channel.
SatRandomAccessConf()
Constructor.
virtual ~SatRandomAccessConf()
Destructor.
uint32_t GetSlottedAlohaSignalingOverheadInBytes()
Function for getting the Slotted ALOHA signaling overhead in bytes.
uint32_t m_slottedAlohaControlRandomizationIntervalInMilliSeconds
Slotted ALOHA control randomization interval in milliseconds.
std::vector< uint32_t > m_configurationIdPerAllocationChannel
Mapping between an allocation channel and its associated configuration index.
void DoSlottedAlohaVariableSanityCheck()
Function for checking the Slotted ALOHA variable sanity.
uint32_t GetCrdsaSignalingOverheadInBytes()
Function for getting the CRDSA signaling overhead in bytes.
static TypeId GetTypeId(void)
NS-3 type id function.
Ptr< SatRandomAccessAllocationChannel > GetAllocationChannelConfiguration(uint32_t allocationChannel)
Function for returning the allocation channel specific RA configuration.
uint32_t m_crdsaSignalingOverheadInBytes
Defines the size of the CRDSA signaling overhead in bytes.
uint32_t GetNumOfAllocationChannelsConfigurations()
Function for getting the number of available allocation channels configurations.
uint32_t m_slottedAlohaSignalingOverheadInBytes
Defines the size of the Slotted ALOHA signaling overhead in bytes.
std::map< uint32_t, Ptr< SatRandomAccessAllocationChannel > > m_allocationChannelConf
Map containing the allocation channel configurations.
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.