A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
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.
 
void NotifyHarqDeliveryFailure () override
 Called by the MAC to notify the RLC that an HARQ process related to this RLC instance has failed.
 
void NotifyPrbOccupancy (double prbOccupancy, uint8_t componentCarrierId) override
 Notifies component carrier manager about physical resource block occupancy.
 
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.
 
void ReceivePdu (LteMacSapUser::ReceivePduParameters rxPduParams) override
 Called by the MAC to notify the RLC of the reception of a new PDU.
 
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.
 
void UlReceiveSr (uint16_t rnti, uint8_t componentCarrierId) override
 The MAC received a SR.
 
- 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
 

Detailed Description

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

MemberLteCcmMacSapUser class.

Definition at line 137 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 160 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 202 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 181 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 188 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 195 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 167 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 174 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 156 of file lte-ccm-mac-sap.h.


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