10#ifndef LTE_ENB_CPHY_SAP_H
11#define LTE_ENB_CPHY_SAP_H
51 virtual void SetBandwidth(uint16_t ulBandwidth, uint16_t dlBandwidth) = 0;
66 virtual void AddUe(uint16_t rnti) = 0;
81 virtual void SetPa(uint16_t rnti,
double pa) = 0;
155 void SetCellId(uint16_t cellId)
override;
156 void SetBandwidth(uint16_t ulBandwidth, uint16_t dlBandwidth)
override;
158 void AddUe(uint16_t rnti)
override;
159 void RemoveUe(uint16_t rnti)
override;
160 void SetPa(uint16_t rnti,
double pa)
override;
181 m_owner->DoSetCellId(cellId);
188 m_owner->DoSetBandwidth(ulBandwidth, dlBandwidth);
195 m_owner->DoSetEarfcn(ulEarfcn, dlEarfcn);
202 m_owner->DoAddUe(rnti);
209 m_owner->DoRemoveUe(rnti);
216 m_owner->DoSetPa(rnti, pa);
223 m_owner->DoSetTransmissionMode(rnti, txMode);
230 m_owner->DoSetSrsConfigurationIndex(rnti, srsCi);
237 m_owner->DoSetMasterInformationBlock(mib);
245 m_owner->DoSetSystemInformationBlockType1(sib1);
252 return m_owner->DoGetReferenceSignalPower();
Service Access Point (SAP) offered by the UE PHY to the UE RRC for control purposes.
virtual ~LteEnbCphySapProvider()
Destructor.
virtual void SetSrsConfigurationIndex(uint16_t rnti, uint16_t srsCi)=0
Set SRS configuration index.
virtual void SetBandwidth(uint16_t ulBandwidth, uint16_t dlBandwidth)=0
Set bandwidth.
virtual void SetSystemInformationBlockType1(LteRrcSap::SystemInformationBlockType1 sib1)=0
Set system information block type 1.
virtual void SetEarfcn(uint32_t ulEarfcn, uint32_t dlEarfcn)=0
Set EARFCN.
virtual void SetTransmissionMode(uint16_t rnti, uint8_t txMode)=0
Set transmission mode.
virtual void RemoveUe(uint16_t rnti)=0
Remove an UE from the cell.
virtual void SetPa(uint16_t rnti, double pa)=0
Set the UE transmission power offset P_A.
virtual void SetCellId(uint16_t cellId)=0
Set cell ID.
virtual int8_t GetReferenceSignalPower()=0
Get reference signal power.
virtual void SetMasterInformationBlock(LteRrcSap::MasterInformationBlock mib)=0
Set master information block.
virtual void AddUe(uint16_t rnti)=0
Add a new UE to the cell.
Service Access Point (SAP) offered by the UE PHY to the UE RRC for control purposes.
virtual ~LteEnbCphySapUser()
Destructor.
Template for the implementation of the LteEnbCphySapProvider as a member of an owner class of type C ...
void RemoveUe(uint16_t rnti) override
Remove an UE from the cell.
void SetCellId(uint16_t cellId) override
Set cell ID.
void SetPa(uint16_t rnti, double pa) override
Set the UE transmission power offset P_A.
void SetTransmissionMode(uint16_t rnti, uint8_t txMode) override
Set transmission mode.
void SetSrsConfigurationIndex(uint16_t rnti, uint16_t srsCi) override
Set SRS configuration index.
void AddUe(uint16_t rnti) override
Add a new UE to the cell.
void SetSystemInformationBlockType1(LteRrcSap::SystemInformationBlockType1 sib1) override
Set system information block type 1.
void SetMasterInformationBlock(LteRrcSap::MasterInformationBlock mib) override
Set master information block.
MemberLteEnbCphySapProvider()=delete
C * m_owner
the owner class
void SetBandwidth(uint16_t ulBandwidth, uint16_t dlBandwidth) override
Set bandwidth.
int8_t GetReferenceSignalPower() override
Get reference signal power.
void SetEarfcn(uint32_t ulEarfcn, uint32_t dlEarfcn) override
Set EARFCN.
Template for the implementation of the LteEnbCphySapUser as a member of an owner class of type C to w...
C * m_owner
the owner class
MemberLteEnbCphySapUser()=delete
Every class exported by the ns3 library is enclosed in the ns3 namespace.