Bug 2040

Summary: PfFfMacScheduler assigns dlInfo even if no resources are available
Product: ns-3 Reporter: Tommaso Pecorella <tommaso.pecorella>
Component: lteAssignee: Marco Miozzo <mmiozzo>
Status: NEW ---    
Severity: normal CC: bbojovic, manoj24.rana, ns-bugs
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   
Attachments: simple patch for bug2040

Description Tommaso Pecorella 2015-01-20 10:44:52 EST
The problem has been reported by Jona Huang here:
https://groups.google.com/forum/#!topic/ns-3-users/wa6qOseS4F4

Using PfFfMacScheduler the number of assigned resources is incorrect. This bug may cause more side-effects than simply a bad count.
Comment 1 Manoj Kumar Rana 2019-11-06 07:34:14 EST
(In reply to Tommaso Pecorella from comment #0)
> The problem has been reported by Jona Huang here:
> https://groups.google.com/forum/#!topic/ns-3-users/wa6qOseS4F4
> 
> Using PfFfMacScheduler the number of assigned resources is incorrect. This
> bug may cause more side-effects than simply a bad count.

We have tried to fix this bug. Following is the patch:
https://github.com/eevadas/ns-3-dev-git/commit/da1779d77be56b503077589d33c98a6cce78d3ed#diff-b86922bb8bca6ceab7c4e51f59511ab5

Can you please check?
Comment 2 Marco Miozzo 2019-11-19 07:30:13 EST
Unfortunately, the behavior reported is not reproducible with the current version of ns-3. I've tried and the RLC stats are ok now with the code in ns-3-dev.
However, I got the problem and it seems a bug actually. For solving it, the patch proposed can work, but even something simpler can work. You may find a proposal in attachment. However, no one of them can tested since we do not have any code reproducing the error.
Comment 3 Marco Miozzo 2019-11-19 07:30:53 EST
Created attachment 3247 [details]
simple patch for bug2040