Bugzilla – Bug 500
[contribution] Trace source for MediumBusy event of DcaTxop
Last modified: 2009-02-24 02:28:12 UTC
Created attachment 379 [details] The patch Trace source for MediumBusy event. The attached patch adds a MediumBusy trace source to the DcaTxop component. The callback is invoked when the station "would transmit" and has to delay the transmission due to busy channel. See also the discussion: http://groups.google.com/group/ns-3-users/t/887072e0e15b915d. The patch also adds a DcaTxop attribute to the NqstaWifiMac component.
The trace address is: /NodeList/[i]/DeviceList/[i]/$ns3::WifiNetDevice/Mac/$ns3::NqstaWifiMac/DcaTxop/MediumBusy
I pushed a modified version of this patch: changeset: 42c89b271a69 1) I added the same code to Nqap and Adhoc wifi macs 2) I did not push the DcaTxop trace source: it does not seem of wider use beyond yourself. If you feel that the DcaTxop trace source is really of wide use, please, let me know. Ideally, you could describe an example scenario where it could/should be used.
Uhm, I added the DcaTxop property as I needed to access its MediumBusy trace source. If the trace source is directly available from the *WifiMac classes, even better.
(In reply to comment #3) > If the trace source is directly available from the *WifiMac classes, even > better. No, I just made the DcaTxop available from all *WifiMac classes.