pamvotis.core
Class SpecParams

java.lang.Object
  extended by pamvotis.core.SpecParams

public class SpecParams
extends java.lang.Object

This class reads the Standard's parameters from the NtConf.xml file and stores them to the static variables. Other classes that need these parameters can simply access the variables.

Author:
Dimitris El. Vassis

Field Summary
static int ACK
          The length of the ACK in bits.
static int CTS
          The length of the CTS in bits.
static int CW_MAX
          The value of the maximum contention window
static int CW_MIN_DSSS
          The value of the minimum contention window for DSSS (802.11b networks)
static int CW_MIN_OFDM
          The value of the minimum contention window for OFDM (802.11a/g networks)
static float LONG_PHY
          The long physical layer duration in sec.
static int MAC
          The length of the MAC header in bits.
static int MAX_PKT
          The maximum packet (MSDU) size in bits.
static int MAX_PKT_QUEUE_LNGTH
          Th maximum packet buffer size in bits.
static float OFDM_PHY
          The OFDM physical layer duration in sec.
static int RTS
          The length of the RTS in bits.
static float SHORT_PHY
          The short physical layer duration in sec.
static float SIFS_A
          The SIFS duration in sec for 802.11a networks
static float SIFS_G
          The SIFS duration for 802.11b/g networks.
static float SLOT_ERP
          The time slot value in sec for pure 802.11a/g networks
static float SLOT_NON_ERP
          The time slot value in sec for 802.11/802.11b networks or mixed 802.11g/802.11b networks
 
Constructor Summary
SpecParams()
           
 
Method Summary
static void ReadParameters()
          Reads the parameters of the SpecParams.xml file and stores them to the static members.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SLOT_ERP

public static float SLOT_ERP
The time slot value in sec for pure 802.11a/g networks


SLOT_NON_ERP

public static float SLOT_NON_ERP
The time slot value in sec for 802.11/802.11b networks or mixed 802.11g/802.11b networks


SIFS_A

public static float SIFS_A
The SIFS duration in sec for 802.11a networks


SIFS_G

public static float SIFS_G
The SIFS duration for 802.11b/g networks.


LONG_PHY

public static float LONG_PHY
The long physical layer duration in sec. Used for simple 802.11 networks.


SHORT_PHY

public static float SHORT_PHY
The short physical layer duration in sec. Used for 802.11b networks.


OFDM_PHY

public static float OFDM_PHY
The OFDM physical layer duration in sec. Used for 802.11a/g networks.


CW_MIN_DSSS

public static int CW_MIN_DSSS
The value of the minimum contention window for DSSS (802.11b networks)


CW_MIN_OFDM

public static int CW_MIN_OFDM
The value of the minimum contention window for OFDM (802.11a/g networks)


CW_MAX

public static int CW_MAX
The value of the maximum contention window


ACK

public static int ACK
The length of the ACK in bits.


RTS

public static int RTS
The length of the RTS in bits.


CTS

public static int CTS
The length of the CTS in bits.


MAC

public static int MAC
The length of the MAC header in bits.


MAX_PKT

public static int MAX_PKT
The maximum packet (MSDU) size in bits.


MAX_PKT_QUEUE_LNGTH

public static int MAX_PKT_QUEUE_LNGTH
Th maximum packet buffer size in bits.

Constructor Detail

SpecParams

public SpecParams()
Method Detail

ReadParameters

public static void ReadParameters()
Reads the parameters of the SpecParams.xml file and stores them to the static members.