22 #ifndef LTE_UE_CPHY_SAP_H
23 #define LTE_UE_CPHY_SAP_H
28 #include <ns3/lte-rrc-sap.h>
33 class LteEnbNetDevice;
327 virtual void Reset ();
334 virtual void ConfigureUplink (uint32_t ulEarfcn, uint16_t ulBandwidth);
336 virtual void SetRnti (uint16_t rnti);
339 virtual void SetPa (
double pa);
344 virtual void SetImsi (uint64_t imsi);
373 m_owner->DoStartCellSearch (dlEarfcn);
380 m_owner->DoSynchronizeWithEnb (cellId);
387 m_owner->DoSynchronizeWithEnb (cellId, dlEarfcn);
394 return m_owner->DoGetCellId ();
401 return m_owner->DoGetDlEarfcn ();
408 m_owner->DoSetDlBandwidth (dlBandwidth);
415 m_owner->DoConfigureUplink (ulEarfcn, ulBandwidth);
422 m_owner->DoConfigureReferenceSignalPower (referenceSignalPower);
429 m_owner->DoSetRnti (rnti);
436 m_owner->DoSetTransmissionMode (txMode);
443 m_owner->DoSetSrsConfigurationIndex (srcCi);
450 m_owner->DoSetPa (pa);
457 m_owner->DoSetRsrpFilterCoefficient (rsrpFilterCoefficient);
464 m_owner->DoResetPhyAfterRlf ();
470 m_owner->DoResetRlfParams ();
476 m_owner->DoStartInSnycDetection ();
482 m_owner->DoSetImsi (imsi);
534 m_owner->DoRecvMasterInformationBlock (cellId, mib);
542 m_owner->DoRecvSystemInformationBlockType1 (cellId, sib1);
549 m_owner->DoReportUeMeasurements (params);
556 m_owner->DoNotifyOutOfSync ();
563 m_owner->DoNotifyInSync ();
570 m_owner->DoResetSyncIndicationCounter ();
Service Access Point (SAP) offered by the UE PHY to the UE RRC for control purposes.
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 communicatio...
virtual uint16_t GetCellId()=0
Get PHY cell ID.
virtual void ResetPhyAfterRlf()=0
Reset the PHY after radio link failure function It resets the physical layer parameters of the UE aft...
virtual void SetRnti(uint16_t rnti)=0
Set Rnti function.
virtual void ConfigureReferenceSignalPower(int8_t referenceSignalPower)=0
Configure referenceSignalPower.
virtual void StartCellSearch(uint32_t dlEarfcn)=0
Tell the PHY entity to listen to PSS from surrounding cells and measure the RSRP.
virtual void SetTransmissionMode(uint8_t txMode)=0
Set transmission mode.
virtual ~LteUeCphySapProvider()
destructor
virtual void SetSrsConfigurationIndex(uint16_t srcCi)=0
Set SRS configuration index.
virtual void SetPa(double pa)=0
Set P_A value for UE power control.
virtual void ResetRlfParams()=0
Reset radio link failure parameters.
virtual void Reset()=0
reset the PHY
virtual void SetImsi(uint64_t imsi)=0
A method call by UE RRC to communicate the IMSI to the UE PHY.
virtual void SetRsrpFilterCoefficient(uint8_t rsrpFilterCoefficient)=0
Set RSRP filter coefficient.
virtual void ConfigureUplink(uint32_t ulEarfcn, uint16_t ulBandwidth)=0
Configure uplink (normally done after reception of SIB2)
virtual uint32_t GetDlEarfcn()=0
Get PHY DL EARFCN.
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 SetDlBandwidth(uint16_t dlBandwidth)=0
virtual void StartInSnycDetection()=0
Start in-sync detection function When T310 timer is started, it indicates that physical layer problem...
Service Access Point (SAP) offered by the UE PHY to the UE RRC for control purposes.
virtual void NotifyInSync()=0
Send an in sync indication to UE RRC.
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...
virtual void RecvMasterInformationBlock(uint16_t cellId, LteRrcSap::MasterInformationBlock mib)=0
Relay an MIB message from the PHY entity to the RRC layer.
virtual void RecvSystemInformationBlockType1(uint16_t cellId, LteRrcSap::SystemInformationBlockType1 sib1)=0
Relay an SIB1 message from the PHY entity to the RRC layer.
virtual void NotifyOutOfSync()=0
Send an out of sync indication to UE RRC.
virtual void ResetSyncIndicationCounter()=0
Reset the sync indication counter.
virtual ~LteUeCphySapUser()
destructor
Template for the implementation of the LteUeCphySapProvider as a member of an owner class of type C t...
virtual void SetPa(double pa)
Set P_A value for UE power control.
virtual void SetSrsConfigurationIndex(uint16_t srcCi)
Set SRS configuration index.
virtual void StartCellSearch(uint32_t dlEarfcn)
Tell the PHY entity to listen to PSS from surrounding cells and measure the RSRP.
virtual void SetRnti(uint16_t rnti)
Set Rnti function.
C * m_owner
the owner class
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 ResetRlfParams()
Reset radio link failure parameters.
virtual void SetRsrpFilterCoefficient(uint8_t rsrpFilterCoefficient)
Set RSRP filter coefficient.
virtual void ResetPhyAfterRlf()
Reset the PHY after radio link failure function It resets the physical layer parameters of the UE aft...
MemberLteUeCphySapProvider()
virtual uint16_t GetCellId()
Get PHY cell ID.
virtual void SetDlBandwidth(uint16_t dlBandwidth)
virtual void StartInSnycDetection()
Start in-sync detection function When T310 timer is started, it indicates that physical layer problem...
virtual void SetTransmissionMode(uint8_t txMode)
Set transmission mode.
virtual void ConfigureUplink(uint32_t ulEarfcn, uint16_t ulBandwidth)
Configure uplink (normally done after reception of SIB2)
virtual void ConfigureReferenceSignalPower(int8_t referenceSignalPower)
Configure referenceSignalPower.
virtual uint32_t GetDlEarfcn()
Get PHY DL EARFCN.
virtual void Reset()
reset the PHY
virtual void SetImsi(uint64_t imsi)
A method call by UE RRC to communicate the IMSI to the UE PHY.
Template for the implementation of the LteUeCphySapUser as a member of an owner class of type C to wh...
C * m_owner
the owner class
virtual void RecvMasterInformationBlock(uint16_t cellId, LteRrcSap::MasterInformationBlock mib)
Relay an MIB message from the PHY entity to the RRC layer.
virtual void NotifyInSync()
Send an in sync indication to UE RRC.
virtual void RecvSystemInformationBlockType1(uint16_t cellId, LteRrcSap::SystemInformationBlockType1 sib1)
Relay an SIB1 message from the PHY entity to the RRC layer.
virtual void ResetSyncIndicationCounter()
Reset the sync indication counter.
virtual void NotifyOutOfSync()
Send an out of sync indication to UE RRC.
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...
Every class exported by the ns3 library is enclosed in the ns3 namespace.
Parameters of the ReportUeMeasurements primitive: RSRP [dBm] and RSRQ [dB] See section 5....
UeMeasurementsParameters structure.
uint8_t m_componentCarrierId
component carrier ID
std::vector< struct UeMeasurementsElement > m_ueMeasurementsList
UE measurement list.