13#include "ns3/bs-net-device.h"
14#include "ns3/bs-scheduler-rtps.h"
15#include "ns3/bs-scheduler-simple.h"
16#include "ns3/bs-scheduler.h"
17#include "ns3/bs-uplink-scheduler-mbqos.h"
18#include "ns3/bs-uplink-scheduler-rtps.h"
19#include "ns3/bs-uplink-scheduler-simple.h"
20#include "ns3/bs-uplink-scheduler.h"
21#include "ns3/net-device-container.h"
22#include "ns3/node-container.h"
23#include "ns3/object-factory.h"
24#include "ns3/propagation-loss-model.h"
25#include "ns3/service-flow.h"
26#include "ns3/simple-ofdm-wimax-channel.h"
27#include "ns3/ss-net-device.h"
28#include "ns3/trace-helper.h"
178 double frameDuration);
204 char* SNRTraceFilePath,
310 bool explicitFilename,
311 bool promiscuous)
override;
327 bool explicitFilename)
override;
AsciiTraceHelperForDevice()
Construct an AsciiTraceHelperForDevice.
IpcsClassifierRecord class.
holds a vector of ns3::NetDevice pointers
keep track of a set of node pointers.
PcapHelperForDevice()
Construct a PcapHelperForDevice.
Smart pointer class similar to boost::intrusive_ptr.
This class implements service flows as described by the IEEE-802.16 standard.
SchedulingType
section 11.13.11 Service flow scheduling type, page 701
Direction
Direction enumeration.
PropModel
PropModel enumeration.
Virtual class for uplink scheduler.
The channel object to attach Wimax NetDevices.
SchedulerType
Scheduler Type Different implementations of uplink/downlink scheduler.
@ SCHED_TYPE_RTPS
A simple scheduler - rtPS based scheduler.
@ SCHED_TYPE_MBQOS
An migration-based uplink scheduler.
@ SCHED_TYPE_SIMPLE
A simple priority-based FCFS scheduler.
NetDeviceType
Net Device Type Distinguish a subscriber station(SS) device from base station(BS) device.
@ DEVICE_TYPE_SUBSCRIBER_STATION
Subscriber station(SS) device.
@ DEVICE_TYPE_BASE_STATION
Base station(BS) device.
Ptr< WimaxChannel > m_channel
wifi channel
Ptr< WimaxPhy > CreatePhyWithoutChannel(PhyType phyType)
Ptr< UplinkScheduler > CreateUplinkScheduler(SchedulerType schedulerType)
void SetPropagationLossModel(SimpleOfdmWimaxChannel::PropModel propagationModel)
Set the propagation and loss model of the channel.
PhyType
WiMAX Physical layer WiMAX Physical layers with different levels of detail.
Ptr< BSScheduler > CreateBSScheduler(SchedulerType schedulerType)
Ptr< WimaxPhy > CreatePhy(PhyType phyType)
WimaxHelper()
Create a Wimax helper in an empty state.
void EnableAsciiInternal(Ptr< OutputStreamWrapper > stream, std::string prefix, Ptr< NetDevice > nd, bool explicitFilename) override
Enable ascii trace output on the indicated net device.
static void AsciiTxEvent(Ptr< OutputStreamWrapper > stream, std::string path, Ptr< const Packet > packet, const Mac48Address &dest)
ASCII trace transmit event.
int64_t AssignStreams(int64_t stream)
Assign a fixed random variable stream number to the random variables used by this model.
static void EnableAsciiForConnection(Ptr< OutputStreamWrapper > oss, uint32_t nodeid, uint32_t deviceid, char *netdevice, char *connection)
Enable ascii trace output on the indicated net device for a given connection.
NetDeviceContainer Install(NodeContainer c, NetDeviceType type, PhyType phyType, SchedulerType schedulerType)
static void EnableLogComponents()
Helper to enable all WimaxNetDevice log components with one statement.
static void AsciiRxEvent(Ptr< OutputStreamWrapper > stream, std::string path, Ptr< const Packet > packet, const Mac48Address &source)
ASCII trace receive event.
ServiceFlow CreateServiceFlow(ServiceFlow::Direction direction, ServiceFlow::SchedulingType schedulingType, IpcsClassifierRecord classifier)
Creates a transport service flow.
void EnablePcapInternal(std::string prefix, Ptr< NetDevice > nd, bool explicitFilename, bool promiscuous) override
Enable pcap output on the indicated net device.
Every class exported by the ns3 library is enclosed in the ns3 namespace.