22 #ifndef LTE_ENB_CPHY_SAP_H
23 #define LTE_ENB_CPHY_SAP_H
28 #include <ns3/lte-rrc-sap.h>
32 class LteEnbNetDevice;
54 virtual void SetCellId (uint16_t cellId) = 0;
60 virtual void SetBandwidth (uint8_t ulBandwidth, uint8_t dlBandwidth) = 0;
66 virtual void SetEarfcn (uint16_t ulEarfcn, uint16_t dlEarfcn) = 0;
73 virtual void AddUe (uint16_t rnti) = 0;
80 virtual void RemoveUe (uint16_t rnti) = 0;
88 virtual void SetPa (uint16_t rnti,
double pa) = 0;
152 virtual void SetCellId (uint16_t cellId);
153 virtual void SetBandwidth (uint8_t ulBandwidth, uint8_t dlBandwidth);
154 virtual void SetEarfcn (uint16_t ulEarfcn, uint16_t dlEarfcn);
155 virtual void AddUe (uint16_t rnti);
156 virtual void RemoveUe (uint16_t rnti);
157 virtual void SetPa (uint16_t rnti,
double pa);
184 m_owner->DoSetCellId (cellId);
192 m_owner->DoSetBandwidth (ulBandwidth, dlBandwidth);
199 m_owner->DoSetEarfcn (ulEarfcn, dlEarfcn);
206 m_owner->DoAddUe (rnti);
213 m_owner->DoRemoveUe (rnti);
220 m_owner->DoSetPa (rnti, pa);
227 m_owner->DoSetTransmissionMode (rnti, txMode);
234 m_owner->DoSetSrsConfigurationIndex (rnti, srsCi);
241 m_owner->DoSetMasterInformationBlock (mib);
248 m_owner->DoSetSystemInformationBlockType1 (sib1);
255 return m_owner->DoGetReferenceSignalPower ();
295 #endif // LTE_ENB_CPHY_SAP_H
virtual void SetMasterInformationBlock(LteRrcSap::MasterInformationBlock mib)=0
Template for the implementation of the LteEnbCphySapProvider as a member of an owner class of type C ...
virtual void SetPa(uint16_t rnti, double pa)=0
Set the UE transmission power offset P_A.
virtual void AddUe(uint16_t rnti)=0
Add a new UE to the cell.
virtual void SetTransmissionMode(uint16_t rnti, uint8_t txMode)=0
virtual void SetEarfcn(uint16_t ulEarfcn, uint16_t dlEarfcn)=0
virtual void SetSystemInformationBlockType1(LteRrcSap::SystemInformationBlockType1 sib1)
Service Access Point (SAP) offered by the UE PHY to the UE RRC for control purposes.
virtual void SetCellId(uint16_t cellId)=0
virtual void SetBandwidth(uint8_t ulBandwidth, uint8_t dlBandwidth)=0
Template for the implementation of the LteEnbCphySapUser as a member of an owner class of type C to w...
virtual void SetMasterInformationBlock(LteRrcSap::MasterInformationBlock mib)
virtual void SetBandwidth(uint8_t ulBandwidth, uint8_t dlBandwidth)
virtual void SetCellId(uint16_t cellId)
virtual ~LteEnbCphySapUser()
destructor
virtual void SetSystemInformationBlockType1(LteRrcSap::SystemInformationBlockType1 sib1)=0
virtual int8_t GetReferenceSignalPower()=0
virtual void RemoveUe(uint16_t rnti)
Remove an UE from the the cell.
virtual int8_t GetReferenceSignalPower()
MemberLteEnbCphySapUser()
virtual void SetTransmissionMode(uint16_t rnti, uint8_t txMode)
virtual void SetSrsConfigurationIndex(uint16_t rnti, uint16_t srsCi)
MemberLteEnbCphySapProvider()
virtual void SetSrsConfigurationIndex(uint16_t rnti, uint16_t srsCi)=0
virtual void SetEarfcn(uint16_t ulEarfcn, uint16_t dlEarfcn)
virtual void SetPa(uint16_t rnti, double pa)
Set the UE transmission power offset P_A.
virtual ~LteEnbCphySapProvider()
destructor
Service Access Point (SAP) offered by the UE PHY to the UE RRC for control purposes.
virtual void AddUe(uint16_t rnti)
Add a new UE to the cell.
virtual void RemoveUe(uint16_t rnti)=0
Remove an UE from the the cell.