|
A Discrete-Event Network Simulator
|
API
|
Go to the documentation of this file.
21 #ifndef UPLINK_SCHEDULER_SIMPLE_H
22 #define UPLINK_SCHEDULER_SIMPLE_H
26 #include "ns3/nstime.h"
33 class BaseStationNetDevice;
73 const uint32_t &allocationSize,
74 uint32_t &symbolsToAllocation,
75 uint32_t &availableSymbols);
90 uint32_t &symbolsToAllocation,
91 uint32_t &availableSymbols);
105 uint32_t &symbolsToAllocation,
106 uint32_t &availableSymbols);
121 uint32_t &symbolsToAllocation,
122 uint32_t &availableSymbols);
a unique identifier for an interface.
UplinkSchedulerSimple(void)
Every class exported by the ns3 library is enclosed in the ns3 namespace.
void ServiceUnsolicitedGrants(const SSRecord *ssRecord, enum ServiceFlow::SchedulingType schedulingType, OfdmUlMapIe &ulMapIe, const WimaxPhy::ModulationType modulationType, uint32_t &symbolsToAllocation, uint32_t &availableSymbols)
Service Unsolicited Grants function.
This class implements the bandwidth-request mac Header as described by IEEE Standard for Local and me...
void Schedule(void)
Schedule function.
this class implements a structure to manage some parameters and statistics related to a service flow
void AllocateInitialRangingInterval(uint32_t &symbolsToAllocation, uint32_t &availableSymbols)
Allocate Initial Ranging Interval function.
void ServiceBandwidthRequests(const SSRecord *ssRecord, enum ServiceFlow::SchedulingType schedulingType, OfdmUlMapIe &ulMapIe, const WimaxPhy::ModulationType modulationType, uint32_t &symbolsToAllocation, uint32_t &availableSymbols)
Service Bandwidth Requests function.
void OnSetRequestedBandwidth(ServiceFlowRecord *sfr)
Set requested bandwidth function.
Smart pointer class similar to boost::intrusive_ptr.
ModulationType
ModulationType enumeration.
This class implements the UL-MAP_IE message as described by "IEEE Standard for Local and metropolitan...
This class is used by the base station to store some information related to subscriber station in the...
void InitOnce(void)
Init once function.
std::list< OfdmUlMapIe > m_uplinkAllocations
uplink allocations
void SetupServiceFlow(SSRecord *ssRecord, ServiceFlow *serviceFlow)
Setup service flow function.
void ProcessBandwidthRequest(const BandwidthRequestHeader &bwRequestHdr)
Process bandwidth requet function.
static TypeId GetTypeId(void)
Get the type ID.
std::list< OfdmUlMapIe > GetUplinkAllocations(void) const
SchedulingType
section 11.13.11 Service flow scheduling type, page 701
This class implements service flows as described by the IEEE-802.16 standard.
uint32_t CalculateAllocationStartTime(void)
~UplinkSchedulerSimple(void)
void GetChannelDescriptorsToUpdate(bool &updateDcd, bool &updateUcd, bool &sendDcd, bool &sendUcd)
Determines if channel descriptors sent in the current frame are required to be updated.
void AddUplinkAllocation(OfdmUlMapIe &ulMapIe, const uint32_t &allocationSize, uint32_t &symbolsToAllocation, uint32_t &availableSymbols)
Add uplink allocation.
Virtual class for uplink scheduler.