MSG File src/simu5g/stack/phy/packet/LteAirFrame.msg¶
Name |
Type |
Description |
|---|---|---|
struct |
(no description) |
|
packet |
Represents a physical layer transmission frame that encapsulates various types of messages/packets for transmission over the air interface, such as: |
Source code¶
//
// Simu5G
//
// Copyright (C) 2012-2021 Giovanni Nardini, Giovanni Stea, Antonio Virdis et al. (University of Pisa)
// Copyright (C) 2022-2026 Giovanni Nardini, Giovanni Stea et al. (University of Pisa)
//
// This file is part of a software released under the license included in file
// "license.pdf". Please read LICENSE and README files before using it.
// The above files and the present reference are part of the software itself,
// and cannot be removed from it.
//
import inet.common.geometry.Geometry;
import simu5g.stack.phy.packet.AirFrame;
import simu5g.common.LteControlInfo;
cplusplus {{
#include "simu5g/common/LteControlInfo.h"
}}
namespace simu5g;
struct RemoteUnitPhyData
{
int txPower;
inet::Coord m;
}
//
// Represents a physical layer transmission frame that encapsulates various types of
// messages/packets for transmission over the air interface, such as:
// - MAC PDUs (user data): transmitted as Transport Blocks (TB) on PDSCH/PUSCH
// - HARQ feedback: transmitted on PUCCH (uplink control channel)
// - Scheduling grants (DCI): transmitted on PDCCH (downlink control channel)
// - Random access and D2D packets: transmitted on respective control/data channels
// In the simulation, all these messages types are abstracted as LteAirFrame transmissions.
//
packet LteAirFrame extends AirFrame {
RemoteUnitPhyData remoteUnitPhyDataVector[] @nopack;
UserControlInfo additionalInfo @nopack;
}
cplusplus(LteAirFrame) {{
public:
void addRemoteUnitPhyDataVector(const RemoteUnitPhyData& data) { appendRemoteUnitPhyDataVector(data); }
}}