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 (uint32_t ulEarfcn, uint32_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;
157 virtual void SetCellId (uint16_t cellId);
158 virtual void SetBandwidth (uint8_t ulBandwidth, uint8_t dlBandwidth);
159 virtual void SetEarfcn (uint32_t ulEarfcn, uint32_t dlEarfcn);
160 virtual void AddUe (uint16_t rnti);
161 virtual void RemoveUe (uint16_t rnti);
162 virtual void SetPa (uint16_t rnti,
double pa);
189 m_owner->DoSetCellId (cellId);
197 m_owner->DoSetBandwidth (ulBandwidth, dlBandwidth);
204 m_owner->DoSetEarfcn (ulEarfcn, dlEarfcn);
211 m_owner->DoAddUe (rnti);
218 m_owner->DoRemoveUe (rnti);
225 m_owner->DoSetPa (rnti, pa);
232 m_owner->DoSetTransmissionMode (rnti, txMode);
239 m_owner->DoSetSrsConfigurationIndex (rnti, srsCi);
246 m_owner->DoSetMasterInformationBlock (mib);
253 m_owner->DoSetSystemInformationBlockType1 (sib1);
260 return m_owner->DoGetReferenceSignalPower ();
305 #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 SetSystemInformationBlockType1(LteRrcSap::SystemInformationBlockType1 sib1)
Service Access Point (SAP) offered by the UE PHY to the UE RRC for control purposes.
C * m_owner
the owner class
virtual void SetEarfcn(uint32_t ulEarfcn, uint32_t dlEarfcn)=0
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
Every class exported by the ns3 library is enclosed in the ns3 namespace.
virtual void SetSystemInformationBlockType1(LteRrcSap::SystemInformationBlockType1 sib1)=0
virtual int8_t GetReferenceSignalPower()=0
virtual void RemoveUe(uint16_t rnti)
Remove an UE from the cell.
virtual int8_t GetReferenceSignalPower()
MemberLteEnbCphySapUser()
C * m_owner
the owner class
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 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 SetEarfcn(uint32_t ulEarfcn, uint32_t dlEarfcn)
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 cell.