Bug 2584 - MacLow triggers StartNext even if there is no TXOP
MacLow triggers StartNext even if there is no TXOP
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: wifi
ns-3-dev
All All
: P3 normal
Assigned To: sebastien.deronne
:
: 2599 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-12-12 14:49 UTC by sebastien.deronne
Modified: 2017-01-01 11:50 UTC (History)
1 user (show)

See Also:


Attachments
patch to fix (1.71 KB, patch)
2016-12-12 14:49 UTC, sebastien.deronne
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description sebastien.deronne 2016-12-12 14:49:16 UTC
Created attachment 2700 [details]
patch to fix

There is no check in MacLow whether the corresponding EdcaTxopN has TXOP. With the introduction of a new assert in changeset 12451:ac1e0cdd5ca9 (bug 2463), simulation does crash in such scenario. MacLow should only call StartNext if there is a TXOP.
Attached patch is fixing the issue.
Comment 1 sebastien.deronne 2016-12-28 08:51:42 UTC
*** Bug 2599 has been marked as a duplicate of this bug. ***
Comment 2 sebastien.deronne 2016-12-28 08:53:57 UTC
This causes 80211e-txop example to fails (see bug 2599).
80211e-txop example should be added to the regression run asap, so I suggest to deliver this fix.
Comment 3 sebastien.deronne 2017-01-01 11:50:59 UTC
Pushed in changeset 12509:d11463105c72