Beruflich Dokumente
Kultur Dokumente
ns-3 WimaxNetDevice .
WimaxNetDevice NS3 IEEE 802.16.
ns-3 Wimax.
NS3 :
IP
Multicast Broadcast
Wimax src/wimax.
, ,
(SS) (BS).
ns3::NetDevice, SubscriberStationNetDevice BaseStationNetDevice. ns3
WimaxPhy WimaxChannel
.
SimpleOfdmWimaxChannel.
Wimax
:
SIMPLE FCFS
RTPS
MBQoS
IEEE 802.16:
ns-3 ,
ns-3 mobility models
Point-Multi-Point (PMP) WirelessMAN-OFDM
UGS, rtPS, nrtPS, BE
OFDMA
Mesh
ARQ
ertPS
Wimax
, ns3,
WiMAX API .
API - , , , ,
(, ) .
.
API src/wimax/helper/wimax-helper.{cc,h}.
src/wimax/examples/wimax-simple.cc
switch (schedType)
{
case 0:
scheduler = WimaxHelper::SCHED_TYPE_SIMPLE;
break;
case 1:
scheduler = WimaxHelper::SCHED_TYPE_MBQOS;
break;
case 2:
scheduler = WimaxHelper::SCHED_TYPE_RTPS;
break;
default:
scheduler = WimaxHelper::SCHED_TYPE_SIMPLE;
}
NodeContainer ssNodes;
NodeContainer bsNodes;
ssNodes.Create (2);
bsNodes.Create (1);
WimaxHelper wimax;
NetDeviceContainer ssDevs, bsDevs;
ssDevs = wimax.Install (ssNodes,
WimaxHelper::DEVICE_TYPE_SUBSCRIBER_STATION,
WimaxHelper::SIMPLE_PHY_TYPE_OFDM,
scheduler);
bsDevs
=
wimax.Install
(bsNodes,
WimaxHelper::DEVICE_TYPE_BASE_STATION,
WimaxHelper::SIMPLE_PHY_TYPE_OFDM, scheduler);
, .
Install
, .
, Install src/wimax/examples/wimaxmulticast.cc .
channel = CreateObject<SimpleOfdmWimaxChannel> ();
channel->SetPropagationModel (SimpleOfdmWimaxChannel::COST231_PROPAGATION);
ssDevs = wimax.Install (ssNodes,
WimaxHelper::DEVICE_TYPE_SUBSCRIBER_STATION,
WimaxHelper::SIMPLE_PHY_TYPE_OFDM,
channel,
scheduler);
Ptr<WimaxNetDevice> dev = wimax.Install (bsNodes.Get (0),
WimaxHelper::DEVICE_TYPE_BASE_STATION,
WimaxHelper::SIMPLE_PHY_TYPE_OFDM,
channel,
scheduler);
Wifi, src/wimax/examples/wimaxmulticast.cc.
WiMAX .
QoS, , ,
. .
WiMAX . src/wimax/examples/wimax-multicast.cc
,
ServiceFlow
MulticastServiceFlow
(ServiceFlow::SF_DIRECTION_DOWN,
wimax.CreateServiceFlow
ServiceFlow::SF_TYPE_UGS,
MulticastClassifier);
bs->GetServiceFlowManager
()->AddMulticastServiceFlow
WimaxPhy::MODULATION_TYPE_QPSK_12);
(MulticastServiceFlow,
WimaxNetDevice -3
. , 60 . ,
ns-3::SimpleOfdmWimaxPhy :
NoiseFigure: (), - .
TxPower: ().
G:
txGain: ().
RxGain: ().
Nfft:
TraceFilePath: SNR BlcER.
Doxygen,
ns-3.
WiMAX
Ns-3 ,
,
. ns-3 Pcap Ascii
AsciiTraceHelper ascii;
WimaxHelper wimax;
wimax.EnablePcap ("wimax-program", false);
wimax.EnableAsciiAll (ascii.CreateFileStream ("wimax-program.tr");
,
EnableAsciiForConnection(), ascii ,
ASCII .
WiMAX,
. Doxygen trace sources.
WiMAX MAC
WiMAX ns3 MAC PHY
IEEE 802.16 Point-to-Multipoint (PMP) WirelessMAN-OFDM
. :
- (CS-MAC)
- (MAC-CPS)
- (PHY)
(CS-MAC)
(CS) Packet CS,
.
,
( ) .
. MAC CPS (QoS),
QoS . ns-3
IP-.
IP
IP
, .
, IP . IP
TCP/UDP WiMAX
. IpcsClassifier IpcsClassifierRecord
.
MAC
MAC IEEE 802.16 MAC,
. Point-Multi-Point (PMP). PMP
. MAC CPS
, MAC , ,
, . WimaxNetDevice
WiMAX MAC . NetDevice
ns3 API, . WimaxNetDevice
BaseStationNetDevice SubscriberStationNetDevice , MAC
, . , MAC
.
, , ,
. (DL) (UL) .
(TDD), DL UL
, . DL UL DL
UL , .
DL UL , MAC
.
PacketBurst, . .
BSScheduler UplinkScheduler DL UL ,
. DL, (
PacketBurst). UL, , .
, .
(PS)
. . DL UL
.
, (1)
(2) . LinkManager
. ,
. , PHY . ,
. DL-MAP ,
DL-MAP (DCD). ,
(UCD) .
. , UL-MAP,
,
. Uplink Scheduler
. 0,5 ,
.
MAC .
, MAC
. :
.
16 (CID). WimaxConnection
Cid CID, .
, , , .
ConnectionManager .
, , Basic Primary
, .
Basic , DL UL
(unicast) Basic CID.
,
. Connection Manager
. , ,
CID.
, ( DL) CID
( UL) CID.
802.16-2004.
.
Unsolicited Grant Service (UGS) ,
.
2 - WiMAX
-
.
, QoS
, . ,
UplinkScheduler
QoS .
WiMAX
,
QoS (
) .
Bandwidth Manager .
(BE, UGS, rtPS, nrtPS)
QoS. -
,
. .
. QoS
, .
QoS , UGS, rtPS, nrtPS BE ,
: (1)
MAC , (2) .
WiMAX ,
. OFDM
, FEC
.
: WiMAX MAC PDUs. ,
FEC ,
P_tx.
: :
1 FEC . 2 . 3 .
(SNR) 4 FEC . 5 FEC
. 6
.
, FEC
. OFDM
( ). SNRToBlockErrorRateManager
(
). .
. SNR (1),
BER (2),
BlcER (3), BlcER, (4 5).
SNRToBlockErrorRateManager .
FEC
. SNR SNR_rx
SNRToBlockErrorRateManager BlcER.
RAND 0 1. RAID BlcER, FEC ,
.
SNR default-traces.h.
External WiMAX OFDM .
IT++ : ,
, , , 256 FFT-based OFDM ,
. , TDL_channel
IT++ .
, trace
OFDM .
, , trace.
trace , default-traces.h.
7 , .
modulation0.txt modulation 0,
modulation1.txt modulation 1 ...
SNR_value1
BER
Blc_ER
CONFIDENCE_INTERVAL2
SNR_value2
BER
Blc_ER
CONFIDENCE_INTERVAL2
STANDARD_DEVIATION
CONFIDENCE_INTERVAL1
STANDARD_DEVIATION
CONFIDENCE_INTERVAL1
3 - WiMAX