Replies: 2 comments 3 replies
-
Hello, it might be a problem due to the grantId value not assigned when copying the SchedulingGrant object. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Ok, let's give it another try. After this line, try to add the following one and see what happens: |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I am working with Simu5G on the OMNeT++ simulation platform, where I aim to test interactions between a User Equipment (UE) and a gNodeB at the application level, with data passing from the UE's MAC layer to the gNodeB's MEC layer. However, I am encountering an issue related to grantId being set to 0, which seems to disrupt communication between the UE and the gNodeB.
Problem Description:
During my tests, I observed that some grantId values sent by the UE are correctly set, but at other times they are 0. When the grantId is 0, the gNodeB reports the following error:
<!> NRPacketFlowManagerGnb::ulMacPduArrived - grant [0] for nodeId [2059] not present -- in module (NRMacGnb) MultiMec_v3.gNodeB35.cellularNic.mac (id=3534), at t=1.816s, event #298902
This error suggests that the gNodeB cannot find a corresponding scheduling grant for grantId 0, leading to a failure in forwarding data from the UE, ultimately affecting the application-level interaction between the UE and gNodeB.
What I Have Tried So Far:
Relevant Code Snippets:
Here is the code from the UE's MAC layer where I added some prints:
The
sendLowerPackets
method:The
LteMacEnbD2D
method:Part of the cout:
The error's log:
Observations:
Questions:
Request for Assistance:
I find it difficult to understand why the problem does not appear when the first few grantIds are 0 (by the way, those packets are not received by the gNodeB), but only occurs when the last one is received by the gNodeB.
I understand that the grantId = 0 issue is leading to communication failures between the UE and gNodeB but I don't know how can I resolve it. I am looking for ways to ensure the grantId is correctly set and maintained. If anyone has experience with Simu5G and can provide insights on this matter, I would greatly appreciate your help.
Beta Was this translation helpful? Give feedback.
All reactions