DESERT 3.5.1
|
#include <uw-smart-ofdm.h>
Classes | |
class | AckTimer |
class | AssignmentTimer |
class | AssignmentValidTimer |
class | BackOffTimer |
class | CTSTimer |
class | DATATimer |
class | RTSTimer |
class | UWSmartOFDMTimer |
Public Member Functions | |
UWSmartOFDM () | |
virtual | ~UWSmartOFDM () |
virtual int | command (int argc, const char *const *argv) |
void | init_macofdm_node (int subCarNum, double carSize, int ctrl_subCar, std::string modulation) |
Protected Member Functions | |
virtual void | recvFromUpperLayers (Packet *p) |
virtual void | Mac2PhyStartTx (Packet *p) |
virtual void | Phy2MacEndTx (const Packet *p) |
virtual void | Phy2MacStartRx (const Packet *p) |
virtual void | Phy2MacEndRx (Packet *p) |
virtual double | computeTxTime (UWSMARTOFDM_PKT_TYPE type) |
virtual void | initPkt (Packet *p, UWSMARTOFDM_PKT_TYPE pkt_type, int dest_addr=0) |
virtual double | getBackoffTime () |
virtual void | txData () |
virtual void | txAck (int dest_addr) |
virtual void | txRTS () |
virtual void | txCTS (int dest_addr, int *rcv_car, int bytesToSend) |
virtual void | stateIdle () |
virtual void | stateSendRTS () |
virtual void | stateSendCTS (Packet *p) |
virtual void | stateWaitCTS () |
virtual void | stateBackoffCTS () |
virtual void | stateRxIdle () |
virtual void | stateTxData () |
virtual void | stateTxAck (int dest_addr) |
virtual void | stateWaitAck () |
virtual void | stateRxWaitAck () |
virtual void | stateBackoff (double bt=0) |
virtual void | stateRxBackoff () |
virtual void | stateCheckAckExpired () |
virtual void | stateCheckBackoffExpired () |
virtual void | stateCheckCTSBackoffExpired () |
virtual void | stateRxData (Packet *p) |
virtual void | stateRxAck (Packet *p) |
virtual void | stateRxRTS (Packet *p) |
virtual void | stateRxCTS (Packet *p) |
virtual void | stateWaitData (double t) |
virtual void | exitBackoff () |
virtual void | exitCTSBackoff () |
virtual void | printStateInfo (double delay=0) |
virtual void | initInfo () |
virtual void | refreshState (UWSMARTOFDM_STATUS state) |
virtual void | refreshReason (UWSMARTOFDM_REASON_STATUS reason) |
virtual void | incrCurrTxRounds () |
virtual void | resetCurrTxRounds () |
virtual void | updateRTT (double rtt) |
virtual double | getRTT () |
virtual double | getRTSsent () |
virtual double | getCTSsent () |
virtual void | updateAckTimeout (double rtt) |
virtual void | updateLastDataIdRx (int id) |
virtual void | waitForUser () |
int | getPktSeqNum (Packet *p) |
void | putPktInQueue (Packet *p) |
void | eraseItemFromPktQueue (int seq_num) |
void | putAckTimerInMap (int seq_num) |
void | eraseItemFrommapAckTimer (int seq_num) |
virtual int | getRemainingPkts () |
virtual void | incrUpperDataRx () |
int | getUpLayersDataPktsRx () |
int | getHighPrioPktsSent () |
int | getHighPrioPktsRecv () |
void | carToBeUsed (criticalLevel c, int &top, int &bottom, int &avoid_top, int &avoid_bottom) |
int | pickFreeCarriers (int *freeC) |
int | matchCarriers (int *myFree, int *otherFree, int *matching) |
void | updateOccupancy (int *busyCar, int ntslots) |
void | clearOccTable () |
void | resetAssignment () |
void | printOccTable () |
void | Mac2PhySetTxBusy (int, int get=0) |
bool | batchSending () |
void | addInvalidCarriers (int c) |
void | removeInvalidCarrier (int c) |
void | updateInterfTable (Packet *p) |
Static Protected Attributes | |
static bool | initialized = false |
static const double | prop_speed = 1500.0 |
static map< UWSMARTOFDM_STATUS, string > | status_info |
static map< UWSMARTOFDM_REASON_STATUS, string > | reason_info |
static map< UWSMARTOFDM_PKT_TYPE, string > | pkt_type_info |
static map< criticalLevel, string > | clevel_info |
This is the base class of UWSmartOFDM protocol, which is a derived class of MMac.
Definition at line 97 of file uw-smart-ofdm.h.
|
protected |
Enumeration class of UWSmartOFDM acknowledgement mode.
First enumerator is given value 1. This protocol supports both acknowledgement and non-acknowledgement technique. If Acknowledgement is set, it uses Stop-And-Wait ARQ technique.
Enumerator | |
---|---|
UWSMARTOFDM_ACK_MODE | |
UWSMARTOFDM_NO_ACK_MODE |
Definition at line 211 of file uw-smart-ofdm.h.
|
protected |
Enumeration class of UWSmartOFDM packet type.
First enumerator is given value
Enumerator | |
---|---|
UWSMARTOFDM_ACK_PKT | |
UWSMARTOFDM_DATA_PKT | |
UWSMARTOFDM_DATAMAX_PKT | |
UWSMARTOFDM_RTS_PKT | |
UWSMARTOFDM_CTS_PKT |
Definition at line 196 of file uw-smart-ofdm.h.
|
protected |
Enumeration class which tells the nodes the reason why it is in this state.
First enumerator is given value 1.
Definition at line 160 of file uw-smart-ofdm.h.
|
protected |
Enumeration class of UWSmartOFDM status.
First enumerator is given value 1.
Definition at line 129 of file uw-smart-ofdm.h.
|
protected |
Enumeration class of UWSmartOFDM timer status.
First enumerator is given value
Enumerator | |
---|---|
UWSMARTOFDM_IDLE | |
UWSMARTOFDM_RUNNING | |
UWSMARTOFDM_FROZEN | |
UWSMARTOFDM_EXPIRED |
Definition at line 217 of file uw-smart-ofdm.h.
UWSmartOFDM::UWSmartOFDM | ( | ) |
Constructor of UWSmartOFDM Class.
Definition at line 225 of file uw-smart-ofdm.cpp.
|
virtual |
Destructor of UWSmartOFDM Class.
Definition at line 273 of file uw-smart-ofdm.cpp.
|
inlineprotected |
Definition at line 1102 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1957 of file uw-smart-ofdm.cpp.
|
protected |
returns the current free carriers that can be given to a node top and bottom give the range avoid_top and avoid_bottom if a subrange must be avoided, 0 otherwise
Definition at line 1777 of file uw-smart-ofdm.cpp.
|
protected |
clears the carriers used in the past moves the index for the current time to the next slot
Definition at line 1908 of file uw-smart-ofdm.cpp.
|
virtual |
TCL command interpreter.
It implements the following OTcl methods:
argc | number of arguments in argv |
argv | array of strings which are the command parameters (Note that argv[0] is the name of the object) |
Definition at line 279 of file uw-smart-ofdm.cpp.
|
protectedvirtual |
Compute the transmission time of a packet.
It uses a cross-layer message to calculate the duration of that packet.
type | is a UWSMARTOFDM_PKT_TYPE |
Definition at line 542 of file uw-smart-ofdm.cpp.
|
inlineprotected |
Erase an item from acknowledgement stored container.
seq_num | which is an integer data type. |
Definition at line 998 of file uw-smart-ofdm.h.
|
inlineprotected |
It erases the packet from the container.
seq_num | which is an integer data type. |
Definition at line 970 of file uw-smart-ofdm.h.
|
protectedvirtual |
It stops the backoff timer.
Definition at line 506 of file uw-smart-ofdm.cpp.
|
protectedvirtual |
It stops the CTS backoff timer.
Definition at line 511 of file uw-smart-ofdm.cpp.
|
protectedvirtual |
This function calculates the backoff duration and return the backoff time.It employs the exponential backoff algorithm.
Definition at line 517 of file uw-smart-ofdm.cpp.
|
inlineprotectedvirtual |
This method is used to get the total number of sent CTS messages.
Definition at line 919 of file uw-smart-ofdm.h.
|
inlineprotected |
Definition at line 1040 of file uw-smart-ofdm.h.
|
inlineprotected |
Definition at line 1033 of file uw-smart-ofdm.h.
|
inlineprotected |
This method is used to get the sequence number from a packet.
packet | pointer |
Definition at line 946 of file uw-smart-ofdm.h.
|
inlineprotectedvirtual |
Number of packets which MAC layer receives form upper layer(s) but were not transmitted.
Definition at line 1011 of file uw-smart-ofdm.h.
|
inlineprotectedvirtual |
This method is used to get the total number of sent RTS messages.
Definition at line 910 of file uw-smart-ofdm.h.
|
inlineprotectedvirtual |
This method is used to get the average RTT over all the receives RTT.
Definition at line 901 of file uw-smart-ofdm.h.
|
inlineprotected |
Definition at line 1026 of file uw-smart-ofdm.h.
|
inlineprotectedvirtual |
Increments the current transmission round of a packet.
It keeps track of the number of retransmition of a packet.
Definition at line 875 of file uw-smart-ofdm.h.
|
inlineprotectedvirtual |
Increment the number of Data packet receive for the upper layer.
Definition at line 1020 of file uw-smart-ofdm.h.
void UWSmartOFDM::init_macofdm_node | ( | int | subCarNum, |
double | carSize, | ||
int | ctrl_subCar, | ||
std::string | modulation | ||
) |
Definition at line 433 of file uw-smart-ofdm.cpp.
|
protectedvirtual |
This function is used to initialize the UWSmartOFDM protocol.
Definition at line 361 of file uw-smart-ofdm.cpp.
|
protectedvirtual |
This method, initialize the packet.
If the packet is received from the upper layer, it adds the header (if any). In case of UWSmartOFDM with ARQ technique, it set the fields of ACK packet.
Packet | pointer P. The packet can be Data packet or ACK packet. |
pkt_type | is an UWSMARTOFDM_PKT_TYPE. Packet can be either Data packet or ACK packet. |
dest_addr | is a integer data type. It is initialized as 0. |
Definition at line 626 of file uw-smart-ofdm.cpp.
|
protected |
Definition at line 1943 of file uw-smart-ofdm.cpp.
|
protectedvirtual |
It informs that a packet transmission started.
Packet | pointer |
Definition at line 715 of file uw-smart-ofdm.cpp.
|
protected |
Returns free Carriers matching between itself and the sender to be used when an RTS is received to find carriers to include into CTS
myFree | is node's free carriers |
otherFree | is other node's free carriers |
matching | is the match between myFree and otherFree |
Definition at line 1866 of file uw-smart-ofdm.cpp.
|
protectedvirtual |
PHY layer informs the MAC layer that the reception of the packet is over.
Packet | pointer. |
Definition at line 831 of file uw-smart-ofdm.cpp.
|
protectedvirtual |
It infroms that a packet transmission end.
Packet | pointer |
Definition at line 733 of file uw-smart-ofdm.cpp.
|
protectedvirtual |
PHY layer informs the MAC layer that it is receiving a packet.
@Param Packet pointer (constant)
Definition at line 824 of file uw-smart-ofdm.cpp.
|
protected |
Returns max 5 carriers that are free in the next n time slots from occupancy table.
n | is for how many timeslots I want them free, |
freeC | returned carriers |
Definition at line 1844 of file uw-smart-ofdm.cpp.
|
protected |
prints on terminal the table
Definition at line 1927 of file uw-smart-ofdm.cpp.
|
protectedvirtual |
This methods print the state information of the nodes.
delay | is a double data type. |
Definition at line 1696 of file uw-smart-ofdm.cpp.
|
inlineprotected |
Put acknowledgement timer in the container.
seq_num | which is an integer data type. |
Definition at line 988 of file uw-smart-ofdm.h.
|
inlineprotected |
A node receives packet(s) from upper layer and store them in the container.
packet | pointer |
Definition at line 960 of file uw-smart-ofdm.h.
|
protectedvirtual |
This function receives the packet from upper layer and save it in the queue.
Packet | pointer |
Definition at line 576 of file uw-smart-ofdm.cpp.
|
inlineprotectedvirtual |
To know the reason why a node is in this current state.
reason | is an UWSMARTOFDM_REASON_STATUS type. |
Definition at line 865 of file uw-smart-ofdm.h.
|
inlineprotectedvirtual |
Refreshes the states of the node.
The node save the information of three states, they are: previous to previous state, previous state and current state of the node.
state | which is an UWSMARTOFDM_STATUS type. |
Definition at line 853 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1727 of file uw-smart-ofdm.cpp.
|
protected |
resets value of car_assigned to FALSE
Definition at line 1920 of file uw-smart-ofdm.cpp.
|
inlineprotectedvirtual |
If a node is going to transmit a new packet, it resets the tx counter.
Definition at line 884 of file uw-smart-ofdm.h.
|
protectedvirtual |
If ACK packet is not received within the acknowledgement expire time.
Definition at line 1453 of file uw-smart-ofdm.cpp.
|
protectedvirtual |
Node is in BackoffCTS state.
Waits for a CTS from coordinator.
Definition at line 1430 of file uw-smart-ofdm.cpp.
|
protectedvirtual |
It checks whether the ack timer is already expired while it was busy with other activities.
Definition at line 1145 of file uw-smart-ofdm.cpp.
|
protectedvirtual |
It checks whether the backoff timer is already expired while it was busy with other activities.
Definition at line 1176 of file uw-smart-ofdm.cpp.
|
protectedvirtual |
It checks whether the CTS backoff timer is already expired while it was busy with other activities.
Definition at line 1206 of file uw-smart-ofdm.cpp.
|
protectedvirtual |
Node is in Idle state.
It only changes its state if it has packet(s) to transmit or it receives a packet.
Definition at line 1237 of file uw-smart-ofdm.cpp.
|
protectedvirtual |
The node comes to this state if it receives an ACK packet.
After receiving an ACK packet it changes it states according to the previously stored status information.
Definition at line 1660 of file uw-smart-ofdm.cpp.
|
protectedvirtual |
If a node start receiving a packet when it is in backoff state.
The node first freeze (or another word, hold) the backoff timer and start receiving the packet.
Definition at line 1471 of file uw-smart-ofdm.cpp.
|
protectedvirtual |
Definition at line 1343 of file uw-smart-ofdm.cpp.
|
protectedvirtual |
It process the packet which is received.
After receiving a packet it changes it states according to the previously stored status information.
<i>Data</i> | packet pointer |
Definition at line 1609 of file uw-smart-ofdm.cpp.
|
protectedvirtual |
If a node start receiving a packet in Idle state.
Definition at line 1445 of file uw-smart-ofdm.cpp.
|
protectedvirtual |
Definition at line 1324 of file uw-smart-ofdm.cpp.
|
protectedvirtual |
If a node receives any packet while it was waiting for ACK packet, it moves to this state.
The packet it is receiving can be a Data packet from another node or ACK packet.
Definition at line 1588 of file uw-smart-ofdm.cpp.
|
protectedvirtual |
Node is in sendRTS state.
It has sent a CTS to the node.
Definition at line 1402 of file uw-smart-ofdm.cpp.
|
protectedvirtual |
Node is in sendRTS state.
If a packet needs to be send and the carriers are not yet assigned to that node, an RTS is sent.
Definition at line 1287 of file uw-smart-ofdm.cpp.
|
protectedvirtual |
If the protocl uses ARQ technique, in that case, after receiving a Data packet the node sends an ACK packet.
Definition at line 1596 of file uw-smart-ofdm.cpp.
|
protectedvirtual |
If a node has packet to transmits.
In such case, it moves from Idle state to data transmits state.
Definition at line 1480 of file uw-smart-ofdm.cpp.
|
protectedvirtual |
After transmitting a Data packet, a node waits for the ACK packet.
Definition at line 1571 of file uw-smart-ofdm.cpp.
|
protectedvirtual |
Node is in waitCTS state.
Waits for a CTS from coordinator.
Definition at line 1421 of file uw-smart-ofdm.cpp.
|
protectedvirtual |
Definition at line 1687 of file uw-smart-ofdm.cpp.
|
protectedvirtual |
This methods transmits ACK packet from MAC layer to PHY layer.
dest_addr | which is an integer data type. |
Definition at line 1038 of file uw-smart-ofdm.cpp.
|
protectedvirtual |
This methods transmits CTS packet from MAC layer to PHY layer.
dest_addr | which is an integer data type. |
rcv_car | carriers received in the RTS |
bytesToSend | bytes requested by RTS |
Definition at line 1086 of file uw-smart-ofdm.cpp.
|
protectedvirtual |
This method transmits Data packets from MAC layer to PHY layer.
Definition at line 1022 of file uw-smart-ofdm.cpp.
|
protectedvirtual |
This methods transmits RTS packet from MAC layer to PHY layer.
dest_addr | which is an integer data type. |
Definition at line 1047 of file uw-smart-ofdm.cpp.
|
protectedvirtual |
Like updateRTT() function.
Definition at line 492 of file uw-smart-ofdm.cpp.
|
protected |
Definition at line 1736 of file uw-smart-ofdm.cpp.
|
inlineprotectedvirtual |
It updates the sequence number of the last data packet rx.
id | is an integer data type. |
Definition at line 934 of file uw-smart-ofdm.h.
|
protected |
updates occupancy table
busyCar | carriers to update in occupancy table |
ntslots | number of timeslots that will be reserved |
Definition at line 1891 of file uw-smart-ofdm.cpp.
|
protectedvirtual |
Update the Round Trip Time (RTT) which is necessary to compute the acknowledgement duration as well as backoff duration.
rtt | is a double data type. |
Definition at line 483 of file uw-smart-ofdm.cpp.
|
protectedvirtual |
Definition at line 1720 of file uw-smart-ofdm.cpp.
|
protected |
Enum variable.
It tells the node whether to use ARQ technique or not.
Definition at line 1210 of file uw-smart-ofdm.h.
|
protected |
Size of the ACK, if the node uses ARQ technique.
Definition at line 1120 of file uw-smart-ofdm.h.
|
protected |
ACK timeout for the initial packet.
Definition at line 1124 of file uw-smart-ofdm.h.
|
protected |
An object of the AckTimer class.
Definition at line 1188 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1251 of file uw-smart-ofdm.h.
|
protected |
This variable is used to tune the RTT.
Definition at line 1127 of file uw-smart-ofdm.h.
|
protected |
An object of the assignment timer class.
Definition at line 1194 of file uw-smart-ofdm.h.
|
protected |
An object of the assignment valid timer class.
Definition at line 1196 of file uw-smart-ofdm.h.
|
protected |
An object of the backoff timer class.
Definition at line 1189 of file uw-smart-ofdm.h.
|
protected |
Tunes the backoff duration.
Definition at line 1117 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1246 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1125 of file uw-smart-ofdm.h.
|
protected |
Number of packets a node can store in the container.
Definition at line 1126 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1144 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1143 of file uw-smart-ofdm.h.
|
staticprotected |
Container which stores all the packet type information of UWSmartOFDM.
Definition at line 1222 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1142 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1140 of file uw-smart-ofdm.h.
|
protected |
Size of the ACK, if the node uses SMARTOFDM.
Definition at line 1122 of file uw-smart-ofdm.h.
|
protected |
An object of the CTS timer class.
Definition at line 1190 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1171 of file uw-smart-ofdm.h.
|
protected |
Pointer of the latest selected data packet.
Definition at line 1182 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1245 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1243 of file uw-smart-ofdm.h.
|
protected |
Enum variable.
It stores the current state of a node
Definition at line 1201 of file uw-smart-ofdm.h.
|
protected |
How many times a packet is transmitted.
Definition at line 1173 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1147 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1146 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1240 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1141 of file uw-smart-ofdm.h.
|
protected |
Size of the DATA packet, if the node uses SMARTOFDM.
Definition at line 1123 of file uw-smart-ofdm.h.
|
protected |
An object of the DATA timer class.
Definition at line 1192 of file uw-smart-ofdm.h.
|
protected |
An object of ofstream class.
Definition at line 1230 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1257 of file uw-smart-ofdm.h.
|
protected |
Whether the node has buffer to store data or not.
Definition at line 1162 of file uw-smart-ofdm.h.
|
protected |
Size of the HDR if any.
Definition at line 1119 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1178 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1177 of file uw-smart-ofdm.h.
|
staticprotected |
It checks whether UWSmartOFDM protocol is initialized or not.
If FALSE means, not initialized and if TRUE means it is initialized
Definition at line 1153 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1259 of file uw-smart-ofdm.h.
|
protected |
The sequence number of last received packet.
Definition at line 1174 of file uw-smart-ofdm.h.
|
protected |
Enum variable which stores the last reason why a node changes its state.
Definition at line 1199 of file uw-smart-ofdm.h.
|
protected |
sequence number of the last sent packet
Definition at line 1158 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1135 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1139 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1136 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1138 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1137 of file uw-smart-ofdm.h.
Container where acknowledgement timer(s) is stored.
Definition at line 1227 of file uw-smart-ofdm.h.
|
protected |
Container where Data packets are stored.
Definition at line 1226 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1150 of file uw-smart-ofdm.h.
|
protected |
Maximum number of backoff it will consider while it increases the backoff exponentially.
Definition at line 1128 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1244 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1237 of file uw-smart-ofdm.h.
|
protected |
Maximum number of payload in a packet.
Definition at line 1118 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1242 of file uw-smart-ofdm.h.
|
protected |
Maximum number of retransmissions attempt.
Definition at line 1114 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1231 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1180 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1250 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1255 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1256 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1145 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1258 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1233 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1149 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1234 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1252 of file uw-smart-ofdm.h.
|
staticprotected |
Container which stores all the packet type information of UWSmartOFDM.
Definition at line 1219 of file uw-smart-ofdm.h.
|
protected |
Enum variable.
It stores the previous to previous state of a node
Definition at line 1206 of file uw-smart-ofdm.h.
|
protected |
Enum variable.
It stores the previous state of a node
Definition at line 1204 of file uw-smart-ofdm.h.
|
protected |
Whether to print the state of the nodes.
Definition at line 1160 of file uw-smart-ofdm.h.
|
staticprotected |
Speed of the sound signal.
Definition at line 1186 of file uw-smart-ofdm.h.
|
staticprotected |
Container which stores all the reason information.
Definition at line 1216 of file uw-smart-ofdm.h.
|
protected |
The sequence number of the packet which is received.
Definition at line 1175 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1238 of file uw-smart-ofdm.h.
|
protected |
Size of the ACK, if the node uses SMARTOFDM.
Definition at line 1121 of file uw-smart-ofdm.h.
|
protected |
An object of the RTS timer class.
Definition at line 1191 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1170 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1248 of file uw-smart-ofdm.h.
|
protected |
Number of RTT samples.
Definition at line 1169 of file uw-smart-ofdm.h.
|
protected |
Smoothed Round Trip Time, calculated as for TCP.
Definition at line 1166 of file uw-smart-ofdm.h.
|
protected |
Time when a packet start transmitting.
Definition at line 1165 of file uw-smart-ofdm.h.
|
staticprotected |
Container which stores all the status information.
Definition at line 1212 of file uw-smart-ofdm.h.
|
protected |
Sum of RTT samples.
Definition at line 1167 of file uw-smart-ofdm.h.
|
protected |
Sum of (RTT^2)
Definition at line 1168 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1236 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1235 of file uw-smart-ofdm.h.
|
protected |
Sequence number of the packet which is transmitted.
Definition at line 1184 of file uw-smart-ofdm.h.
|
protected |
Debuging Flag.
Definition at line 1131 of file uw-smart-ofdm.h.
|
protected |
This fixed time is used to componsate different time variations.
Definition at line 1115 of file uw-smart-ofdm.h.
|
protected |
Definition at line 1253 of file uw-smart-ofdm.h.