[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] MAC Trace in ns-2.1b6




Are you using Mac/802_11? If you've written your own Mac layer, you may want 
to look at the ns-2/mac802_11.{h,cc} to see how tracing is enabled.

Satish


> Hello, 
> 
> Please answer me if anyone knows how to trace MAC packets
> when using the 'ns-2.1b6' for wireless trace. 
> 
> I tried to generate an output trace file including MAC traces 
> (not just including AGT or Routing packet traces) by modifying 
> all relavant tcl scripts in ./tcl/lib directory such as ns-mobilenode.tcl
> - of course, I also modified my main tcl script, ./tcl/ex/wireless.tcl,
> by setting MacTrace ON. However, it did not work.
>  
> Regards,
> 
> - Youngbae  
> 
> 
> 
>