ns-3
ns3::UanPhyPerUmodem Class Reference

Packet error rate calculation assuming WHOI Micromodem like PHY Calculates PER assuming rate 1/2 convolutional code with constraint length 9 with soft decision viterbi decoding and a CRC capable of correcting 1 bit error. More...

#include <uan-phy-gen.h>

Inheritance diagram for ns3::UanPhyPerUmodem:
Collaboration diagram for ns3::UanPhyPerUmodem:

List of all members.

Public Member Functions

virtual double CalcPer (Ptr< Packet > pkt, double sinrDb, UanTxMode mode)

Static Public Member Functions

static TypeId GetTypeId (void)
 This method returns the TypeId associated to ns3::UanPhyPerUmodem.

Detailed Description

Packet error rate calculation assuming WHOI Micromodem like PHY Calculates PER assuming rate 1/2 convolutional code with constraint length 9 with soft decision viterbi decoding and a CRC capable of correcting 1 bit error.


Member Function Documentation

double ns3::UanPhyPerUmodem::CalcPer ( Ptr< Packet pkt,
double  sinrDb,
UanTxMode  mode 
) [virtual]

This implementation uses calculations for binary FSK modulation coded by a rate 1/2 convolutional code with constraint length = 9 and a viterbi decoder and finally a CRC capable of correcting one bit error. These equations can be found in the book, Digital Communications, by Proakis (Any version I think)

Parameters:
pktPacket which is under consideration
sinrDbSINR at receiver
modeTX mode used to transmit packet
Returns:
Probability of packet error

Implements ns3::UanPhyPer.

References ns3::Packet::GetSize().

This method returns the TypeId associated to ns3::UanPhyPerUmodem.

This object is accessible through the following paths with Config::Set and Config::Connect:

  • /NodeList/[i]/DeviceList/[i]/$ns3::AlohaNoackNetDevice/Phy/$ns3::UanPhyPerUmodem
  • /NodeList/[i]/DeviceList/[i]/$ns3::NonCommunicatingNetDevice/Phy/$ns3::UanPhyPerUmodem

No Attributes defined for this type.
No TraceSources defined for this type.

Reimplemented from ns3::UanPhyPer.

References ns3::TypeId::SetParent().


The documentation for this class was generated from the following files: