Simulation crash due to missing getter and setter in BwpManagerAlgorithmStatic

28 views
Skip to first unread message

Toni Mihaljević

unread,
Jan 25, 2026, 1:17:24 PM (5 days ago) Jan 25
to ns-3-users

Dear ns-3 developers,

Dear ns-3 users,

I’m working with the NR module and trying to apply QoS treatments on a per-flow basis. I’ve copied the cttc-nr-multi-flow-qos-sched.cc to the scratch directory to play around with different qci values. When the BwpManagerAlgorithmAttribute is set to "DGBR_V2X" the simulation fails. The error message can be seen in the attachment.

From what I can see in the Doxygen documentation of the BwpManagerAlgorithm, which leads to the BwpManagerAlgorithmStatic, the bwp manager does not have the getter and setter methods defined that return the bwp id for DGBR_V2X.

Would implementing the getters and setters be sufficient to make the QoS treatment work?

I’m wondering if this can be implemented easily as I’m also interested in introducing custom qci.

What steps would be necessary to include custom qci?

I am currently using the ns version 3.45 with the nr version 5g-lena-v4.1.y.

Thank you in advance for a reply.

Toni Mihaljević


issue_DGBR_V2X.png

Gabriel Ferreira

unread,
Jan 26, 2026, 6:22:35 PM (4 days ago) Jan 26
to ns-3-users
Yes. Just need to add a new entry, like the existing ones. Its just copy-pasting the macro there. 

Toni Mihaljević

unread,
Jan 27, 2026, 12:46:25 PM (4 days ago) Jan 27
to ns-3-users
Hey Gabriel,

thank you very much for the swift reply. I'm glad to hear that it is that straightforward.

Do you have any suggestions about implementing custom qci?

Greetings

Toni Mihaljević
Reply all
Reply to author
Forward
0 new messages