A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ns3::EdcaTxopN::Dcf Class Reference
+ Inheritance diagram for ns3::EdcaTxopN::Dcf:

Public Member Functions

 Dcf (EdcaTxopN *txop)
 
- Public Member Functions inherited from ns3::DcfState
uint32_t GetAifsn (void) const
 
uint32_t GetCw (void) const
 
uint32_t GetCwMax (void) const
 
uint32_t GetCwMin (void) const
 
bool IsAccessRequested (void) const
 
void ResetCw (void)
 
void SetAifsn (uint32_t aifsn)
 
void SetCwMax (uint32_t maxCw)
 
void SetCwMin (uint32_t minCw)
 
void StartBackoffNow (uint32_t nSlots)
 
void UpdateFailedCw (void)
 

Private Member Functions

virtual void DoNotifyAccessGranted (void)
 
virtual void DoNotifyChannelSensing (void)
 
virtual void DoNotifyChannelSwitching (Time duration, uint16_t toChannel)
 
virtual void DoNotifyCollision (void)
 
virtual void DoNotifyInternalCollision (void)
 

Private Attributes

EdcaTxopNm_txop
 

Detailed Description

Definition at line 45 of file edca-txop-n.cc.

Member Function Documentation

virtual void ns3::EdcaTxopN::Dcf::DoNotifyAccessGranted ( void  )
inlineprivatevirtual

Called by DcfManager to notify a DcfState subclass that access to the medium is granted and can start immediately.

Implements ns3::DcfState.

Definition at line 53 of file edca-txop-n.cc.

virtual void ns3::EdcaTxopN::Dcf::DoNotifyChannelSwitching ( Time  duration,
uint16_t  toChannel 
)
inlineprivatevirtual

Called by DcfManager to notify a DcfState subclass that a channel switching occured.

The subclass is expected to flush the queue of packets.

Implements ns3::DcfState.

Definition at line 65 of file edca-txop-n.cc.

References ns3::EdcaTxopN::NotifyChannelSwitching().

virtual void ns3::EdcaTxopN::Dcf::DoNotifyCollision ( void  )
inlineprivatevirtual

Called by DcfManager to notify a DcfState subclass that a normal collision occured, that is, that the medium was busy when access was requested.

The subclass is expected to start a new backoff by calling DcfState::StartBackoffNow and DcfManager::RequestAccess is access is still needed.

Implements ns3::DcfState.

Definition at line 61 of file edca-txop-n.cc.

virtual void ns3::EdcaTxopN::Dcf::DoNotifyInternalCollision ( void  )
inlineprivatevirtual

Called by DcfManager to notify a DcfState subclass that an 'internal' collision occured, that is, that the backoff timer of a higher priority DcfState expired at the same time and that access was granted to this higher priority DcfState.

The subclass is expected to start a new backoff by calling DcfState::StartBackoffNow and DcfManager::RequestAccess is access is still needed.

Implements ns3::DcfState.

Definition at line 57 of file edca-txop-n.cc.


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