ns3::NrCat4LbtAccessManager class

Class that implements the Cat2 LBT channel access manager algorithm.


Base classes

class NrLbtAccessManager
Class that implements the generic LBT channel access manager algorithm.

Public static functions

static auto GetTypeId(void) -> TypeId

Public functions

void SetNrGnbMac(Ptr<NrGnbMac> mac) override
Set MAC instance for this channel access manager.
void UpdateCwBasedOnHarq(const DlHarqInfo& harqFeedback)
Function that is called when the HARQ feedback is being received. The HARQ feedback is being processed and based on it is being decided if it is necessary to update the contention window.

Protected functions

auto GetBackoffSlots() -> uint32_t override
Get the number of backoff slots to be used in the current.

Function documentation

static TypeId ns3::NrCat4LbtAccessManager::GetTypeId(void)


void ns3::NrCat4LbtAccessManager::SetNrGnbMac(Ptr<NrGnbMac> mac) override

Set MAC instance for this channel access manager.

Parameters
mac gNB mac instance

void ns3::NrCat4LbtAccessManager::UpdateCwBasedOnHarq(const DlHarqInfo& harqFeedback)

Function that is called when the HARQ feedback is being received. The HARQ feedback is being processed and based on it is being decided if it is necessary to update the contention window.

Parameters
harqFeedback the list of HARQ feedbacks

uint32_t ns3::NrCat4LbtAccessManager::GetBackoffSlots() override protected

Get the number of backoff slots to be used in the current.

Returns the random number of backoff slots