Unipisa / Simu5G

Simu5G - 5G NR and LTE/LTE-A user-plane simulation model for OMNeT++ & INET
https://simu5g.org
Other
146 stars 83 forks source link

Question about retransmission #95

Closed Jiacheng188 closed 1 year ago

Jiacheng188 commented 1 year ago

Hello, I was debugging the source code when i found that the scheduler's method "scheduler->updateSchedulingInfo()" contains no code. As this method is called after scheduling scheduleRacRequests and scheduleRetransmissions, I guess Simu5g model retransmission in other bands which is not used by current carrier, Am I right?

giovanninardini commented 1 year ago

Hello,

Simu5G models RAC requests and retransmissions in the same carrier as new transmissions. Scheduling of new transmissions is performed by the schedule() function, which is invoked after scheduleRacRequests(), scheduleRetransmissions() and updateSchedulingInfo().

The updateSchedulingInfo() contains no code in the base LteScheduler class, but it can be redefined by derived modules, if needed. For example, the LteDrr module redefines the updateSchedulingInfo() function.

Best regards. Giovanni

Jiacheng188 commented 1 year ago

Thank you!