22 #ifndef LTE_UE_CPHY_SAP_H 23 #define LTE_UE_CPHY_SAP_H 28 #include <ns3/lte-rrc-sap.h> 33 class LteEnbNetDevice;
54 virtual void Reset () = 0;
117 virtual void ConfigureUplink (uint32_t ulEarfcn, uint16_t ulBandwidth) = 0;
131 virtual void SetRnti (uint16_t rnti) = 0;
152 virtual void SetPa (
double pa) = 0;
197 virtual void SetImsi (uint64_t imsi) = 0;
315 virtual void Reset ();
320 virtual void ConfigureUplink (uint32_t ulEarfcn, uint16_t ulBandwidth);
322 virtual void SetRnti (uint16_t rnti);
325 virtual void SetPa (
double pa);
330 virtual void SetImsi (uint64_t imsi);
359 m_owner->DoStartCellSearch (dlEarfcn);
366 m_owner->DoSynchronizeWithEnb (cellId);
373 m_owner->DoSynchronizeWithEnb (cellId, dlEarfcn);
380 m_owner->DoSetDlBandwidth (dlBandwidth);
387 m_owner->DoConfigureUplink (ulEarfcn, ulBandwidth);
394 m_owner->DoConfigureReferenceSignalPower (referenceSignalPower);
401 m_owner->DoSetRnti (rnti);
408 m_owner->DoSetTransmissionMode (txMode);
415 m_owner->DoSetSrsConfigurationIndex (srcCi);
422 m_owner->DoSetPa (pa);
429 m_owner->DoSetRsrpFilterCoefficient (rsrpFilterCoefficient);
436 m_owner->DoResetPhyAfterRlf ();
442 m_owner->DoResetRlfParams ();
448 m_owner->DoStartInSnycDetection ();
454 m_owner->DoSetImsi (imsi);
506 m_owner->DoRecvMasterInformationBlock (cellId, mib);
514 m_owner->DoRecvSystemInformationBlockType1 (cellId, sib1);
521 m_owner->DoReportUeMeasurements (params);
528 m_owner->DoNotifyOutOfSync ();
535 m_owner->DoNotifyInSync ();
542 m_owner->DoResetSyncIndicationCounter ();
549 #endif // LTE_UE_CPHY_SAP_H virtual void Reset()=0
reset the PHY
virtual void ResetRlfParams()=0
Reset radio link failure parameters.
uint8_t m_componentCarrierId
component carrier ID
std::vector< struct UeMeasurementsElement > m_ueMeasurementsList
UE measurement list.
virtual void ResetPhyAfterRlf()=0
Reset the PHY after radio link failure function It resets the physical layer parameters of the UE aft...
virtual void Reset()
reset the PHY
Template for the implementation of the LteUeCphySapUser as a member of an owner class of type C to wh...
virtual ~LteUeCphySapProvider()
destructor
virtual void RecvMasterInformationBlock(uint16_t cellId, LteRrcSap::MasterInformationBlock mib)
Relay an MIB message from the PHY entity to the RRC layer.
virtual void SetTransmissionMode(uint8_t txMode)
Set transmission mode.
virtual void SetImsi(uint64_t imsi)=0
A method call by UE RRC to communicate the IMSI to the UE PHY.
virtual void StartInSnycDetection()=0
Start in-sync detection function When T310 timer is started, it indicates that physical layer problem...
virtual void ResetPhyAfterRlf()
Reset the PHY after radio link failure function It resets the physical layer parameters of the UE aft...
virtual void SetPa(double pa)=0
Set P_A value for UE power control.
Service Access Point (SAP) offered by the UE PHY to the UE RRC for control purposes.
virtual void SynchronizeWithEnb(uint16_t cellId)=0
Tell the PHY entity to synchronize with a given eNodeB over the currently active EARFCN for communica...
virtual void SetRnti(uint16_t rnti)=0
Set Rnti function.
C * m_owner
the owner class
virtual void StartInSnycDetection()
Start in-sync detection function When T310 timer is started, it indicates that physical layer problem...
virtual void ReportUeMeasurements(LteUeCphySapUser::UeMeasurementsParameters params)
Send a report of RSRP and RSRQ values perceived from PSS by the PHY entity (after applying layer-1 fi...
virtual void SetRsrpFilterCoefficient(uint8_t rsrpFilterCoefficient)=0
Set RSRP filter coefficient.
virtual void ConfigureUplink(uint32_t ulEarfcn, uint16_t ulBandwidth)
Configure uplink (normally done after reception of SIB2)
Template for the implementation of the LteUeCphySapProvider as a member of an owner class of type C t...
virtual void ConfigureReferenceSignalPower(int8_t referenceSignalPower)=0
Configure referenceSignalPower.
Service Access Point (SAP) offered by the UE PHY to the UE RRC for control purposes.
MemberLteUeCphySapProvider()
virtual void StartCellSearch(uint32_t dlEarfcn)
Tell the PHY entity to listen to PSS from surrounding cells and measure the RSRP. ...
virtual void RecvSystemInformationBlockType1(uint16_t cellId, LteRrcSap::SystemInformationBlockType1 sib1)=0
Relay an SIB1 message from the PHY entity to the RRC layer.
virtual void StartCellSearch(uint32_t dlEarfcn)=0
Tell the PHY entity to listen to PSS from surrounding cells and measure the RSRP. ...
virtual void ConfigureReferenceSignalPower(int8_t referenceSignalPower)
Configure referenceSignalPower.
virtual void RecvMasterInformationBlock(uint16_t cellId, LteRrcSap::MasterInformationBlock mib)=0
Relay an MIB message from the PHY entity to the RRC layer.
virtual void NotifyOutOfSync()
Send an out of sync indication to UE RRC.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
virtual void SetSrsConfigurationIndex(uint16_t srcCi)=0
Set SRS configuration index.
virtual void NotifyOutOfSync()=0
Send an out of sync indication to UE RRC.
virtual ~LteUeCphySapUser()
destructor
virtual void SetPa(double pa)
Set P_A value for UE power control.
virtual void SetImsi(uint64_t imsi)
A method call by UE RRC to communicate the IMSI to the UE PHY.
virtual void ConfigureUplink(uint32_t ulEarfcn, uint16_t ulBandwidth)=0
Configure uplink (normally done after reception of SIB2)
virtual void ResetSyncIndicationCounter()=0
Reset the sync indication counter.
virtual void SetTransmissionMode(uint8_t txMode)=0
Set transmission mode.
virtual void ResetSyncIndicationCounter()
Reset the sync indication counter.
virtual void RecvSystemInformationBlockType1(uint16_t cellId, LteRrcSap::SystemInformationBlockType1 sib1)
Relay an SIB1 message from the PHY entity to the RRC layer.
virtual void NotifyInSync()=0
Send an in sync indication to UE RRC.
virtual void SetDlBandwidth(uint16_t dlBandwidth)=0
UeMeasurementsParameters structure.
virtual void NotifyInSync()
Send an in sync indication to UE RRC.
virtual void SynchronizeWithEnb(uint16_t cellId)
Tell the PHY entity to synchronize with a given eNodeB over the currently active EARFCN for communica...
virtual void SetRnti(uint16_t rnti)
Set Rnti function.
Parameters of the ReportUeMeasurements primitive: RSRP [dBm] and RSRQ [dB] See section 5...
virtual void SetSrsConfigurationIndex(uint16_t srcCi)
Set SRS configuration index.
virtual void SetRsrpFilterCoefficient(uint8_t rsrpFilterCoefficient)
Set RSRP filter coefficient.
C * m_owner
the owner class
virtual void ResetRlfParams()
Reset radio link failure parameters.
virtual void SetDlBandwidth(uint16_t dlBandwidth)
virtual void ReportUeMeasurements(UeMeasurementsParameters params)=0
Send a report of RSRP and RSRQ values perceived from PSS by the PHY entity (after applying layer-1 fi...