A Discrete-Event Network Simulator
API
ns3::MemberLteCcmMacSapUser< C > Class Template Reference

MemberLteCcmMacSapUser class. More...

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

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

Public Member Functions

 MemberLteCcmMacSapUser (C *owner)
 Constructor. More...
 
void NotifyHarqDeliveryFailure () override
 Called by the MAC to notify the RLC that an HARQ process related to this RLC instance has failed. More...
 
void NotifyPrbOccupancy (double prbOccupancy, uint8_t componentCarrierId) override
 Notifies component carrier manager about physical resource block occupancy. More...
 
void NotifyTxOpportunity (LteMacSapUser::TxOpportunityParameters txOpParams) override
 Called by the MAC to notify the RLC that the scheduler granted a transmission opportunity to this RLC instance. More...
 
void ReceivePdu (LteMacSapUser::ReceivePduParameters rxPduParams) override
 Called by the MAC to notify the RLC of the reception of a new PDU. More...
 
void UlReceiveMacCe (MacCeListElement_s bsr, uint8_t componentCarrierId) override
 When the Primary Component carrier receive a buffer status report it is sent to the CCM. More...
 
void UlReceiveSr (uint16_t rnti, uint8_t componentCarrierId) override
 The MAC received a SR. More...
 
- Public Member Functions inherited from ns3::LteCcmMacSapUser
 ~LteCcmMacSapUser () override
 
- Public Member Functions inherited from ns3::LteMacSapUser
virtual ~LteMacSapUser ()
 

Private Attributes

C * m_owner
 the owner class More...
 

Detailed Description

template<class C>
class ns3::MemberLteCcmMacSapUser< C >

MemberLteCcmMacSapUser class.

Definition at line 148 of file lte-ccm-mac-sap.h.

Constructor & Destructor Documentation

◆ MemberLteCcmMacSapUser()

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

Constructor.

Parameters
ownerthe owner class

Definition at line 171 of file lte-ccm-mac-sap.h.

Member Function Documentation

◆ NotifyHarqDeliveryFailure()

template<class C >
void ns3::MemberLteCcmMacSapUser< 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::LteMacSapUser.

Definition at line 213 of file lte-ccm-mac-sap.h.

◆ NotifyPrbOccupancy()

template<class C >
void ns3::MemberLteCcmMacSapUser< 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::LteCcmMacSapUser.

Definition at line 192 of file lte-ccm-mac-sap.h.

◆ NotifyTxOpportunity()

template<class C >
void ns3::MemberLteCcmMacSapUser< C >::NotifyTxOpportunity ( LteMacSapUser::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::LteMacSapUser.

Definition at line 199 of file lte-ccm-mac-sap.h.

◆ ReceivePdu()

template<class C >
void ns3::MemberLteCcmMacSapUser< C >::ReceivePdu ( LteMacSapUser::ReceivePduParameters  params)
overridevirtual

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

Parameters
paramsthe ReceivePduParameters

Implements ns3::LteMacSapUser.

Definition at line 206 of file lte-ccm-mac-sap.h.

◆ UlReceiveMacCe()

template<class C >
void ns3::MemberLteCcmMacSapUser< C >::UlReceiveMacCe ( 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::LteCcmMacSapUser.

Definition at line 178 of file lte-ccm-mac-sap.h.

◆ UlReceiveSr()

template<class C >
void ns3::MemberLteCcmMacSapUser< 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::LteCcmMacSapUser.

Definition at line 185 of file lte-ccm-mac-sap.h.

Member Data Documentation

◆ m_owner

template<class C >
C* ns3::MemberLteCcmMacSapUser< C >::m_owner
private

the owner class

Definition at line 167 of file lte-ccm-mac-sap.h.


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