Non-gateway node MAC for reservation channel MAC protocol. More...
#include <uan-mac-rc.h>
Public Types | |
enum | { TYPE_DATA, TYPE_GWPING, TYPE_RTS, TYPE_CTS, TYPE_ACK } |
Packet types. More... | |
Public Member Functions | |
UanMacRc () | |
Default constructor. More... | |
virtual | ~UanMacRc () |
Dummy destructor, DoDispose. More... | |
int64_t | AssignStreams (int64_t stream) |
Assign a fixed random variable stream number to the random variables used by this model. More... | |
virtual void | AttachPhy (Ptr< UanPhy > phy) |
Attach PHY layer to this MAC. More... | |
virtual void | Clear (void) |
Clears all pointer references. More... | |
virtual bool | Enqueue (Ptr< Packet > pkt, const Address &dest, uint16_t protocolNumber) |
Enqueue packet to be transmitted. More... | |
virtual Address | GetAddress (void) |
Get the MAC Address. More... | |
virtual Address | GetBroadcast (void) const |
Get the broadcast address. More... | |
virtual void | SetAddress (UanAddress addr) |
Set the address. More... | |
virtual void | SetForwardUpCb (Callback< void, Ptr< Packet >, const UanAddress & > cb) |
Set the callback to forward packets up to higher layers. More... | |
Public Member Functions inherited from ns3::Object | |
Object () | |
virtual | ~Object () |
void | AggregateObject (Ptr< Object > other) |
void | Dispose (void) |
Run the DoDispose methods of this object and all the objects aggregated to it. More... | |
AggregateIterator | GetAggregateIterator (void) const |
virtual TypeId | GetInstanceTypeId (void) const |
template<typename T > | |
Ptr< T > | GetObject (void) const |
template<typename T > | |
Ptr< T > | GetObject (TypeId tid) const |
void | Initialize (void) |
This method calls the virtual DoInitialize method on all the objects aggregated to this object. More... | |
Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter > | |
SimpleRefCount () | |
Constructor. More... | |
SimpleRefCount (const SimpleRefCount &o) | |
Copy constructor. More... | |
uint32_t | GetReferenceCount (void) const |
Get the reference count of the object. More... | |
SimpleRefCount & | operator= (const SimpleRefCount &o) |
Assignment. More... | |
void | Ref (void) const |
Increment the reference count. More... | |
void | Unref (void) const |
Decrement the reference count. More... | |
Public Member Functions inherited from ns3::ObjectBase | |
virtual | ~ObjectBase () |
Virtual destructor. More... | |
void | GetAttribute (std::string name, AttributeValue &value) const |
bool | GetAttributeFailSafe (std::string name, AttributeValue &attribute) const |
void | SetAttribute (std::string name, const AttributeValue &value) |
bool | SetAttributeFailSafe (std::string name, const AttributeValue &value) |
bool | TraceConnect (std::string name, std::string context, const CallbackBase &cb) |
bool | TraceConnectWithoutContext (std::string name, const CallbackBase &cb) |
bool | TraceDisconnect (std::string name, std::string context, const CallbackBase &cb) |
bool | TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb) |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
Register this type. More... | |
Static Public Member Functions inherited from ns3::UanMac | |
static TypeId | GetTypeId (void) |
Register this type. More... | |
Static Public Member Functions inherited from ns3::Object | |
static TypeId | GetTypeId (void) |
Register this type. More... | |
Static Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter > | |
static void | Cleanup (void) |
Noop. More... | |
Static Public Member Functions inherited from ns3::ObjectBase | |
static TypeId | GetTypeId (void) |
Get the type ID. More... | |
Protected Member Functions | |
void | DoDispose () |
This method is called by Object::Dispose or by the object's destructor, whichever comes first. More... | |
Protected Member Functions inherited from ns3::Object | |
Object (const Object &o) | |
virtual void | DoInitialize (void) |
This method is called only once by Object::Initialize. More... | |
virtual void | NotifyNewAggregate (void) |
This method is invoked whenever two sets of objects are aggregated together. More... | |
Protected Member Functions inherited from ns3::ObjectBase | |
void | ConstructSelf (const AttributeConstructionList &attributes) |
virtual void | NotifyConstructionCompleted (void) |
This method is invoked once all member attributes have been initialized. More... | |
Private Types | |
enum | State { UNASSOCIATED, GWPSENT, IDLE, RTSSENT, DATATX } |
MAC state. More... | |
Private Member Functions | |
void | Associate (void) |
Associate with a gateway by sending the first GWPING. More... | |
void | AssociateTimeout (void) |
Periodically retry association. More... | |
void | BlockRtsing (void) |
Callback to block RST. More... | |
UanHeaderRcRts | CreateRtsHeader (const Reservation &res) |
Create the RTS header from a Reservation. More... | |
bool | IsPhy1Ok (void) |
Check that PHY is ok: not CTS or ACK not to my address. More... | |
void | ProcessAck (Ptr< Packet > ack) |
Process a received ACK. More... | |
void | ReceiveOkFromPhy (Ptr< Packet > pkt, double sinr, UanTxMode mode) |
PHY receive ok Callback. More... | |
void | RtsTimeout (void) |
Retry RTS. More... | |
void | ScheduleData (const UanHeaderRcCts &ctsh, const UanHeaderRcCtsGlobal &ctsg, uint32_t ctsBytes) |
Schedule Packet sends. More... | |
void | SendPacket (Ptr< Packet > pkt, uint32_t rate) |
Send on packet on the PHY. More... | |
void | SendRts (void) |
Send RTS packet. More... | |
Private Attributes | |
UanAddress | m_address |
My addrese.s. More... | |
UanAddress | m_assocAddr |
Next hop address. More... | |
bool | m_cleared |
Flag when we've been cleared. More... | |
uint32_t | m_ctsSizeG |
Size of UanHeaderCommon and UanHeaderRcCtsGlobal. More... | |
uint32_t | m_ctsSizeN |
Size of UanHeaderRcCts. More... | |
uint32_t | m_currentRate |
Rate number corresponding to data rate of current cycle. More... | |
TracedCallback< Ptr< const Packet >, uint16_t > | m_dequeueLogger |
A was passed down to the PHY from the MAC. More... | |
TracedCallback< Ptr< const Packet >, uint16_t > | m_enqueueLogger |
A packet arrived at the MAC for transmission. More... | |
Ptr< ExponentialRandomVariable > | m_ev |
Provides exponential random variables. More... | |
Callback< void, Ptr< Packet > , const UanAddress & > | m_forwardUpCb |
The callback to forward a packet up to higher layer. More... | |
uint8_t | m_frameNo |
Current frame number. More... | |
Time | m_learnedProp |
Propagation delay to gateway. More... | |
uint32_t | m_maxFrames |
Maximum number of frames to include in a single RTS. More... | |
double | m_minRetryRate |
Smallest allowed RTS retry rate. More... | |
uint32_t | m_numRates |
Number of rates per Phy layer. More... | |
Ptr< UanPhy > | m_phy |
PHY layer attached to this MAC. More... | |
std::list< std::pair< Ptr < Packet >, UanAddress > > | m_pktQueue |
Pending packets. More... | |
uint32_t | m_queueLimit |
Maximum packets to queue at MAC. More... | |
std::list< Reservation > | m_resList |
List of scheduled reservations. More... | |
double | m_retryRate |
Number of retry attempts per second (of RTS/GWPING. More... | |
double | m_retryStep |
Retry rate increment. More... | |
bool | m_rtsBlocked |
RTS blocked while processing ACK. More... | |
EventId | m_rtsEvent |
The RTS event. More... | |
TracedCallback< Ptr< const Packet >, UanTxMode > | m_rxLogger |
A packet was destined for and received at this MAC layer. More... | |
Time | m_sifs |
Spacing between frames to account for timing error and processing delay. More... | |
EventId | m_startAgain |
(Unused). More... | |
State | m_state |
MAC state. More... | |
Static Private Attributes | |
static uint32_t | m_cntrlSends = 0 |
Global count of calls to Associate, AssociateTimeout, SendRts, and RtsTimeout. More... | |
Non-gateway node MAC for reservation channel MAC protocol.
This MAC protocol assumes a network topology where all traffic is destined for a set of GW nodes which are connected via some out of band (RF?) means. This particular implementation assumes that there is only a single gateway.
For more information on class operation email lentr (This work is, as of yet, unpublished) acy@ u.was hing ton.e du
ns3::UanMacRc is accessible through the following paths with Config::Set and Config::Connect:
Definition at line 163 of file uan-mac-rc.h.
anonymous enum |
Packet types.
Enumerator | |
---|---|
TYPE_DATA |
Data. |
TYPE_GWPING |
Gateway ping. |
TYPE_RTS |
RTS. |
TYPE_CTS |
CTS. |
TYPE_ACK |
ACK. |
Definition at line 167 of file uan-mac-rc.h.
|
private |
MAC state.
Enumerator | |
---|---|
UNASSOCIATED |
Initial state. |
GWPSENT |
Associated with gateway. |
IDLE |
Finished scheduling packet sends. |
RTSSENT |
RTS just sent. |
DATATX |
(Unused). |
Definition at line 197 of file uan-mac-rc.h.
ns3::UanMacRc::UanMacRc | ( | ) |
Default constructor.
Definition at line 154 of file uan-mac-rc.cc.
References ns3::UanHeaderRcCtsGlobal::GetSerializedSize(), ns3::UanHeaderRcCts::GetSerializedSize(), m_ctsSizeG, m_ctsSizeN, and m_ev.
|
virtual |
Dummy destructor, DoDispose.
Definition at line 172 of file uan-mac-rc.cc.
|
virtual |
Assign a fixed random variable stream number to the random variables used by this model.
Return the number of streams (possibly zero) that have been assigned.
stream | First stream index to use. |
Implements ns3::UanMac.
Definition at line 267 of file uan-mac-rc.cc.
References m_ev, NS_LOG_FUNCTION, and ns3::RandomVariableStream::SetStream().
|
private |
Associate with a gateway by sending the first GWPING.
Definition at line 619 of file uan-mac-rc.cc.
References ns3::Packet::AddHeader(), ns3::Reservation::AddTimestamp(), AssociateTimeout(), CreateRtsHeader(), ns3::UanAddress::GetBroadcast(), ns3::ExponentialRandomVariable::GetValue(), GWPSENT, IsPhy1Ok(), ns3::EventId::IsRunning(), m_address, m_cntrlSends, m_currentRate, m_ev, m_frameNo, m_maxFrames, m_numRates, m_phy, m_pktQueue, m_resList, m_retryRate, m_rtsBlocked, m_rtsEvent, m_state, ns3::Simulator::Now(), NS_ASSERT, NS_LOG_DEBUG, ns3::Simulator::Schedule(), SendPacket(), ns3::ObjectBase::SetAttribute(), timeout, and TYPE_GWPING.
Referenced by Enqueue().
|
private |
Periodically retry association.
Definition at line 645 of file uan-mac-rc.cc.
References ns3::Packet::AddHeader(), CreateRtsHeader(), ns3::UanAddress::GetBroadcast(), ns3::ExponentialRandomVariable::GetValue(), GWPSENT, IsPhy1Ok(), ns3::EventId::IsRunning(), m_address, m_cntrlSends, m_currentRate, m_ev, m_numRates, m_phy, m_resList, m_retryRate, m_rtsBlocked, m_rtsEvent, m_state, ns3::Simulator::Now(), NS_ASSERT, ns3::Simulator::Schedule(), SendPacket(), ns3::ObjectBase::SetAttribute(), timeout, and TYPE_GWPING.
Referenced by Associate().
Attach PHY layer to this MAC.
Some MACs may be designed to work with multiple PHY layers. Others may only work with one.
phy | Phy layer to attach to this MAC. |
Implements ns3::UanMac.
Definition at line 329 of file uan-mac-rc.cc.
References m_phy, ns3::MakeCallback(), and ReceiveOkFromPhy().
|
private |
Callback to block RST.
Definition at line 772 of file uan-mac-rc.cc.
References m_rtsBlocked.
Referenced by ReceiveOkFromPhy().
|
virtual |
Clears all pointer references.
Implements ns3::UanMac.
Definition at line 177 of file uan-mac-rc.cc.
References ns3::EventId::Cancel(), m_cleared, m_phy, m_pktQueue, m_resList, m_rtsEvent, and m_startAgain.
Referenced by DoDispose().
|
private |
Create the RTS header from a Reservation.
res | The Reservation. |
Definition at line 606 of file uan-mac-rc.cc.
References ns3::Reservation::GetFrameNo(), ns3::Reservation::GetLength(), ns3::Reservation::GetNoFrames(), ns3::Reservation::GetRetryNo(), ns3::Reservation::GetTimestamp(), ns3::UanHeaderRcRts::SetFrameNo(), ns3::UanHeaderRcRts::SetLength(), ns3::UanHeaderRcRts::SetNoFrames(), ns3::UanHeaderRcRts::SetRetryNo(), and ns3::UanHeaderRcRts::SetTimeStamp().
Referenced by Associate(), AssociateTimeout(), RtsTimeout(), and SendRts().
|
protectedvirtual |
This method is called by Object::Dispose or by the object's destructor, whichever comes first.
Subclasses are expected to implement their real destruction code in an overriden version of this method and chain up to their parent's implementation once they are done. i.e., for simplicity, the destructor of every subclass should be empty and its content should be moved to the associated DoDispose method.
It is safe to call GetObject from within this method.
Reimplemented from ns3::Object.
Definition at line 201 of file uan-mac-rc.cc.
References Clear(), and ns3::Object::DoDispose().
|
virtual |
Enqueue packet to be transmitted.
pkt | Packet to be transmitted. |
dest | Destination address. |
protocolNumber | Protocol number. Usage varies by MAC. |
Implements ns3::UanMac.
Definition at line 287 of file uan-mac-rc.cc.
References Associate(), ns3::UanAddress::ConvertFrom(), DATATX, GWPSENT, IDLE, ns3::EventId::IsRunning(), m_pktQueue, m_queueLimit, m_rtsEvent, m_state, NS_LOG_WARN, RTSSENT, SendRts(), and UNASSOCIATED.
|
virtual |
Get the MAC Address.
Implements ns3::UanMac.
Definition at line 275 of file uan-mac-rc.cc.
References m_address.
Referenced by ReceiveOkFromPhy().
|
virtual |
Get the broadcast address.
Implements ns3::UanMac.
Definition at line 336 of file uan-mac-rc.cc.
References ns3::UanAddress::GetBroadcast().
|
static |
Register this type.
Definition at line 208 of file uan-mac-rc.cc.
References m_dequeueLogger, m_enqueueLogger, m_learnedProp, m_maxFrames, m_minRetryRate, m_numRates, m_queueLimit, m_retryRate, m_retryStep, m_rxLogger, m_sifs, ns3::MakeTimeChecker(), ns3::MakeTraceSourceAccessor(), and ns3::TypeId::SetParent().
|
private |
Check that PHY is ok: not CTS or ACK not to my address.
Definition at line 710 of file uan-mac-rc.cc.
References ns3::UanHeaderCommon::GetDest(), ns3::UanHeaderCommon::GetType(), m_address, m_phy, ns3::Packet::PeekHeader(), TYPE_ACK, and TYPE_CTS.
Referenced by Associate(), AssociateTimeout(), RtsTimeout(), and SendRts().
Process a received ACK.
ack | The ACK packet. |
Definition at line 554 of file uan-mac-rc.cc.
References ns3::UanHeaderRcAck::GetFrameNo(), ns3::UanHeaderRcAck::GetNackedFrames(), ns3::UanHeaderRcAck::GetNoNacks(), m_address, m_pktQueue, m_resList, ns3::Simulator::Now(), NS_LOG_DEBUG, and ns3::Packet::RemoveHeader().
Referenced by ReceiveOkFromPhy().
PHY receive ok Callback.
pkt | The received packet. |
sinr | (Unused). |
mode | Modulation mode. |
Definition at line 342 of file uan-mac-rc.cc.
References BlockRtsing(), GetAddress(), ns3::UanHeaderRcCts::GetAddress(), ns3::UanAddress::GetBroadcast(), ns3::UanHeaderCommon::GetDest(), ns3::UanHeaderRcCtsGlobal::GetRateNum(), ns3::UanHeaderRcCtsGlobal::GetRetryRate(), ns3::Time::GetSeconds(), ns3::UanHeaderCommon::GetSerializedSize(), ns3::Packet::GetSize(), ns3::UanHeaderCommon::GetSrc(), ns3::UanHeaderCommon::GetType(), ns3::UanHeaderRcCtsGlobal::GetWindowTime(), GWPSENT, m_address, m_assocAddr, m_currentRate, m_forwardUpCb, m_minRetryRate, m_retryRate, m_retryStep, m_rtsBlocked, m_rxLogger, m_state, ns3::Simulator::Now(), NS_FATAL_ERROR, NS_LOG_DEBUG, ProcessAck(), ns3::Packet::RemoveHeader(), RTSSENT, ns3::Simulator::Schedule(), ScheduleData(), ns3::UanHeaderRcCts::SetAddress(), TYPE_ACK, TYPE_CTS, TYPE_DATA, TYPE_GWPING, and TYPE_RTS.
Referenced by AttachPhy().
|
private |
Retry RTS.
Definition at line 733 of file uan-mac-rc.cc.
References ns3::Packet::AddHeader(), CreateRtsHeader(), ns3::UanAddress::GetBroadcast(), ns3::ExponentialRandomVariable::GetValue(), IsPhy1Ok(), ns3::EventId::IsRunning(), m_address, m_cntrlSends, m_currentRate, m_ev, m_numRates, m_phy, m_resList, m_retryRate, m_rtsBlocked, m_rtsEvent, m_state, ns3::Simulator::Now(), NS_ASSERT, NS_FATAL_ERROR, RTSSENT, ns3::Simulator::Schedule(), SendPacket(), ns3::ObjectBase::SetAttribute(), timeout, and TYPE_RTS.
Referenced by SendRts().
|
private |
Schedule Packet sends.
ctsh | The CTS header identifying the frame number and delay. |
ctsg | The CTS global header giving the transmit time stamp base. |
ctsBytes | Number of bytes total in CTS packet. |
Definition at line 433 of file uan-mac-rc.cc.
References ns3::Packet::AddHeader(), ns3::EventId::Cancel(), ns3::Packet::Copy(), ns3::UanHeaderRcCts::GetDelayToTx(), ns3::UanHeaderRcCts::GetFrameNo(), ns3::Time::GetSeconds(), ns3::Packet::GetSize(), ns3::UanHeaderRcCtsGlobal::GetTxTimeStamp(), ns3::ExponentialRandomVariable::GetValue(), GWPSENT, IDLE, ns3::EventId::IsRunning(), m_address, m_assocAddr, m_currentRate, m_ev, m_learnedProp, m_phy, m_pktQueue, m_resList, m_retryRate, m_rtsEvent, m_sifs, m_state, ns3::Simulator::Now(), NS_ASSERT, NS_FATAL_ERROR, NS_LOG_DEBUG, RTSSENT, ns3::Simulator::Schedule(), SendPacket(), SendRts(), ns3::ObjectBase::SetAttribute(), ns3::UanHeaderCommon::SetDest(), ns3::UanHeaderRcData::SetFrameNo(), ns3::UanHeaderRcData::SetPropDelay(), ns3::UanHeaderCommon::SetSrc(), ns3::UanHeaderCommon::SetType(), timeout, and TYPE_DATA.
Referenced by ReceiveOkFromPhy().
Send on packet on the PHY.
pkt | The packet. |
rate | The transmission rate. |
Definition at line 522 of file uan-mac-rc.cc.
References ns3::UanHeaderCommon::GetDest(), ns3::Packet::GetSize(), ns3::UanHeaderCommon::GetType(), m_address, m_dequeueLogger, m_phy, ns3::Simulator::Now(), NS_LOG_DEBUG, ns3::Packet::PeekHeader(), TYPE_ACK, TYPE_CTS, TYPE_DATA, TYPE_GWPING, and TYPE_RTS.
Referenced by Associate(), AssociateTimeout(), RtsTimeout(), ScheduleData(), and SendRts().
|
private |
Send RTS packet.
Definition at line 677 of file uan-mac-rc.cc.
References ns3::Packet::AddHeader(), CreateRtsHeader(), ns3::UanAddress::GetBroadcast(), ns3::ExponentialRandomVariable::GetValue(), IsPhy1Ok(), ns3::EventId::IsRunning(), m_address, m_cntrlSends, m_currentRate, m_ev, m_frameNo, m_maxFrames, m_numRates, m_phy, m_pktQueue, m_resList, m_retryRate, m_rtsBlocked, m_rtsEvent, m_state, ns3::Simulator::Now(), NS_ASSERT, RTSSENT, RtsTimeout(), ns3::Simulator::Schedule(), SendPacket(), ns3::ObjectBase::SetAttribute(), timeout, and TYPE_RTS.
Referenced by Enqueue(), and ScheduleData().
|
virtual |
Set the address.
addr | UanAddress for this MAC. |
Implements ns3::UanMac.
Definition at line 281 of file uan-mac-rc.cc.
References m_address.
|
virtual |
Set the callback to forward packets up to higher layers.
cb | The callback. packet The packet. address The source address. |
Implements ns3::UanMac.
Definition at line 323 of file uan-mac-rc.cc.
References m_forwardUpCb.
|
private |
My addrese.s.
Definition at line 209 of file uan-mac-rc.h.
Referenced by Associate(), AssociateTimeout(), GetAddress(), IsPhy1Ok(), ProcessAck(), ReceiveOkFromPhy(), RtsTimeout(), ScheduleData(), SendPacket(), SendRts(), and SetAddress().
|
private |
Next hop address.
Definition at line 211 of file uan-mac-rc.h.
Referenced by ReceiveOkFromPhy(), and ScheduleData().
|
private |
|
staticprivate |
Global count of calls to Associate, AssociateTimeout, SendRts, and RtsTimeout.
Definition at line 304 of file uan-mac-rc.h.
Referenced by Associate(), AssociateTimeout(), RtsTimeout(), and SendRts().
|
private |
Size of UanHeaderCommon and UanHeaderRcCtsGlobal.
Definition at line 225 of file uan-mac-rc.h.
Referenced by UanMacRc().
|
private |
|
private |
Rate number corresponding to data rate of current cycle.
Definition at line 214 of file uan-mac-rc.h.
Referenced by Associate(), AssociateTimeout(), ReceiveOkFromPhy(), RtsTimeout(), ScheduleData(), and SendRts().
|
private |
A was passed down to the PHY from the MAC.
Definition at line 242 of file uan-mac-rc.h.
Referenced by GetTypeId(), and SendPacket().
|
private |
A packet arrived at the MAC for transmission.
Definition at line 240 of file uan-mac-rc.h.
Referenced by GetTypeId().
|
private |
Provides exponential random variables.
Definition at line 307 of file uan-mac-rc.h.
Referenced by AssignStreams(), Associate(), AssociateTimeout(), RtsTimeout(), ScheduleData(), SendRts(), and UanMacRc().
|
private |
The callback to forward a packet up to higher layer.
Definition at line 235 of file uan-mac-rc.h.
Referenced by ReceiveOkFromPhy(), and SetForwardUpCb().
|
private |
Current frame number.
Definition at line 217 of file uan-mac-rc.h.
Referenced by Associate(), and SendRts().
|
private |
Propagation delay to gateway.
Definition at line 219 of file uan-mac-rc.h.
Referenced by GetTypeId(), and ScheduleData().
|
private |
Maximum number of frames to include in a single RTS.
Definition at line 215 of file uan-mac-rc.h.
Referenced by Associate(), GetTypeId(), and SendRts().
|
private |
Smallest allowed RTS retry rate.
Definition at line 221 of file uan-mac-rc.h.
Referenced by GetTypeId(), and ReceiveOkFromPhy().
|
private |
Number of rates per Phy layer.
Definition at line 213 of file uan-mac-rc.h.
Referenced by Associate(), AssociateTimeout(), GetTypeId(), RtsTimeout(), and SendRts().
PHY layer attached to this MAC.
Definition at line 212 of file uan-mac-rc.h.
Referenced by Associate(), AssociateTimeout(), AttachPhy(), Clear(), IsPhy1Ok(), RtsTimeout(), ScheduleData(), SendPacket(), and SendRts().
|
private |
Pending packets.
Definition at line 230 of file uan-mac-rc.h.
Referenced by Associate(), Clear(), Enqueue(), ProcessAck(), ScheduleData(), and SendRts().
|
private |
Maximum packets to queue at MAC.
Definition at line 216 of file uan-mac-rc.h.
Referenced by Enqueue(), and GetTypeId().
|
private |
List of scheduled reservations.
Definition at line 232 of file uan-mac-rc.h.
Referenced by Associate(), AssociateTimeout(), Clear(), ProcessAck(), RtsTimeout(), ScheduleData(), and SendRts().
|
private |
Number of retry attempts per second (of RTS/GWPING.
Definition at line 210 of file uan-mac-rc.h.
Referenced by Associate(), AssociateTimeout(), GetTypeId(), ReceiveOkFromPhy(), RtsTimeout(), ScheduleData(), and SendRts().
|
private |
Retry rate increment.
Definition at line 222 of file uan-mac-rc.h.
Referenced by GetTypeId(), and ReceiveOkFromPhy().
|
private |
RTS blocked while processing ACK.
Definition at line 206 of file uan-mac-rc.h.
Referenced by Associate(), AssociateTimeout(), BlockRtsing(), ReceiveOkFromPhy(), RtsTimeout(), and SendRts().
|
private |
The RTS event.
Definition at line 245 of file uan-mac-rc.h.
Referenced by Associate(), AssociateTimeout(), Clear(), Enqueue(), RtsTimeout(), ScheduleData(), and SendRts().
|
private |
A packet was destined for and received at this MAC layer.
Definition at line 238 of file uan-mac-rc.h.
Referenced by GetTypeId(), and ReceiveOkFromPhy().
|
private |
Spacing between frames to account for timing error and processing delay.
Definition at line 218 of file uan-mac-rc.h.
Referenced by GetTypeId(), and ScheduleData().
|
private |
|
private |
MAC state.
Definition at line 205 of file uan-mac-rc.h.
Referenced by Associate(), AssociateTimeout(), Enqueue(), ReceiveOkFromPhy(), RtsTimeout(), ScheduleData(), and SendRts().