Bug 2986

Summary: CwTrace and BackoffTrace changes
Product: ns-3 Reporter: Tom Henderson <tomh>
Component: wifiAssignee: sebastien.deronne
Status: RESOLVED FIXED    
Severity: normal CC: ns-bugs
Priority: P3    
Version: unspecified   
Hardware: All   
OS: All   
Attachments: patch to fix

Description Tom Henderson 2018-09-03 12:00:20 UTC
Created attachment 3175 [details]
patch to fix

1) move CwTrace and BackoffTrace to base class Txop so that DCF users can make use of them

2) BackoffTrace is changed from a TracedValue to a TracedCallback, because TracedValue only reports changed values, while the backoff RNG could re-draw the same value consecutively, thus missing the trace
Comment 1 sebastien.deronne 2018-09-04 04:37:51 UTC
+1
Comment 2 sebastien.deronne 2018-09-04 04:38:51 UTC
Tom, feel free to push this change.
Comment 3 sebastien.deronne 2019-02-02 13:15:50 UTC
Pushed in changeset e5e308b34eb848caddd93374d783c8592d39f9a7