Skip to content

Commit 1f1ad4b

Browse files
MohamedSeliemavarga
authored andcommitted
IHandoverPacketHolder: add eNB-specific handover gate to interface
HandoverPacketHolderEnb already has an hoManagerOut gate (used to forward packets to the X2 forwarder during handover), but the gate was declared only on the concrete eNB module, not on the IHandoverPacketHolder module interface. Add it to the interface (and, as @Loose, to HandoverPacketHolderUe) so that NED code which accesses the submodule through the interface type can reference the gate, and so custom holder implementations can be substituted.
1 parent a2a8000 commit 1f1ad4b

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/simu5g/stack/ip2nic/HandoverPacketHolderUe.ned

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,5 @@ simple HandoverPacketHolderUe like IHandoverPacketHolder
2525
input upperLayerIn;
2626
input x2In @loose; // required by the interface, but UNUSED
2727
output stackOut;
28+
output hoManagerOut @loose; // required by the interface, but UNUSED
2829
}

src/simu5g/stack/ip2nic/IHandoverPacketHolder.ned

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@ moduleinterface IHandoverPacketHolder
2121
input upperLayerIn;
2222
input x2In @loose; // only used in eNodeB/gNodeB nodes
2323
output stackOut;
24+
output hoManagerOut @loose; // eNodeB/gNodeB only: to forward packets to handover manager for X2 tunneling
2425
}

0 commit comments

Comments
 (0)