Skip to content

Commit 98607ef

Browse files
committed
msg files: comments minor cleanup
1 parent 26d27bc commit 98607ef

9 files changed

Lines changed: 21 additions & 49 deletions

File tree

src/simu5g/apps/mec/RealTimeVideoStreamingApp/packets/RTVideoStreamingPackets.msg

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ class StartRealTimeVideoStreamingAppPacket extends RealTimeVideoStreamingAppPack
2727
int sessionId;
2828
}
2929

30-
31-
3230
class StartSessionRealTimeVideoStreamingAppPacket extends RealTimeVideoStreamingAppPacket
3331
{
3432
int fps;

src/simu5g/apps/mec/RnisTestApp/packets/RnisTestAppPacket.msg

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@
99
// and cannot be removed from it.
1010
//
1111

12-
13-
//
14-
// RnisTestAppPacket used by UeRnisTestApp and MecRnisTestApp
15-
//
16-
1712
import simu5g.mec.platform.MecPackets;
1813

1914
cplusplus {{
@@ -27,6 +22,9 @@ class nlohmann::json
2722

2823
namespace simu5g;
2924

25+
//
26+
// RnisTestAppPacket used by UeRnisTestApp and MecRnisTestApp
27+
//
3028
class RnisTestAppPacket extends MecPacket
3129
{
3230
}

src/simu5g/apps/mec/WarningAlert/packets/WarningAlertPacket.msg

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@
99
// and cannot be removed from it.
1010
//
1111

12-
13-
//
14-
// IceAlert Packet used by UEIceAlertApp MEIceAlertApp and MEIceAlertService
15-
//
16-
1712
import simu5g.mec.platform.MecPackets;
1813

1914
namespace simu5g;

src/simu5g/apps/voip/VoipPacket.msg

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,14 @@
99
// and cannot be removed from it.
1010
//
1111

12-
13-
14-
//
15-
// Packet used by the ~VoPSender and ~VoipReceiver modules.
16-
//
17-
1812
import inet.common.INETDefs;
1913
import inet.common.packet.chunk.Chunk;
2014

2115
namespace simu5g;
2216

17+
//
18+
// Packet used by the ~VoPSender and ~VoipReceiver modules.
19+
//
2320
class VoipPacket extends inet::FieldsChunk {
2421
unsigned int IDtalk;
2522
unsigned int nframes;

src/simu5g/stack/mac/packet/LteMacSduRequest.msg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@
99
// and cannot be removed from it.
1010
//
1111

12-
//
13-
// This is the message that asks the RLC layer for a new MAC SDU.
14-
//
1512
import inet.common.INETDefs;
1613
import inet.common.packet.chunk.Chunk;
1714

1815
import simu5g.common.LteCommon;
1916

2017
namespace simu5g;
2118

19+
//
20+
// This is the message that asks the RLC layer for a new MAC SDU.
21+
//
2222
class LteMacSduRequest extends inet::FieldsChunk
2323
{
2424
unsigned int sduSize; // size of the requested SDU

src/simu5g/stack/rlc/packet/LteRlcDataPdu.msg

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@ cplusplus(LteRlcDataPdu) {{
7575
}}
7676

7777
//
78-
// @class LteRlcUmDataPdu
79-
// @brief Lte RLC UM Data Pdu
78+
// Lte RLC UM Data Pdu
8079
//
8180
// Define additional fields for UM PDU
8281
//
@@ -87,8 +86,7 @@ class LteRlcUmDataPdu extends LteRlcDataPdu
8786
};
8887

8988
//
90-
// @class LteRlcAmDataPdu
91-
// @brief Lte RLC AM Data Pdu
89+
// Lte RLC AM Data Pdu.
9290
//
9391
// Define additional fields for AM PDU
9492
//

src/simu5g/stack/rlc/packet/LteRlcPdu.msg

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,13 @@
99
// and cannot be removed from it.
1010
//
1111

12-
//
13-
// This is the RLC Pdu
14-
// flowing through LTE stack: basically
15-
// it contains the fields of a fragment
16-
// that receiver needs in order to
17-
// correctly decode the original packet
18-
//
19-
2012
import inet.common.INETDefs;
2113
import inet.common.packet.chunk.Chunk;
2214

15+
//
16+
// RLC PDU flowing through LTE stack. Contains the fields of a fragment that
17+
// the receiver needs in order to correctly decode the original packet.
18+
//
2319
class LteRlcPdu extends inet::FieldsChunk
2420
{
2521
// TODO: size 0

src/simu5g/stack/rlc/packet/LteRlcSdu.msg

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,13 @@
99
// and cannot be removed from it.
1010
//
1111

12+
import inet.common.INETDefs;
13+
import inet.common.packet.chunk.Chunk;
1214

1315
//
1416
// This is the RLC message flowing through LTE stack.
1517
// The relevant field is the Main Packet Sequence Number
1618
//
17-
18-
import inet.common.INETDefs;
19-
import inet.common.packet.chunk.Chunk;
20-
2119
class LteRlcSdu extends inet::FieldsChunk
2220
{
2321
// TODO: size 0

src/simu5g/x2/packet/X2ControlInfo.msg

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,10 @@ class DestinationIdList { @existingClass; }
2929
// It is attached to the X2InformationElement and contains:
3030
// - The X2 ID of the source eNodeB
3131
// - The X2 IDs of the destination eNodeBs (as a user can send an InformationElement to several peers)
32-
// - a 'init' flag: if set, the X2 Manager uses the IE and the incoming gate to register the user module
33-
// into its internal data structures. This allows the X2 Manager to know which user is
34-
// connected to which gate, so as to forward messages coming from X2 to the correct
35-
// user module.
36-
37-
//
38-
// @class LteX2ControlInfo
39-
//
40-
// This class contains:
41-
// - Source X2 ID
42-
// - List of destination IDs
43-
// - init flag
32+
// - 'init' flag: if set, the X2 Manager uses the IE and the incoming gate to register the user module
33+
// into its internal data structures. This allows the X2 Manager to know which user is
34+
// connected to which gate, so as to forward messages coming from X2 to the correct
35+
// user module.
4436
//
4537
class X2ControlInfoTag extends inet::TagBase {
4638
MacNodeId sourceId; // Source X2NodeId

0 commit comments

Comments
 (0)