Bug 1090 - WifiMacQueue is not accessible through the attribute path
WifiMacQueue is not accessible through the attribute path
Product: ns-3
Classification: Unclassified
Component: wifi
All All
: P5 normal
Assigned To: Nicola Baldo
Depends on:
  Show dependency treegraph
Reported: 2011-04-03 10:18 EDT by Ruben Merz
Modified: 2011-04-10 12:52 EDT (History)
1 user (show)

See Also:

add a Queue attribute (3.33 KB, patch)
2011-04-03 13:19 EDT, Nicola Baldo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ruben Merz 2011-04-03 10:18:04 EDT
From the discussion at http://groups.google.com/group/ns-3-users/browse_thread/thread/5a24fe7387f4891c/

It appears to be not possible to access WifiMacQueue through the tracing system. Indeed, WifiMacQueue is not aggregated to DcaTxop nor is it defined as an attribute of DcaTxop.

I would favor the second solution (creating an attribute of DcaTxop).

Nicola: what do you think?
Comment 1 Nicola Baldo 2011-04-03 13:19:33 EDT
Created attachment 1060 [details]
add a Queue attribute

I agree with the approach proposed by Ruben. The attached patch should fix the problem: it add a Queue attribute to both DcaTxop and EdcaTxopN which makes it possible to reach the WifiMacQueue. It also disables the setters for queue size and delay which to my understanding are useless.

Please let me know if it solves the problem so that I can commit it to ns-3-dev.
Comment 2 Nicola Baldo 2011-04-10 12:52:17 EDT
In absence of further comments, I pushed the patch and I am closing this bug.

changeset:   7013:1db4e43e30e8