5G-LENA nr-v4.0
The 5G/NR module for the ns-3 simulator
Loading...
Searching...
No Matches
ns3::MemberNrCcmMacSapUser< C > Class Template Reference

MemberNrCcmMacSapUser class. More...

#include "nr-ccm-mac-sap.h"

+ Inheritance diagram for ns3::MemberNrCcmMacSapUser< C >:
+ Collaboration diagram for ns3::MemberNrCcmMacSapUser< C >:

Public Member Functions

 MemberNrCcmMacSapUser (C *owner)
 
void NotifyHarqDeliveryFailure () override
 
void NotifyPrbOccupancy (double prbOccupancy, uint8_t componentCarrierId) override
 Notifies component carrier manager about physical resource block occupancy.
 
void NotifyTxOpportunity (NrMacSapUser::TxOpportunityParameters txOpParams) override
 
void ReceivePdu (NrMacSapUser::ReceivePduParameters rxPduParams) override
 
void UlReceiveMacCe (nr::MacCeListElement_s bsr, uint8_t componentCarrierId) override
 When the Primary Component carrier receive a buffer status report it is sent to the CCM.
 
void UlReceiveSr (uint16_t rnti, uint8_t componentCarrierId) override
 The MAC received a SR.
 

Detailed Description

template<class C>
class ns3::MemberNrCcmMacSapUser< C >

MemberNrCcmMacSapUser class.

Definition at line 133 of file nr-ccm-mac-sap.h.

Constructor & Destructor Documentation

◆ MemberNrCcmMacSapUser()

template<class C >
ns3::MemberNrCcmMacSapUser< C >::MemberNrCcmMacSapUser ( C *  owner)

Constructor

Parameters
ownerthe owner class

Definition at line 156 of file nr-ccm-mac-sap.h.

Member Function Documentation

◆ NotifyHarqDeliveryFailure()

template<class C >
void ns3::MemberNrCcmMacSapUser< C >::NotifyHarqDeliveryFailure ( )
overridevirtual

Called by the MAC to notify the RLC that an HARQ process related to this RLC instance has failed

Todo:
eventual parameters to be defined

Implements ns3::NrMacSapUser.

Definition at line 198 of file nr-ccm-mac-sap.h.

◆ NotifyPrbOccupancy()

template<class C >
void ns3::MemberNrCcmMacSapUser< C >::NotifyPrbOccupancy ( double  prbOccupancy,
uint8_t  componentCarrierId 
)
overridevirtual

Notifies component carrier manager about physical resource block occupancy.

Parameters
prbOccupancyThe physical resource block occupancy
componentCarrierIdThe component carrier id

Implements ns3::NrCcmMacSapUser.

Definition at line 177 of file nr-ccm-mac-sap.h.

◆ NotifyTxOpportunity()

template<class C >
void ns3::MemberNrCcmMacSapUser< C >::NotifyTxOpportunity ( NrMacSapUser::TxOpportunityParameters  params)
overridevirtual

Called by the MAC to notify the RLC that the scheduler granted a transmission opportunity to this RLC instance.

Parameters
paramsthe TxOpportunityParameters

Implements ns3::NrMacSapUser.

Definition at line 184 of file nr-ccm-mac-sap.h.

◆ ReceivePdu()

template<class C >
void ns3::MemberNrCcmMacSapUser< C >::ReceivePdu ( NrMacSapUser::ReceivePduParameters  params)
overridevirtual

Called by the MAC to notify the RLC of the reception of a new PDU

Parameters
paramsthe ReceivePduParameters

Implements ns3::NrMacSapUser.

Definition at line 191 of file nr-ccm-mac-sap.h.

◆ UlReceiveMacCe()

template<class C >
void ns3::MemberNrCcmMacSapUser< C >::UlReceiveMacCe ( nr::MacCeListElement_s  bsr,
uint8_t  componentCarrierId 
)
overridevirtual

When the Primary Component carrier receive a buffer status report it is sent to the CCM.

Parameters
bsrBuffer Status Report received from a Ue
componentCarrierId

Implements ns3::NrCcmMacSapUser.

Definition at line 163 of file nr-ccm-mac-sap.h.

◆ UlReceiveSr()

template<class C >
void ns3::MemberNrCcmMacSapUser< C >::UlReceiveSr ( uint16_t  rnti,
uint8_t  componentCarrierId 
)
overridevirtual

The MAC received a SR.

Parameters
rntiRNTI of the UE that requested a SR
componentCarrierIdCC that received the SR

NOTE: Not implemented in the LTE module. The FemtoForum API requires that this function gets as parameter a struct SchedUlSrInfoReqParameters. However, that struct has the SfnSf as a member: since it differs from LTE to mmwave/NR, and we don't have an effective strategy to deal with that, we limit the function to the only thing that the module have in common: the RNTI.

Implements ns3::NrCcmMacSapUser.

Definition at line 170 of file nr-ccm-mac-sap.h.


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