Dear 5G-LENA developers,
I'm currently working with the 5G-LENA module in ns-3 and trying to connect a trace source to monitor RLC transmission drops using the following path:
Yes, i believe that the RLC object will not be created until the time that the bearer is set up. You will need to write a small function or lambda to schedule a future event, at at time that you believe it will be instantiated, to connect to the callback. A similar problem arises with TCP sockets that are not yet instantiated at time zero. There is an example TCP program (examples/tcp/tcp-validation.cc) that demonstrates how this kind of delayed trace source attachment can work (search for ScheduleFirstTcpCwndTraceConnection in that file).
- Tom
--
You received this message because you are subscribed to the Google Groups "5G-LENA-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 5g-lena-user...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/5g-lena-users/d577e53c-20af-4fe2-a5fa-7267cce52dban%40googlegroups.com.
Hi Tom,
Thanks again for your previous guidance. I wanted to give a quick update and also ask a couple of follow-up questions.
I scheduled the callback connection as you suggested and enabled the NrRlcUm logging component. However, I still don’t see the TxDrop trace source being triggered at all. When looking into the nr-rlc.cc code, it seems like the TxDrop trace source is defined, but not actually connected to any dropping logic (perhaps m_txDropTrace is not called anywhere relevant). Could you please clarify if this trace source is currently functional or if it needs explicit triggering that I might have missed?
Additionally, while using the TxPdu and RxPdu trace sources, I consistently see only LCIDs 4 and 5 when running examples like cttc-nr-demo. I expected to observe LCIDs 0 or 1 for the default DRBs typically associated with initial user traffic, but these never appear in my logs. Could you shed some light on why that might be the case? Is there perhaps a specific mapping or configuration in the 5G-LENA setup that assigns data to LCID 4 and 5 instead?
Really appreciate all your help and insights.