A Discrete-Event Network Simulator
API
Public Member Functions | List of all members
ns3::LteUeCphySapProvider Class Referenceabstract

Service Access Point (SAP) offered by the UE PHY to the UE RRC for control purposes. More...

#include "lte-ue-cphy-sap.h"

+ Inheritance diagram for ns3::LteUeCphySapProvider:

Public Member Functions

virtual ~LteUeCphySapProvider ()
 destructor More...
 
virtual void ConfigureReferenceSignalPower (int8_t referenceSignalPower)=0
 Configure referenceSignalPower. More...
 
virtual void ConfigureUplink (uint32_t ulEarfcn, uint8_t ulBandwidth)=0
 Configure uplink (normally done after reception of SIB2) More...
 
virtual void Reset ()=0
 reset the PHY More...
 
virtual void SetDlBandwidth (uint8_t dlBandwidth)=0
 
virtual void SetPa (double pa)=0
 
virtual void SetRnti (uint16_t rnti)=0
 
virtual void SetSrsConfigurationIndex (uint16_t srcCi)=0
 
virtual void SetTransmissionMode (uint8_t txMode)=0
 
virtual void StartCellSearch (uint32_t dlEarfcn)=0
 Tell the PHY entity to listen to PSS from surrounding cells and measure the RSRP. More...
 
virtual void SynchronizeWithEnb (uint16_t cellId)=0
 Tell the PHY entity to synchronize with a given eNodeB over the currently active EARFCN for communication purposes. More...
 
virtual void SynchronizeWithEnb (uint16_t cellId, uint32_t dlEarfcn)=0
 Tell the PHY entity to align to the given EARFCN and synchronize with a given eNodeB for communication purposes. More...
 

Detailed Description

Service Access Point (SAP) offered by the UE PHY to the UE RRC for control purposes.

This is the PHY SAP Provider, i.e., the part of the SAP that contains the PHY methods called by the MAC

Definition at line 41 of file lte-ue-cphy-sap.h.

Constructor & Destructor Documentation

◆ ~LteUeCphySapProvider()

ns3::LteUeCphySapProvider::~LteUeCphySapProvider ( )
virtual

destructor

Definition at line 25 of file lte-ue-cphy-sap.cc.

Member Function Documentation

◆ ConfigureReferenceSignalPower()

virtual void ns3::LteUeCphySapProvider::ConfigureReferenceSignalPower ( int8_t  referenceSignalPower)
pure virtual

Configure referenceSignalPower.

Parameters
referenceSignalPowerreceived from eNB in SIB2

Implemented in ns3::MemberLteUeCphySapProvider< C >.

◆ ConfigureUplink()

virtual void ns3::LteUeCphySapProvider::ConfigureUplink ( uint32_t  ulEarfcn,
uint8_t  ulBandwidth 
)
pure virtual

Configure uplink (normally done after reception of SIB2)

Parameters
ulEarfcnthe uplink carrier frequency (EARFCN)
ulBandwidththe UL bandwidth in number of PRBs

Implemented in ns3::MemberLteUeCphySapProvider< C >.

◆ Reset()

virtual void ns3::LteUeCphySapProvider::Reset ( )
pure virtual

reset the PHY

Implemented in ns3::MemberLteUeCphySapProvider< C >.

◆ SetDlBandwidth()

virtual void ns3::LteUeCphySapProvider::SetDlBandwidth ( uint8_t  dlBandwidth)
pure virtual
Parameters
dlBandwidththe DL bandwidth in number of PRBs

Implemented in ns3::MemberLteUeCphySapProvider< C >.

◆ SetPa()

virtual void ns3::LteUeCphySapProvider::SetPa ( double  pa)
pure virtual
Parameters
pathe P_A value

Implemented in ns3::MemberLteUeCphySapProvider< C >.

◆ SetRnti()

virtual void ns3::LteUeCphySapProvider::SetRnti ( uint16_t  rnti)
pure virtual
Parameters
rntithe cell-specific UE identifier

Implemented in ns3::MemberLteUeCphySapProvider< C >.

◆ SetSrsConfigurationIndex()

virtual void ns3::LteUeCphySapProvider::SetSrsConfigurationIndex ( uint16_t  srcCi)
pure virtual
Parameters
srcCithe SRS configuration index

Implemented in ns3::MemberLteUeCphySapProvider< C >.

◆ SetTransmissionMode()

virtual void ns3::LteUeCphySapProvider::SetTransmissionMode ( uint8_t  txMode)
pure virtual
Parameters
txModethe transmissionMode of the user

Implemented in ns3::MemberLteUeCphySapProvider< C >.

◆ StartCellSearch()

virtual void ns3::LteUeCphySapProvider::StartCellSearch ( uint32_t  dlEarfcn)
pure virtual

Tell the PHY entity to listen to PSS from surrounding cells and measure the RSRP.

Parameters
dlEarfcnthe downlink carrier frequency (EARFCN) to listen to

This function will instruct this PHY instance to listen to the DL channel over the bandwidth of 6 RB at the frequency associated with the given EARFCN.

After this, it will start receiving Primary Synchronization Signal (PSS) and periodically returning measurement reports to RRC via LteUeCphySapUser::ReportUeMeasurements function.

Implemented in ns3::MemberLteUeCphySapProvider< C >.

◆ SynchronizeWithEnb() [1/2]

virtual void ns3::LteUeCphySapProvider::SynchronizeWithEnb ( uint16_t  cellId)
pure virtual

Tell the PHY entity to synchronize with a given eNodeB over the currently active EARFCN for communication purposes.

Parameters
cellIdthe ID of the eNodeB to synchronize with

By synchronizing, the PHY will start receiving various information transmitted by the eNodeB. For instance, when receiving system information, the message will be relayed to RRC via LteUeCphySapUser::RecvMasterInformationBlock and LteUeCphySapUser::RecvSystemInformationBlockType1 functions.

Initially, the PHY will be configured to listen to 6 RBs of BCH. LteUeCphySapProvider::SetDlBandwidth can be called afterwards to increase the bandwidth.

Implemented in ns3::MemberLteUeCphySapProvider< C >.

◆ SynchronizeWithEnb() [2/2]

virtual void ns3::LteUeCphySapProvider::SynchronizeWithEnb ( uint16_t  cellId,
uint32_t  dlEarfcn 
)
pure virtual

Tell the PHY entity to align to the given EARFCN and synchronize with a given eNodeB for communication purposes.

Parameters
cellIdthe ID of the eNodeB to synchronize with
dlEarfcnthe downlink carrier frequency (EARFCN)

By synchronizing, the PHY will start receiving various information transmitted by the eNodeB. For instance, when receiving system information, the message will be relayed to RRC via LteUeCphySapUser::RecvMasterInformationBlock and LteUeCphySapUser::RecvSystemInformationBlockType1 functions.

Initially, the PHY will be configured to listen to 6 RBs of BCH. LteUeCphySapProvider::SetDlBandwidth can be called afterwards to increase the bandwidth.

Implemented in ns3::MemberLteUeCphySapProvider< C >.


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