A Discrete-Event Network Simulator
API
Public Member Functions | Private Attributes | List of all members
ns3::MemberLteCcmMacSapUser< C > Class Template Reference

MemberLteCcmMacSapUser class. More...

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

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

Public Member Functions

 MemberLteCcmMacSapUser (C *owner)
 Constructor. More...
 
virtual void NotifyHarqDeliveryFailure ()
 Called by the MAC to notify the RLC that an HARQ process related to this RLC instance has failed. More...
 
virtual void NotifyPrbOccupancy (double prbOccupancy, uint8_t componentCarrierId)
 Notifies component carrier manager about physical resource block occupancy. More...
 
virtual void NotifyTxOpportunity (uint32_t bytes, uint8_t layer, uint8_t harqId, uint8_t componentCarrierId, uint16_t rnti, uint8_t lcid)
 Called by the MAC to notify the RLC that the scheduler granted a transmission opportunity to this RLC instance. More...
 
virtual void ReceivePdu (Ptr< Packet > p, uint16_t rnti, uint8_t lcid)
 Called by the MAC to notify the RLC of the reception of a new PDU. More...
 
virtual void UlReceiveMacCe (MacCeListElement_s bsr, uint8_t componentCarrierId)
 When the Primary Component carrier receive a buffer status report it is sent to the CCM. More...
 
- Public Member Functions inherited from ns3::LteCcmMacSapUser
virtual ~LteCcmMacSapUser ()
 
- 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 124 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 147 of file lte-ccm-mac-sap.h.

Member Function Documentation

◆ NotifyHarqDeliveryFailure()

template<class C >
void ns3::MemberLteCcmMacSapUser< C >::NotifyHarqDeliveryFailure ( )
virtual

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 177 of file lte-ccm-mac-sap.h.

◆ NotifyPrbOccupancy()

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

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 159 of file lte-ccm-mac-sap.h.

◆ NotifyTxOpportunity()

template<class C >
void ns3::MemberLteCcmMacSapUser< C >::NotifyTxOpportunity ( uint32_t  bytes,
uint8_t  layer,
uint8_t  harqId,
uint8_t  componentCarrierId,
uint16_t  rnti,
uint8_t  lcid 
)
virtual

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

Parameters
bytesthe number of bytes to transmit
layerthe layer of transmission (MIMO)
harqIdthe HARQ ID
componentCarrierIdcomponent carrier ID
rntithe RNTI
lcidthe LCID

Implements ns3::LteMacSapUser.

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

◆ ReceivePdu()

template<class C >
void ns3::MemberLteCcmMacSapUser< C >::ReceivePdu ( Ptr< Packet p,
uint16_t  rnti,
uint8_t  lcid 
)
virtual

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

Parameters
pthe packet
rntithe RNTI
lcidthe LCID

Implements ns3::LteMacSapUser.

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

◆ UlReceiveMacCe()

template<class C >
void ns3::MemberLteCcmMacSapUser< C >::UlReceiveMacCe ( MacCeListElement_s  bsr,
uint8_t  componentCarrierId 
)
virtual

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 153 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 143 of file lte-ccm-mac-sap.h.


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