5G-LENA nr-v3.3-81-g75c7590d
The 5G/NR module for the ns-3 simulator
Loading...
Searching...
No Matches
ns3::NrControlMessage Class Reference

The NrControlMessage class. More...

#include "nr-control-messages.h"

+ Inheritance diagram for ns3::NrControlMessage:
+ Collaboration diagram for ns3::NrControlMessage:

Public Types

enum  messageType {
  UL_DCI , DL_DCI , DL_CQI , MIB ,
  SIB1 , RACH_PREAMBLE , RAR , BSR ,
  DL_HARQ , SR , SRS
}
 The Message Type. More...
 

Public Member Functions

 NrControlMessage ()
 NrControlMessage.
 
virtual ~NrControlMessage ()
 ~NrControlMessage
 
messageType GetMessageType () const
 Get the MessageType.
 
uint16_t GetSourceBwp () const
 
void SetSourceBwp (uint16_t bwpId)
 Set the BWP in which this message has been generated.
 

Protected Member Functions

void SetMessageType (messageType type)
 Set the MessageType.
 

Detailed Description

The NrControlMessage class.

Base class for all the messages types that the UE and the GNB can exchange. The use is not usually involved in the message creation; however, you can read them with the trace sources that are at your disposal in the MAC and PHY classes.

Definition at line 38 of file nr-control-messages.h.

Member Enumeration Documentation

◆ messageType

The Message Type.

Enumerator
UL_DCI 

The resources allocation map from the BS to the attached UEs (UL)

DL_DCI 

The resources allocation map from the BS to the attached UEs (DL)

DL_CQI 

DL CQI message.

MIB 

Master Information Block.

SIB1 

System Information Block Type 1.

RACH_PREAMBLE 

Random Access Preamble.

RAR 

Random Access Response.

BSR 

Buffer Status Report.

DL_HARQ 

DL HARQ feedback.

SR 

Scheduling Request: asking for space.

SRS 

SRS.

Definition at line 44 of file nr-control-messages.h.

Constructor & Destructor Documentation

◆ NrControlMessage()

ns3::NrControlMessage::NrControlMessage ( )

NrControlMessage.

Definition at line 14 of file nr-control-messages.cc.

◆ ~NrControlMessage()

ns3::NrControlMessage::~NrControlMessage ( )
virtual

~NrControlMessage

Definition at line 19 of file nr-control-messages.cc.

Member Function Documentation

◆ GetMessageType()

NrControlMessage::messageType ns3::NrControlMessage::GetMessageType ( ) const

Get the MessageType.

Returns
the message type

Definition at line 31 of file nr-control-messages.cc.

◆ GetSourceBwp()

uint16_t ns3::NrControlMessage::GetSourceBwp ( ) const
Returns
the BWP in which this message has been generated

If SetSourceBwp() is not called beforehand, the method will ABORT.

Definition at line 43 of file nr-control-messages.cc.

◆ SetMessageType()

◆ SetSourceBwp()

void ns3::NrControlMessage::SetSourceBwp ( uint16_t  bwpId)

Set the BWP in which this message has been generated.

Parameters
bwpIdthe BwpId

Definition at line 37 of file nr-control-messages.cc.


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