Re: [ns] Setting Values for CWmin and CWmax

2009-10-27 Thread Urlan Salgado de Barros
Hi, Sorry for my mistake. You have to get a object to modify the mac's atributes: set mac($nodeid) [$node_($nodeid) getMac 0] After, you will modify the atributes using $mac($nodeid). To change CWmin, you could create a command for this, for example: $mac($nodeid) setCWmin $value; or you

[ns] Setting Values for CWmin and CWmax

2009-10-26 Thread Vivek Vijaya Kumar
Hi, I am new to NS. I am trying to setup a network with 5 nodes, 4 of which are supposed to have one set for value for (CWmin, CWmax) and the other node is supposed to have another set of value for (CWmin, CWmax). Please suggest a method of setting these parameters in tcl. Thank you Vivek

Re: [ns] Setting Values for CWmin and CWmax

2009-10-26 Thread Urlan Salgado de Barros
Did you try to search? http://mailman.isi.edu/pipermail/ns-users/2006-April/055338.html Urlan 2009/10/26 Vivek Vijaya Kumar vivek.vijayaku...@gmail.com Hi, I am new to NS. I am trying to setup a network with 5 nodes, 4 of which are supposed to have one set for value for (CWmin, CWmax) and

Re: [ns] Setting Values for CWmin and CWmax

2009-10-26 Thread Vivek Vijaya Kumar
This one shows how to set CWmin and CWmax value for the entire simulation. But is it possible to make them node specific as in different values for different nodes? For example, if node A always has some higher priority data to transmit its CWmin should be lower than the rest of the nodes. Vivek