HandoverPacketHolderEnb¶
Package: simu5g.stack.ip2nic
simple module HandoverPacketHolderEnb
Manages packet buffering and forwarding during handover procedures at the base station. When a user equipment begins handover, tunnels downlink packets to the target base station via the backhaul interface. At the target base station, buffers incoming packets from both the backhaul tunnel and the network layer. Upon handover completion, releases buffered packets to the protocol stack in the correct order.
Inheritance diagram¶
Parameters¶
Name |
Type |
Default value |
Description |
|---|---|---|---|
binderModule |
string |
“binder” |
Properties¶
Name |
Value |
Description |
|---|---|---|
display |
i=block/layer |
Gates¶
Name |
Direction |
Size |
Description |
|---|---|---|---|
upperLayerIn |
input |
||
x2In |
input |
Only used in eNodeB/gNodeB nodes |
|
stackOut |
output |
||
hoManagerOut |
output |
To forward packets to handover manager for X2 tunneling |
Source code¶
//
// Manages packet buffering and forwarding during handover procedures at the base station.
// When a user equipment begins handover, tunnels downlink packets to the target base station via the backhaul interface.
// At the target base station, buffers incoming packets from both the backhaul tunnel and the network layer.
// Upon handover completion, releases buffered packets to the protocol stack in the correct order.
//
simple HandoverPacketHolderEnb like IHandoverPacketHolder
{
parameters:
string binderModule = default("binder");
@display("i=block/layer");
gates:
input upperLayerIn;
input x2In @loose; // Only used in eNodeB/gNodeB nodes
output stackOut;
output hoManagerOut; // To forward packets to handover manager for X2 tunneling
}