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 | |
EdcaTxopN * | m_txop |
Definition at line 45 of file edca-txop-n.cc.
|
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.
|
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().
|
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.
|
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.