5G-LENA nr-v3.1-14-g738b08bc
The 5G/NR module for the ns-3 simulator
|
SAP interface between the ENB PHY and the ENB MAC. More...
#include "nr-phy-sap.h"
Public Member Functions | |
virtual | ~NrGnbPhySapUser () |
~NrGnbPhySapUser | |
virtual void | BeamChangeReport (BeamId beamId, uint8_t rnti)=0 |
Called by the PHY to notify MAC that beam has changed. Not in any standard. | |
virtual std::shared_ptr< DciInfoElementTdma > | GetDlCtrlDci () const =0 |
Retrieve a dci for a DL CTRL allocation. | |
virtual uint8_t | GetDlCtrlSymbols () const =0 |
Retrieve the DL CTRL symbols. | |
virtual uint32_t | GetNumRbPerRbg () const =0 |
PHY requests information from MAC. While MAC normally act as user of PHY services, in this case exceptionally MAC provides information/service to PHY. | |
virtual std::shared_ptr< DciInfoElementTdma > | GetUlCtrlDci () const =0 |
Retrieve a dci for a UL CTRL allocation. | |
virtual void | ReceiveControlMessage (Ptr< NrControlMessage > msg)=0 |
Receive SendLteControlMessage (PDCCH map, CQI feedbacks) using the ideal control channel. | |
virtual void | ReceivePhyPdu (Ptr< Packet > p)=0 |
Notify the MAC of the reception of a new PHY-PDU. | |
virtual void | ReceiveRachPreamble (uint32_t raId)=0 |
Notify the reception of a RACH preamble on the PRACH. | |
virtual void | SetCurrentSfn (const SfnSf &sfn)=0 |
Set the current Sfn. The state machine has advanced by one slot. | |
virtual void | SlotDlIndication (const SfnSf &sfn, LteNrTddSlotType slotType)=0 |
Trigger MAC layer to generate a DL slot for the SfnSf indicated. | |
virtual void | SlotUlIndication (const SfnSf &sfn, LteNrTddSlotType slotType)=0 |
Trigger MAC layer to generate an UL slot for the SfnSf indicated. | |
virtual void | UlCqiReport (NrMacSchedSapProvider::SchedUlCqiInfoReqParameters ulcqi)=0 |
Returns to MAC level the UL-CQI evaluated. | |
virtual void | UlHarqFeedback (UlHarqInfo params)=0 |
Notify the HARQ on the UL transmission status. | |
SAP interface between the ENB PHY and the ENB MAC.
This SAP is normally used so that PHY can send to MAC indications and providing to MAC some information. The relationship between MAC and PHY is that PHY is service provider to MAC, and MAC is user. Exceptionally, PHY can also request some information from MAC through this interface, such as GetNumRbPerRbg.
As a general rule, no caching is allowed for the values returned by any Get* method, because those values can change dynamically.
Definition at line 154 of file nr-phy-sap.h.
|
inlinevirtual |
~NrGnbPhySapUser
Definition at line 160 of file nr-phy-sap.h.
|
pure virtual |
Called by the PHY to notify MAC that beam has changed. Not in any standard.
beamId | the new beam ID |
rnti | the RNTI of the user |
|
pure virtual |
Retrieve a dci for a DL CTRL allocation.
|
pure virtual |
Retrieve the DL CTRL symbols.
|
pure virtual |
PHY requests information from MAC. While MAC normally act as user of PHY services, in this case exceptionally MAC provides information/service to PHY.
Referenced by ns3::NrGnbPhy::GetNumRbPerRbg().
|
pure virtual |
Retrieve a dci for a UL CTRL allocation.
|
pure virtual |
Receive SendLteControlMessage (PDCCH map, CQI feedbacks) using the ideal control channel.
msg | the Ideal Control Message to receive |
Referenced by ns3::NrGnbPhy::PhyCtrlMessagesReceived().
|
pure virtual |
Notify the MAC of the reception of a new PHY-PDU.
p |
Referenced by ns3::NrGnbPhy::PhyDataPacketReceived().
|
pure virtual |
Notify the reception of a RACH preamble on the PRACH.
raId | the ID of the preamble |
Referenced by ns3::NrGnbPhy::PhyCtrlMessagesReceived().
|
pure virtual |
Set the current Sfn. The state machine has advanced by one slot.
sfn | The current sfn |
|
pure virtual |
Trigger MAC layer to generate a DL slot for the SfnSf indicated.
sfn | Slot to fill with DL scheduling decisions |
slotType | Slot type requested (DL, S, F) |
|
pure virtual |
Trigger MAC layer to generate an UL slot for the SfnSf indicated.
sfn | Slot to fill with UL scheduling decisions |
slotType | Slot type requested (UL, S, F) |
|
pure virtual |
Returns to MAC level the UL-CQI evaluated.
ulcqi | the UL-CQI (see FF MAC API 4.3.29) |
Referenced by ns3::NrGnbPhy::GenerateDataCqiReport().
|
pure virtual |
Notify the HARQ on the UL transmission status.
params | Params |
Referenced by ns3::NrGnbPhy::ReportUlHarqFeedback().