21 #ifndef BS_SERVICE_FLOW_MANAGER_H 22 #define BS_SERVICE_FLOW_MANAGER_H 25 #include "ns3/event-id.h" 27 #include "ns3/buffer.h" 37 class WimaxConnection;
38 class BaseStationNetDevice;
This class implements the DSA-RSP message described by "IEEE Standard for Local and metropolitan ...
ConfirmationCode
Confirmation code enumeration.
Smart pointer class similar to boost::intrusive_ptr.
This class implements the DSA-ACK message described by "IEEE Standard for Local and metropolitan area...
uint32_t m_sfidIndex
SFID index.
void AllocateServiceFlows(const DsaReq &dsaReq, Cid cid)
allocate service flows
static TypeId GetTypeId(void)
Register this type.
BsServiceFlowManager(Ptr< BaseStationNetDevice > device)
Constructor.
~BsServiceFlowManager(void)
void DoDispose(void)
Destructor implementation.
Ptr< WimaxNetDevice > m_device
the device
void ScheduleDsaRsp(ServiceFlow *serviceFlow, Cid cid)
Create DSA response function.
SchedulingType
section 11.13.11 Service flow scheduling type, page 701
EventId m_dsaAckTimeoutEvent
DSA ack timeout event.
ServiceFlow * GetServiceFlow(uint32_t sfid) const
uint8_t m_maxDsaRspRetries
maximum number of DSA response retries
uint8_t GetMaxDsaRspRetries(void) const
Every class exported by the ns3 library is enclosed in the ns3 namespace.
std::vector< ServiceFlow * > GetServiceFlows(ServiceFlow::SchedulingType schedulingType) const
EventId GetDsaAckTimeoutEvent(void) const
Cid m_inuseScheduleDsaRspCid
in use schedule DSA response CID
ServiceFlow * ProcessDsaReq(const DsaReq &dsaReq, Cid cid)
process a DSA-Req message
This class implements service flows as described by the IEEE-802.16 standard.
void SetMaxDsaRspRetries(uint8_t maxDsaRspRetries)
set the maximum Dynamic ServiceFlow Add (DSA) retries
void ProcessDsaAck(const DsaAck &dsaAck, Cid cid)
process a DSA-ACK message
ModulationType
ModulationType enumeration.
An identifier for simulation events.
void AddServiceFlow(ServiceFlow *serviceFlow)
Add a new service flow.
void AddMulticastServiceFlow(ServiceFlow sf, enum WimaxPhy::ModulationType modulation)
add a multicast service flow
This class implements the DSA-REQ message described by "IEEE Standard for Local and metropolitan area...
The same service flow manager class serves both for BS and SS though some functions are exclusive to ...
a unique identifier for an interface.
DsaRsp CreateDsaRsp(const ServiceFlow *serviceFlow, uint16_t transactionId)
Create DSA response function.