mactype as mac/csma/ca

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

mactype as mac/csma/ca

हर्षद वाजार

Dear Friends

I am trying to execute the .tcl file in ns2.35  but getting following error
"invalid command name "Mac/Csma/Ca"
    while executing
"$val(mac) set bandwidth_ 200kbps"
    (file "AOMDV-Proposed.tcl" line 32) "

I have used mactype as mac/csma/ca.

please help me to resolve the above issue.



--
*With Regards-:*
*Harshad*
Reply | Threaded
Open this post in threaded view
|

Re: mactype as mac/csma/ca

knudfl
> @  हर्षद वाजार
> Mac/Csma/Ca

A "Mac/Csma/Ca" example that works : `csma.tcl´
https://github.com/dnlove/ammac-ns2/blob/master/duy/tcl/csma.tcl
I.e. you can try editing line 43 to MAC/Csma/Ca (Instead of `MAC/Csma/Cd´.)
.. Which will work equally well as `MAC/Csma/Cd´.
All "duy/tcl" https://github.com/dnlove/ammac-ns2/tree/master/duy/tcl
Getting ammac-ns2 files : $ git clone https://github.com/dnlove/ammac-ns2

The same 'csma.tcl' is also present here ..
http://www-sop.inria.fr/members/Eitan.Altman/ns.htm

-