DESERT 3.5.1
|
#include <mac.h>
#include <mmac.h>
#include <iostream>
#include <string>
#include <map>
#include <set>
#include <utility>
#include <fstream>
#include <mphy.h>
Go to the source code of this file.
Classes | |
class | MMacUWSR |
class | MMacUWSR::UWSRTimer |
class | MMacUWSR::BackOffTimer |
class | MMacUWSR::AckTimer |
class | MMacUWSR::ListenTimer |
class | MMacUWSR::WaitTxTimer |
Macros | |
#define | UWSR_DROP_REASON_WRONG_STATE "WST" |
#define | UWSR_DROP_REASON_WRONG_RECEIVER "WRCV" |
#define | UWSR_DROP_REASON_UNKNOWN_TYPE "UPT" |
#define | UWSR_DROP_REASON_BUFFER_FULL "DBF" |
#define | UWSR_DROP_REASON_ERROR "ERR" |
Typedefs | |
typedef int | pktSeqNum |
typedef double | txStartTime |
typedef int | macAddress |
typedef int | txRounds |
typedef pair< macAddress, pktSeqNum > | usrPair |
typedef pair< double, double > | rttPair |
typedef pair< int, int > | txStatusPair |
Variables | |
packet_t | PT_MMAC_ACK |
UnderWater Selective Repeat (UWSR) this is basically a selective repeat ARQ protocol that coordinates the transmitter and receiver in time. In more detail, the transmitter sends Data packets and waits for a given time period between subsequent packets; the receiver knows the timing of the transmitter and sends acknowledgement (ACK) packets so that they arrive at the transmitter when it is listening. The protocol is effective because the channel propagation delay, underwater, is sufficiently large to accommodate more than one packet transmission within one round-trip time (RTT). Some parameters of the protocol can be tuned: for example, setting a higher number of packets to be transmitted within one RTT makes the transmission process more efficient, but also more prone to interference in a multiuser network.
Definition in file uwsr.h.
typedef int macAddress |
typedef double txStartTime |
typedef pair<int, int> txStatusPair |
typedef pair<macAddress, pktSeqNum> usrPair |
|
extern |
Definition at line 44 of file DESERT_Framework/DESERT/data_link/uw-smart-ofdm/initlib.cpp.