[Ns-bugs] [Bug 405] New: wifi log messages improvements

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Fri Nov 7 09:22:31 PST 2008


http://www.nsnam.org/bugzilla/show_bug.cgi?id=405

           Summary: wifi log messages improvements
           Product: ns-3
           Version: ns-3-dev
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: wifi
        AssignedTo: ns-bugs at isi.edu
        ReportedBy: gjcarneiro at gmail.com
   Estimated Hours: 0.0


Created an attachment (id=294)
 --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=294)
patch

Uses NS_LOG_APPEND_CONTEXT to add node and netdevice index.  This may not apply
to ns-3-dev directly, as I am working in another branch, but you get the idea. 
Logs become something like this:

0.000734987s [node 2 dev 0] MacLow:ReceiveOk(0x2d7b250, ns3::WifiMacHeader
(CTL_ACK Duration/ID=0us, RA=d0:00:00:00:00:03) ns3::WifiMacTrailer (),
9.35955, wimax, 0)
0.000734987s [node 2 dev 0] MacLow:ReceiveOk(): d0:00:00:00:00:03
duration/id=0ns
0.000734987s [node 2 dev 0] MacLow:ReceiveOk(): hdr.IsCts (): 0; hdr.GetAddr1
(): d0:00:00:00:00:03; m_self: d0:00:00:00:00:03; m_ctsTimeoutEvent.IsRunning
(): 0; m_currentPacket: 0
0.000734987s [node 2 dev 0] MacLow:ReceiveOk(): d0:00:00:00:00:03 rx drop
CTL_ACK


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Ns-bugs mailing list