21 #ifndef LTE_ENB_CPHY_SAP_H
22 #define LTE_ENB_CPHY_SAP_H
33 class LteEnbNetDevice;
62 virtual void SetBandwidth(uint16_t ulBandwidth, uint16_t dlBandwidth) = 0;
70 virtual void SetEarfcn(uint32_t ulEarfcn, uint32_t dlEarfcn) = 0;
77 virtual void AddUe(uint16_t rnti) = 0;
92 virtual void SetPa(uint16_t rnti,
double pa) = 0;
166 void SetCellId(uint16_t cellId)
override;
167 void SetBandwidth(uint16_t ulBandwidth, uint16_t dlBandwidth)
override;
168 void SetEarfcn(uint32_t ulEarfcn, uint32_t dlEarfcn)
override;
169 void AddUe(uint16_t rnti)
override;
170 void RemoveUe(uint16_t rnti)
override;
171 void SetPa(uint16_t rnti,
double pa)
override;
192 m_owner->DoSetCellId(cellId);
199 m_owner->DoSetBandwidth(ulBandwidth, dlBandwidth);
206 m_owner->DoSetEarfcn(ulEarfcn, dlEarfcn);
213 m_owner->DoAddUe(rnti);
220 m_owner->DoRemoveUe(rnti);
227 m_owner->DoSetPa(rnti, pa);
234 m_owner->DoSetTransmissionMode(rnti, txMode);
241 m_owner->DoSetSrsConfigurationIndex(rnti, srsCi);
248 m_owner->DoSetMasterInformationBlock(mib);
256 m_owner->DoSetSystemInformationBlockType1(sib1);
263 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.