Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Unable to populate HandoverRequired with HO Type = 5GS to 4G #148

Open
saurabh-ghadage opened this issue Dec 10, 2024 · 2 comments
Open
Labels
bug Something isn't working

Comments

@saurabh-ghadage
Copy link

Describe the bug
Adding support for setting the target eNodeB ID, similar to the SetTargetGnodeB function, in the handover-required.go file for testing 5g to 4g handover.

To Reproduce
Execute the following command:

 ./packetrusher multi-ue --tr 2000 --ngh 7000 -n 1

Expected behavior
The function should support assigning the TargeteNB-ID structure as specified below:

TargeteNB-ID ::= SEQUENCE { 
    globalENB-ID         GlobalNgENB-ID, 
    selected-EPS-TAI     EPS-TAI, 
    iE-Extensions        ProtocolExtensionContainer {{TargeteNB-ID-ExtIEs}} OPTIONAL 
}

However, implementation attempts have been unsuccessful. The goal is to test 5G to 4G handover functionality.

Screenshots
Currently, the function supports the following structure:

GlobalRANNodeID

Expected structure:

GlobalENBId

Request for Assistance
Could someone help test this functionality or provide guidance on implementing the desired changes? Any suggestions for achieving the required behavior would be greatly appreciated.

@saurabh-ghadage saurabh-ghadage added the bug Something isn't working label Dec 10, 2024
@linouxis9
Copy link
Member

Hi @saurabh-ghadage!
Thank you for your interest in PacketRusher. PacketRusher does not support S1AP and NAS-EPS, these protocols supports must first be supported added for EPC support in PacketRusher for 5G -> 4G HO.
Just being able to assign a TargeteNB-ID won't be enough and I guess that's why you have been having troubles.
If you are looking to support NAS-EPS/S1AP in PacketRusher, I would gladly accept the changes!
Thanks,
Valentin

@saurabh-ghadage
Copy link
Author

saurabh-ghadage commented Dec 13, 2024

Hello @linouxis9, thank you for your response.

My query pertains to NGAP and specifically involves encoding the TargetID within the HandoverRequired command. Currently, the implementation supports only TargetRAT = N2. My objective is to enable 5GS to 4G handover, which requires encoding the TargetID as eNB-ID instead of GNB-ID, in alignment with the 3GPP specification 38.413.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants