Bug 1090

Summary: WifiMacQueue is not accessible through the attribute path
Product: ns-3 Reporter: Ruben Merz <ruben>
Component: wifiAssignee: Nicola Baldo <nicola>
Status: RESOLVED FIXED    
Severity: normal CC: ns-bugs
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   
See Also: http://www.nsnam.org/bugzilla/show_bug.cgi?id=1034
Attachments: add a Queue attribute

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